[Libreoffice-commits] core.git: framework/source
Gabor Kelemen
kelemeng at ubuntu.com
Wed Apr 11 08:27:52 UTC 2018
framework/source/layoutmanager/layoutmanager.cxx | 2 --
framework/source/uielement/addonstoolbarmanager.cxx | 2 --
framework/source/uielement/footermenucontroller.cxx | 2 --
framework/source/uielement/macrosmenucontroller.cxx | 2 --
framework/source/uielement/newmenucontroller.cxx | 2 --
framework/source/uielement/popuptoolbarcontroller.cxx | 2 --
6 files changed, 12 deletions(-)
New commits:
commit e1a969ca643d41e034100aac588994f2d6c3ed05
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date: Tue Apr 3 19:28:54 2018 +0200
tdf#42949 Remove unnecessary localization headers from framework
Found by searching for the header names and the localization function:
git grep -l -e \<fwkresid.hxx\> -e \<strings.hrc\> framework/ | xargs grep -c FwkResId | grep :0$ | grep -v /pch
Change-Id: I026d78b5d1400c66705bd717eca9ed95e8c75366
Reviewed-on: https://gerrit.libreoffice.org/52597
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index 3eed6268f3f0..a9adad1716b4 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -26,8 +26,6 @@
#include <framework/sfxhelperfunctions.hxx>
#include <uielement/menubarwrapper.hxx>
#include <framework/addonsoptions.hxx>
-#include <classes/fwkresid.hxx>
-#include <strings.hrc>
#include <toolkit/helper/convert.hxx>
#include <uielement/progressbarwrapper.hxx>
#include <uiconfiguration/globalsettings.hxx>
diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx
index 23db77f2ddb3..7a6847e53844 100644
--- a/framework/source/uielement/addonstoolbarmanager.cxx
+++ b/framework/source/uielement/addonstoolbarmanager.cxx
@@ -23,9 +23,7 @@
#include <uielement/generictoolbarcontroller.hxx>
#include <services.h>
#include <framework/sfxhelperfunctions.hxx>
-#include <classes/fwkresid.hxx>
#include <classes/resource.hxx>
-#include <strings.hrc>
#include <framework/addonsoptions.hxx>
#include <uielement/comboboxtoolbarcontroller.hxx>
#include <uielement/imagebuttontoolbarcontroller.hxx>
diff --git a/framework/source/uielement/footermenucontroller.cxx b/framework/source/uielement/footermenucontroller.cxx
index 545287b2b17d..9cc6a9d30608 100644
--- a/framework/source/uielement/footermenucontroller.cxx
+++ b/framework/source/uielement/footermenucontroller.cxx
@@ -20,8 +20,6 @@
#include <uielement/footermenucontroller.hxx>
#include <services.h>
-#include <strings.hrc>
-#include <classes/fwkresid.hxx>
#include <com/sun/star/awt/XDevice.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
diff --git a/framework/source/uielement/macrosmenucontroller.cxx b/framework/source/uielement/macrosmenucontroller.cxx
index 2812990c89e8..4f2b2625ba00 100644
--- a/framework/source/uielement/macrosmenucontroller.cxx
+++ b/framework/source/uielement/macrosmenucontroller.cxx
@@ -20,8 +20,6 @@
#include <uielement/macrosmenucontroller.hxx>
#include <uielement/menubarmanager.hxx>
#include <services.h>
-#include <strings.hrc>
-#include <classes/fwkresid.hxx>
#include <com/sun/star/awt/MenuItemStyle.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx
index 55fefaad9368..157fc8e3b6cf 100644
--- a/framework/source/uielement/newmenucontroller.cxx
+++ b/framework/source/uielement/newmenucontroller.cxx
@@ -20,8 +20,6 @@
#include <uielement/newmenucontroller.hxx>
#include <services.h>
-#include <strings.hrc>
-#include <classes/fwkresid.hxx>
#include <com/sun/star/awt/XDevice.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx
index dadd7ee3e490..089addefd7b3 100644
--- a/framework/source/uielement/popuptoolbarcontroller.cxx
+++ b/framework/source/uielement/popuptoolbarcontroller.cxx
@@ -17,9 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#include <strings.hrc>
#include <bitmaps.hlst>
-#include <classes/fwkresid.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
More information about the Libreoffice-commits
mailing list