How to include <officecfg/Office/Common.hxx> in a unit test?

Regina Henschel rb.henschel at t-online.de
Tue Feb 12 15:11:50 UTC 2019


Hi Stephan,

thank you. That solves the problem.

Kind regards
Regina

Stephan Bergmann via LibreOffice schrieb am 12-Feb-19 um 15:51:
> On 12/02/2019 15:33, Regina Henschel wrote:
>> So I have added the include #include <officecfg/Office/Common.hxx> in 
>> sd/qa/unit/misc-tests.cxx too. But I get the error:
>>   fatal error C1083: Cannot open include file: 
>> 'officecfg/Office/Common.hxx': No such file or directory
>>
>> What do I miss?
> 
> Add
> 
>> $(eval $(call gb_CppunitTest_use_custom_headers,..., \
>>     officecfg/registry \
>> ))
> 
> to the corresponding CppunitTest_....mk file.
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice



More information about the LibreOffice mailing list