summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_dialogs_test.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-18 08:31:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-18 08:31:45 +0100
commit2ec76e5db5c194e133b6fee5c7f81c04357971f8 (patch)
treed94dab1e86f5d2bfc1230bf8148802f94f9bb3a2 /sw/CppunitTest_sw_dialogs_test.mk
parentfd222a8b708949a117d68e04d4707a7244e6f4c7 (diff)
Make sure swui's pSwResMgr is initialized in CppunitTest_sw_dialogs_test
...to avoid -fsanitize=null at > sw/source/ui/misc/glossary.cxx:840:17: runtime error: reference binding to null pointer of type 'ResMgr' > #0 0x7f980fc6b73f in SwGlTreeListBox::SwGlTreeListBox(vcl::Window*, long) sw/source/ui/misc/glossary.cxx:840:17 > #1 0x7f980fc80d56 in VclPtr<SwGlTreeListBox> VclPtr<SwGlTreeListBox>::Create<VclPtr<vcl::Window>&, long>(VclPtr<vcl::Window>&, long&&) include/vcl/vclptr.hxx:138:46 > #2 0x7f980fc6c5d2 in makeSwGlTreeListBox sw/source/ui/misc/glossary.cxx:851:1 > #3 0x7f985da4c3c4 in VclBuilder::makeObject(vcl::Window*, rtl::OString const&, rtl::OString const&, std::__debug::map<rtl::OString, rtl::OString, std::less<rtl::OString>, std::allocator<std::pair<rtl::OString const, rtl::OString> > >&) vcl/source/window/builder.cxx:1793:17 Change-Id: Ieb0d0f6b561e93acbee8208e1ba445879e99adc1
Diffstat (limited to 'sw/CppunitTest_sw_dialogs_test.mk')
-rw-r--r--sw/CppunitTest_sw_dialogs_test.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_dialogs_test.mk b/sw/CppunitTest_sw_dialogs_test.mk
index 7d98a2bb8839..3bb3ac2b2b21 100644
--- a/sw/CppunitTest_sw_dialogs_test.mk
+++ b/sw/CppunitTest_sw_dialogs_test.mk
@@ -20,6 +20,7 @@ $(eval $(call gb_CppunitTest_use_sdk_api,sw_dialogs_test))
$(eval $(call gb_CppunitTest_set_include,sw_dialogs_test,\
-I$(SRCDIR)/sw/source/ui/inc \
-I$(SRCDIR)/sw/inc \
+ -I$(SRCDIR)/sw/source/uibase/inc \
$$(INCLUDE) \
))