diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-07 18:37:50 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-07 18:40:25 +0200 |
commit | 69d46dd7a6adfffd71da055bb65108c80d27395f (patch) | |
tree | 3c9cd0e46c656584edc4ae65245ec32e18249bc1 /sw | |
parent | 5b5301618fde17693f5299c2a55ae91fe8a12b11 (diff) |
do not include contents of huge sc/sd/sw libs into tiny unittests
This decreases debug build dir size by about 0.5G for gcc and 1G for clang.
Diffstat (limited to 'sw')
-rw-r--r-- | sw/CppunitTest_sw_swdoc_test.mk | 3 | ||||
-rw-r--r-- | sw/inc/docufld.hxx | 2 | ||||
-rw-r--r-- | sw/inc/swdll.hxx | 3 | ||||
-rw-r--r-- | sw/inc/swscanner.hxx | 3 |
4 files changed, 6 insertions, 5 deletions
diff --git a/sw/CppunitTest_sw_swdoc_test.mk b/sw/CppunitTest_sw_swdoc_test.mk index 164ddaaaf115..34d32f9c2889 100644 --- a/sw/CppunitTest_sw_swdoc_test.mk +++ b/sw/CppunitTest_sw_swdoc_test.mk @@ -34,8 +34,6 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sw_swdoc_test, \ sw/qa/core/Test-BigPtrArray \ )) -$(eval $(call gb_CppunitTest_add_library_objects,sw_swdoc_test,sw)) - $(eval $(call gb_CppunitTest_add_linked_libs,sw_swdoc_test, \ avmedia \ basegfx \ @@ -58,6 +56,7 @@ $(eval $(call gb_CppunitTest_add_linked_libs,sw_swdoc_test, \ svt \ svx \ svxcore \ + sw \ swd \ test \ tk \ diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index b110d681edeb..f2ed7f6419d1 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -229,7 +229,7 @@ public: Filename --------------------------------------------------------------------*/ -class SwFileNameFieldType : public SwFieldType +class SW_DLLPUBLIC SwFileNameFieldType : public SwFieldType { SwDoc *pDoc; public: diff --git a/sw/inc/swdll.hxx b/sw/inc/swdll.hxx index 154f67062b8d..6f4bde8ff3c9 100644 --- a/sw/inc/swdll.hxx +++ b/sw/inc/swdll.hxx @@ -30,6 +30,7 @@ #include <sfx2/sfxdefs.hxx> #include <sfx2/module.hxx> +#include "swdllapi.h" namespace sw { class Filters; } @@ -40,7 +41,7 @@ namespace sw { class Filters; } */ namespace SwGlobals { - void ensure(); + SW_DLLPUBLIC void ensure(); sw::Filters & getFilters(); } diff --git a/sw/inc/swscanner.hxx b/sw/inc/swscanner.hxx index d1c6fe91e10f..1bec6c2b7fb0 100644 --- a/sw/inc/swscanner.hxx +++ b/sw/inc/swscanner.hxx @@ -30,6 +30,7 @@ #include <i18npool/lang.h> #include <modeltoviewhelper.hxx> +#include "swdllapi.h" class SwTxtNode; @@ -39,7 +40,7 @@ class SwTxtNode; * nacheinander zur Verfuegung stellt. *************************************************************************/ -class SwScanner +class SW_DLLPUBLIC SwScanner { rtl::OUString aWord; const SwTxtNode& rNode; |