I guess dev-util/cppunit is used for the test framework of LibreOffice and we very unlikely need that when tests are not disabled.
I meant not enabled...
The usage of cppunit is unconditional in LibreOffice atm, so the dependency is correct. If you think this should be different, please file a bug upstream https://bugs.freedesktop.org