diff options
author | Damjan Jovanovic <damjan@apache.org> | 2016-08-07 19:24:03 +0000 |
---|---|---|
committer | Damjan Jovanovic <damjan@apache.org> | 2016-08-07 19:24:03 +0000 |
commit | ca68acda60fa352d2a272a2a10d15a4cc209a681 (patch) | |
tree | 76d808631e0a71ea683c8d7852f9d60f9e49dd06 /framework | |
parent | 5b6c4bddf6134f377a61446d8bcf1be2f096aad1 (diff) |
Merge branches/gbuild-reintegration to trunk.
Notes
Notes:
ignore: obsolete
Diffstat (limited to 'framework')
34 files changed, 54 insertions, 46 deletions
diff --git a/framework/JunitTest_framework_complex.mk b/framework/JunitTest_framework_complex.mk index 1f164e5c1109..fe57071d1852 100755 --- a/framework/JunitTest_framework_complex.mk +++ b/framework/JunitTest_framework_complex.mk @@ -21,7 +21,7 @@ -$(eval $(call gb_JunitTest_JunitTest,framework_complex)) +$(eval $(call gb_JunitTest_JunitTest,framework_complex,SRCDIR)) $(eval $(call gb_JunitTest_set_defs,framework_complex,\ $$(DEFS) \ diff --git a/framework/JunitTest_framework_unoapi.mk b/framework/JunitTest_framework_unoapi.mk index e93b6c23341f..806af9b922d4 100755 --- a/framework/JunitTest_framework_unoapi.mk +++ b/framework/JunitTest_framework_unoapi.mk @@ -21,7 +21,7 @@ -$(eval $(call gb_JunitTest_JunitTest,framework_unoapi)) +$(eval $(call gb_JunitTest_JunitTest,framework_unoapi,SRCDIR)) $(eval $(call gb_JunitTest_set_defs,framework_unoapi,\ $$(DEFS) \ diff --git a/framework/Library_fwe.mk b/framework/Library_fwe.mk index fc96666a21f3..19621eff3fb3 100644 --- a/framework/Library_fwe.mk +++ b/framework/Library_fwe.mk @@ -30,14 +30,17 @@ $(eval $(call gb_Library_set_include,fwe,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ )) -$(eval $(call gb_Library_set_defs,fwe,\ - $$(DEFS) \ +$(eval $(call gb_Library_add_defs,fwe,\ -DFWE_DLLIMPLEMENTATION\ )) +$(eval $(call gb_Library_add_api,fwe,\ + udkapi \ + offapi \ +)) + $(eval $(call gb_Library_add_linked_libs,fwe,\ comphelper \ cppu \ @@ -89,12 +92,4 @@ $(eval $(call gb_Library_add_exception_objects,fwe,\ framework/source/fwe/xml/xmlnamespaces \ )) -#todo: ImageListDescriptor can't be exported completely without exporting everything -ifeq ($(OS),LINUX) -$(eval $(call gb_Library_set_cxxflags,fwe,$$(filter-out -fvisibility=hidden,$$(CXXFLAGS)))) -endif -ifeq ($(OS),FREEBSD) -$(eval $(call gb_Library_set_cxxflags,fwe,$$(filter-out -fvisibility=hidden,$$(CXXFLAGS)))) -endif - # vim: set noet sw=4 ts=4: diff --git a/framework/Library_fwi.mk b/framework/Library_fwi.mk index a2ec6a2f254f..2c826fa9e0a4 100644 --- a/framework/Library_fwi.mk +++ b/framework/Library_fwi.mk @@ -25,11 +25,15 @@ $(eval $(call gb_Library_Library,fwi)) $(eval $(call gb_Library_add_package_headers,fwi,framework_inc)) -$(eval $(call gb_Library_set_defs,fwi,\ - $$(DEFS) \ +$(eval $(call gb_Library_add_defs,fwi,\ -DFWI_DLLIMPLEMENTATION \ )) +$(eval $(call gb_Library_add_api,fwi,\ + udkapi \ + offapi \ +)) + $(eval $(call gb_Library_set_include,fwi,\ -I$(SRCDIR)/framework/inc/pch \ -I$(SRCDIR)/framework/source/inc \ @@ -37,7 +41,6 @@ $(eval $(call gb_Library_set_include,fwi,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ )) $(eval $(call gb_Library_add_linked_libs,fwi,\ diff --git a/framework/Library_fwk.mk b/framework/Library_fwk.mk index 053c1c0134e4..1d0985f907f2 100644 --- a/framework/Library_fwk.mk +++ b/framework/Library_fwk.mk @@ -34,7 +34,11 @@ $(eval $(call gb_Library_set_include,fwk,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ +)) + +$(eval $(call gb_Library_add_api,fwk,\ + udkapi \ + offapi \ )) $(eval $(call gb_Library_add_linked_libs,fwk,\ diff --git a/framework/Library_fwl.mk b/framework/Library_fwl.mk index e7b285a2f751..df41108cba2d 100644 --- a/framework/Library_fwl.mk +++ b/framework/Library_fwl.mk @@ -32,7 +32,11 @@ $(eval $(call gb_Library_set_include,fwl,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ +)) + +$(eval $(call gb_Library_add_api,fwl,\ + udkapi \ + offapi \ )) $(eval $(call gb_Library_add_linked_libs,fwl,\ diff --git a/framework/Library_fwm.mk b/framework/Library_fwm.mk index 4939ee9db3a5..7e2772640b5a 100644 --- a/framework/Library_fwm.mk +++ b/framework/Library_fwm.mk @@ -32,7 +32,11 @@ $(eval $(call gb_Library_set_include,fwm,\ -I$(WORKDIR)/inc/framework/ \ $$(INCLUDE) \ -I$(OUTDIR)/inc/framework \ - -I$(OUTDIR)/inc/offuh \ +)) + +$(eval $(call gb_Library_add_api,fwm,\ + udkapi \ + offapi \ )) $(eval $(call gb_Library_add_linked_libs,fwm,\ diff --git a/framework/inc/pch/precompiled_framework.hxx b/framework/inc/pch/precompiled_framework.hxx index ceac8cfe4c51..4c2d91b513b8 100644 --- a/framework/inc/pch/precompiled_framework.hxx +++ b/framework/inc/pch/precompiled_framework.hxx @@ -405,7 +405,6 @@ #include "toolkit/awt/vclxwindow.hxx" #include "toolkit/helper/convert.hxx" #include "toolkit/helper/vclunohelper.hxx" -#include "toolkit/unohlp.hxx" #include "tools/color.hxx" #include "tools/config.hxx" diff --git a/framework/source/classes/menumanager.cxx b/framework/source/classes/menumanager.cxx index d95df5544428..137093726c0f 100644 --- a/framework/source/classes/menumanager.cxx +++ b/framework/source/classes/menumanager.cxx @@ -64,7 +64,7 @@ #include <unotools/localfilehelper.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <tools/urlobj.hxx> diff --git a/framework/source/helper/persistentwindowstate.cxx b/framework/source/helper/persistentwindowstate.cxx index b3c806efee21..a56a0249302f 100644 --- a/framework/source/helper/persistentwindowstate.cxx +++ b/framework/source/helper/persistentwindowstate.cxx @@ -53,7 +53,7 @@ #include <vcl/syswin.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx index 05d38dcd00bf..0ccead7f5654 100644 --- a/framework/source/helper/statusindicatorfactory.cxx +++ b/framework/source/helper/statusindicatorfactory.cxx @@ -53,7 +53,7 @@ #include <com/sun/star/frame/XLayoutManager.hpp> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif //----------------------------------------------- diff --git a/framework/source/helper/tagwindowasmodified.cxx b/framework/source/helper/tagwindowasmodified.cxx index 2916be90d4ec..65ed132778fb 100644 --- a/framework/source/helper/tagwindowasmodified.cxx +++ b/framework/source/helper/tagwindowasmodified.cxx @@ -51,7 +51,7 @@ //_________________________________________________________________________________________________________________ #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <vcl/window.hxx> #include <vcl/syswin.hxx> diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx index 2c21ddda76fc..d780452e8fd1 100644 --- a/framework/source/helper/titlebarupdate.cxx +++ b/framework/source/helper/titlebarupdate.cxx @@ -105,7 +105,7 @@ #include <unotools/bootstrap.hxx> #include <vcl/window.hxx> #include <vcl/syswin.hxx> -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #include <vcl/svapp.hxx> #include <vcl/wrkwin.hxx> #include <tools/diagnose_ex.h> diff --git a/framework/source/helper/vclstatusindicator.cxx b/framework/source/helper/vclstatusindicator.cxx index db1b578a554d..9a4fd2931df3 100644 --- a/framework/source/helper/vclstatusindicator.cxx +++ b/framework/source/helper/vclstatusindicator.cxx @@ -37,7 +37,7 @@ // includes of external modules #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <vcl/svapp.hxx> diff --git a/framework/source/inc/pattern/window.hxx b/framework/source/inc/pattern/window.hxx index b7f491b70016..8d5937462d67 100644 --- a/framework/source/inc/pattern/window.hxx +++ b/framework/source/inc/pattern/window.hxx @@ -38,7 +38,7 @@ // other includes #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <vcl/window.hxx> #include <vcl/syswin.hxx> diff --git a/framework/source/layoutmanager/helpers.cxx b/framework/source/layoutmanager/helpers.cxx index bad3000752a5..fcfba084ef85 100755 --- a/framework/source/layoutmanager/helpers.cxx +++ b/framework/source/layoutmanager/helpers.cxx @@ -42,7 +42,7 @@ #include <comphelper/mediadescriptor.hxx> #include <vcl/svapp.hxx> #include <vos/mutex.hxx> -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> // namespace using namespace com::sun::star; diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index f80d1a6ac598..7d2877fbc5ee 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -75,7 +75,7 @@ #include <vcl/svapp.hxx> #include <vcl/i18nhelp.hxx> #include <vcl/wall.hxx> -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #include <toolkit/awt/vclxwindow.hxx> #include <toolkit/awt/vclxmenu.hxx> #include <comphelper/mediadescriptor.hxx> diff --git a/framework/source/layoutmanager/panel.cxx b/framework/source/layoutmanager/panel.cxx index c3420646bcdf..cfa388bf0910 100755 --- a/framework/source/layoutmanager/panel.cxx +++ b/framework/source/layoutmanager/panel.cxx @@ -37,7 +37,7 @@ #include <vos/mutex.hxx> #include <vcl/svapp.hxx> -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> //_________________________________________________________________________________________________________________ // namespace diff --git a/framework/source/layoutmanager/panelmanager.cxx b/framework/source/layoutmanager/panelmanager.cxx index 59204a3006a2..c424fc20685d 100755 --- a/framework/source/layoutmanager/panelmanager.cxx +++ b/framework/source/layoutmanager/panelmanager.cxx @@ -42,7 +42,7 @@ //_________________________________________________________________________________________________________________ #include <vcl/svapp.hxx> -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> //_________________________________________________________________________________________________________________ // namespace diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index 5cd5bc75848a..14a3ea0bee55 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -42,7 +42,7 @@ // other includes #include <unotools/cmdoptions.hxx> -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #include <toolkit/helper/convert.hxx> #include <toolkit/awt/vclxwindow.hxx> #include <vcl/i18nhelp.hxx> diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx index 8a6caafbc454..c0724803c7d7 100644 --- a/framework/source/loadenv/loadenv.cxx +++ b/framework/source/loadenv/loadenv.cxx @@ -93,7 +93,7 @@ #include <vcl/syswin.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <unotools/moduleoptions.hxx> #include <svtools/sfxecode.hxx> diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 24f36cc236e3..62cb04583176 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -94,7 +94,7 @@ #include <vcl/svapp.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <toolkit/awt/vclxwindow.hxx> #include <comphelper/processfactory.hxx> diff --git a/framework/source/services/taskcreatorsrv.cxx b/framework/source/services/taskcreatorsrv.cxx index 1dbd0c554d6a..b6b398589ce1 100644 --- a/framework/source/services/taskcreatorsrv.cxx +++ b/framework/source/services/taskcreatorsrv.cxx @@ -52,7 +52,7 @@ #include <vcl/svapp.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <vcl/window.hxx> diff --git a/framework/source/tabwin/tabwindow.cxx b/framework/source/tabwin/tabwindow.cxx index 8741ff8ca046..ccefb614185d 100644 --- a/framework/source/tabwin/tabwindow.cxx +++ b/framework/source/tabwin/tabwindow.cxx @@ -48,7 +48,7 @@ #include <vcl/window.hxx> #include <vcl/wrkwin.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <comphelper/sequenceashashmap.hxx> diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx index d7f7d19f4722..8898ca745812 100644 --- a/framework/source/uielement/addonstoolbarmanager.cxx +++ b/framework/source/uielement/addonstoolbarmanager.cxx @@ -83,7 +83,7 @@ #include <svtools/imgdef.hxx> #include <svtools/toolboxcontroller.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <svtools/miscopt.hxx> diff --git a/framework/source/uielement/addonstoolbarwrapper.cxx b/framework/source/uielement/addonstoolbarwrapper.cxx index 51fd822ead27..2e79f2f01c98 100644 --- a/framework/source/uielement/addonstoolbarwrapper.cxx +++ b/framework/source/uielement/addonstoolbarwrapper.cxx @@ -57,7 +57,7 @@ //_________________________________________________________________________________________________________________ #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <toolkit/awt/vclxwindow.hxx> #include <comphelper/processfactory.hxx> diff --git a/framework/source/uielement/langselectionstatusbarcontroller.cxx b/framework/source/uielement/langselectionstatusbarcontroller.cxx index c825ee658b1e..08b802bf5c7a 100644 --- a/framework/source/uielement/langselectionstatusbarcontroller.cxx +++ b/framework/source/uielement/langselectionstatusbarcontroller.cxx @@ -35,7 +35,6 @@ #include <toolkit/helper/convert.hxx> #include <com/sun/star/frame/XPopupMenuController.hpp> -#include <toolkit/helper/vclunohelper.hxx> #include <com/sun/star/awt/PopupMenuDirection.hpp> #include <svtools/langtab.hxx> #include "sal/types.h" diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx index 13f20f14f234..e926106fd659 100644 --- a/framework/source/uielement/menubarmanager.cxx +++ b/framework/source/uielement/menubarmanager.cxx @@ -81,7 +81,7 @@ #include <unotools/cmdoptions.hxx> #include <unotools/localfilehelper.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <tools/urlobj.hxx> #include <vcl/svapp.hxx> diff --git a/framework/source/uielement/panelwrapper.cxx b/framework/source/uielement/panelwrapper.cxx index 0ae890a2b29a..cd40cb36bcf7 100644 --- a/framework/source/uielement/panelwrapper.cxx +++ b/framework/source/uielement/panelwrapper.cxx @@ -50,7 +50,7 @@ // other includes //_________________________________________________________________________________________________________________ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #include <toolkit/awt/vclxwindow.hxx> #include <comphelper/processfactory.hxx> #include <svtools/miscopt.hxx> diff --git a/framework/source/uielement/statusbarwrapper.cxx b/framework/source/uielement/statusbarwrapper.cxx index e4b4d479e208..8d30601be884 100644 --- a/framework/source/uielement/statusbarwrapper.cxx +++ b/framework/source/uielement/statusbarwrapper.cxx @@ -52,7 +52,7 @@ //_________________________________________________________________________________________________________________ #include <comphelper/processfactory.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <tools/solar.h> diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx index ee1a276acb4c..bd50adf01f1c 100644 --- a/framework/source/uielement/toolbarmanager.cxx +++ b/framework/source/uielement/toolbarmanager.cxx @@ -82,7 +82,7 @@ #include <svtools/toolboxcontroller.hxx> #include <unotools/cmdoptions.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <comphelper/mediadescriptor.hxx> #include <comphelper/processfactory.hxx> diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx index f9d31c9c53a9..8fbe33e31ca6 100644 --- a/framework/source/uielement/toolbarsmenucontroller.cxx +++ b/framework/source/uielement/toolbarsmenucontroller.cxx @@ -68,7 +68,7 @@ #include <tools/urlobj.hxx> #include <rtl/ustrbuf.hxx> #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <vcl/window.hxx> #include <svtools/menuoptions.hxx> diff --git a/framework/source/uielement/toolbarwrapper.cxx b/framework/source/uielement/toolbarwrapper.cxx index 7a10ad65a988..3bac32a2cdbe 100644 --- a/framework/source/uielement/toolbarwrapper.cxx +++ b/framework/source/uielement/toolbarwrapper.cxx @@ -56,7 +56,7 @@ //_________________________________________________________________________________________________________________ #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ -#include <toolkit/unohlp.hxx> +#include <toolkit/helper/vclunohelper.hxx> #endif #include <toolkit/awt/vclxwindow.hxx> #include <comphelper/processfactory.hxx> diff --git a/framework/test/test.cxx b/framework/test/test.cxx index 59c8053ff0ee..68edaf271eaf 100644 --- a/framework/test/test.cxx +++ b/framework/test/test.cxx @@ -237,7 +237,7 @@ void TestApplication::Main() // Execute(); // xFrame->dispose(); // delete pMainWindow; - if( bState = sal_True ) + if( bState == sal_True ) { LOG_ERROR( "TestApplication::Main()", "Test successful ..." ) } |