[Libreoffice-commits] core.git: cui/source editeng/qa editeng/source include/editeng sc/source svx/source

Gabor Kelemen kelemeng at ubuntu.com
Wed Apr 18 07:39:00 UTC 2018


 cui/source/tabpages/backgrnd.cxx        |    1 -
 editeng/qa/unit/core-test.cxx           |    2 --
 editeng/source/items/borderline.cxx     |    3 ++-
 editeng/source/items/bulitem.cxx        |    1 -
 editeng/source/items/numitem.cxx        |    1 -
 editeng/source/items/paperinf.cxx       |    2 --
 editeng/source/misc/hangulhanja.cxx     |    1 -
 editeng/source/outliner/outlin2.cxx     |    2 +-
 editeng/source/outliner/outliner.cxx    |    1 -
 editeng/source/outliner/outlobj.cxx     |    1 -
 editeng/source/outliner/outlundo.cxx    |    1 -
 editeng/source/outliner/outlvw.cxx      |    1 -
 include/editeng/itemtype.hxx            |    3 ---
 sc/source/core/data/docpool.cxx         |    2 ++
 sc/source/ui/miscdlgs/tabbgcolordlg.cxx |    2 --
 svx/source/items/algitem.cxx            |    2 ++
 svx/source/xoutdev/xattr.cxx            |    2 ++
 17 files changed, 9 insertions(+), 19 deletions(-)

New commits:
commit 40eb7f2d7ca5e4a60c9a5a62ddd202d7807cdb9f
Author: Gabor Kelemen <kelemeng at ubuntu.com>
Date:   Tue Apr 17 07:28:49 2018 +0200

    tdf#42949 Remove unnecessary localization headers of editeng
    
    Found by searching for the header names and the localization function:
    git grep -l -e \<editeng/eerdll.hxx\> -e \<editeng/editrids.hrc\> | xargs grep -c EditResId | grep :0$ | grep -v /pch
    
    Change-Id: Ic542ceee09352cb52dcdc9780d4cb1890e02f383
    Reviewed-on: https://gerrit.libreoffice.org/53062
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 448599bebb2f..78cbbf63ca70 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -34,7 +34,6 @@
 #include <strings.hrc>
 #include <svx/dialmgr.hxx>
 #include <editeng/memberids.h>
-#include <editeng/eerdll.hxx>
 
 #include <editeng/brushitem.hxx>
 #include <editeng/colritem.hxx>
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx
index cb9b49cc7275..c6d3a86c44a0 100644
--- a/editeng/qa/unit/core-test.cxx
+++ b/editeng/qa/unit/core-test.cxx
@@ -17,10 +17,8 @@
 
 #include <sfx2/app.hxx>
 #include <svl/itempool.hxx>
-#include <editeng/eerdll.hxx>
 #include <editeng/editeng.hxx>
 #include <editeng/eeitem.hxx>
-#include <editeng/editids.hrc>
 #include <editeng/lspcitem.hxx>
 #include <editeng/svxacorr.hxx>
 #include <editeng/unofield.hxx>
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index ab032bcc043a..351901fc271e 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -26,7 +26,8 @@
 
 #include <editeng/borderline.hxx>
 #include <editeng/itemtype.hxx>
-
+#include <editeng/editrids.hrc>
+#include <editeng/eerdll.hxx>
 
 using namespace ::com::sun::star::table::BorderLineStyle;
 
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx
index 64eb82dba2f6..23fa148496bf 100644
--- a/editeng/source/items/bulitem.cxx
+++ b/editeng/source/items/bulitem.cxx
@@ -21,7 +21,6 @@
 #include <vcl/outdev.hxx>
 
 #include <editeng/bulletitem.hxx>
-#include <editeng/editrids.hrc>
 
 #include <tools/tenccvt.hxx>
 #include <vcl/dibtools.hxx>
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 3eeb00ae3573..1efd88c84026 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -27,7 +27,6 @@
 #include <vcl/font.hxx>
 #include <vcl/settings.hxx>
 #include <editeng/editids.hrc>
-#include <editeng/editrids.hrc>
 #include <editeng/numdef.hxx>
 #include <editeng/eeitem.hxx>
 #include <vcl/graph.hxx>
diff --git a/editeng/source/items/paperinf.cxx b/editeng/source/items/paperinf.cxx
index c3b4f7166946..63066ed180fd 100644
--- a/editeng/source/items/paperinf.cxx
+++ b/editeng/source/items/paperinf.cxx
@@ -19,9 +19,7 @@
 
 #include <limits.h>
 #include <vcl/svapp.hxx>
-#include <editeng/editrids.hrc>
 #include <editeng/paperinf.hxx>
-#include <editeng/eerdll.hxx>
 
 /*--------------------------------------------------------------------
     Description:    Is the printer valid
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx
index e0774697b31f..ee50f639a434 100644
--- a/editeng/source/misc/hangulhanja.cxx
+++ b/editeng/source/misc/hangulhanja.cxx
@@ -37,7 +37,6 @@
 #include <unotools/charclass.hxx>
 
 #include <editeng/edtdlg.hxx>
-#include <editeng/editrids.hrc>
 #include <editeng/unolingu.hxx>
 
 #define HHC HangulHanjaConversion
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx
index 2c24cc1178a6..e4b151f4a9f7 100644
--- a/editeng/source/outliner/outlin2.cxx
+++ b/editeng/source/outliner/outlin2.cxx
@@ -22,7 +22,7 @@
 #include <editeng/editeng.hxx>
 #include <editeng/editview.hxx>
 #include <editeng/editdata.hxx>
-#include <editeng/eerdll.hxx>
+
 #include <editeng/lrspitem.hxx>
 #include <editeng/fhgtitem.hxx>
 #include <svl/style.hxx>
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index d3de3a85f89b..97291995a7db 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -22,7 +22,6 @@
 #include <editeng/editeng.hxx>
 #include <editeng/editview.hxx>
 #include <editeng/editdata.hxx>
-#include <editeng/eerdll.hxx>
 #include <editeng/lrspitem.hxx>
 #include <editeng/fhgtitem.hxx>
 
diff --git a/editeng/source/outliner/outlobj.cxx b/editeng/source/outliner/outlobj.cxx
index 8abcdf7417e8..04688bb06728 100644
--- a/editeng/source/outliner/outlobj.cxx
+++ b/editeng/source/outliner/outlobj.cxx
@@ -21,7 +21,6 @@
 #include <editeng/editeng.hxx>
 #include <editeng/editview.hxx>
 #include <editeng/editdata.hxx>
-#include <editeng/eerdll.hxx>
 #include <editeng/lrspitem.hxx>
 #include <editeng/fhgtitem.hxx>
 
diff --git a/editeng/source/outliner/outlundo.cxx b/editeng/source/outliner/outlundo.cxx
index 807ce7550800..32f8302f8dd5 100644
--- a/editeng/source/outliner/outlundo.cxx
+++ b/editeng/source/outliner/outlundo.cxx
@@ -22,7 +22,6 @@
 #include <editeng/editeng.hxx>
 #include <editeng/editview.hxx>
 #include <editeng/editdata.hxx>
-#include <editeng/eerdll.hxx>
 #include <editeng/lrspitem.hxx>
 #include <editeng/fhgtitem.hxx>
 
diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx
index a8fd9eb5d617..42222d14119f 100644
--- a/editeng/source/outliner/outlvw.cxx
+++ b/editeng/source/outliner/outlvw.cxx
@@ -25,7 +25,6 @@
 #include <editeng/editeng.hxx>
 #include <editeng/editview.hxx>
 #include <editeng/editdata.hxx>
-#include <editeng/eerdll.hxx>
 #include <editeng/lrspitem.hxx>
 #include <editeng/fhgtitem.hxx>
 
diff --git a/include/editeng/itemtype.hxx b/include/editeng/itemtype.hxx
index e6ac557e02c7..586e29a6361c 100644
--- a/include/editeng/itemtype.hxx
+++ b/include/editeng/itemtype.hxx
@@ -19,9 +19,6 @@
 #ifndef INCLUDED_EDITENG_ITEMTYPE_HXX
 #define INCLUDED_EDITENG_ITEMTYPE_HXX
 
-#include <editeng/editrids.hrc>
-#include <editeng/eerdll.hxx>
-
 // forward ---------------------------------------------------------------
 #include <rtl/ustring.hxx>
 #include <tools/bigint.hxx>
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx
index 1c06a329d37b..390d557dbc60 100644
--- a/sc/source/core/data/docpool.cxx
+++ b/sc/source/core/data/docpool.cxx
@@ -48,6 +48,8 @@
 #include <editeng/frmdiritem.hxx>
 #include <editeng/hngpnctitem.hxx>
 #include <editeng/itemtype.hxx>
+#include <editeng/editrids.hrc>
+#include <editeng/eerdll.hxx>
 #include <editeng/langitem.hxx>
 #include <editeng/lrspitem.hxx>
 #include <svx/pageitem.hxx>
diff --git a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
index 7eb73104b3fb..d9b98985641e 100644
--- a/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
+++ b/sc/source/ui/miscdlgs/tabbgcolordlg.cxx
@@ -27,8 +27,6 @@
 #include <svx/xtable.hxx>
 #include <svx/drawitem.hxx>
 #include <unotools/pathoptions.hxx>
-#include <editeng/editrids.hrc>
-#include <editeng/eerdll.hxx>
 #include <vcl/builderfactory.hxx>
 
 #define HDL(hdl) LINK(this,ScTabBgColorDlg,hdl)
diff --git a/svx/source/items/algitem.cxx b/svx/source/items/algitem.cxx
index ef505418fc3a..7e2960769025 100644
--- a/svx/source/items/algitem.cxx
+++ b/svx/source/items/algitem.cxx
@@ -37,6 +37,8 @@
 #include <svx/algitem.hxx>
 #include <svx/dialmgr.hxx>
 #include <editeng/itemtype.hxx>
+#include <editeng/editrids.hrc>
+#include <editeng/eerdll.hxx>
 #include <svx/unomid.hxx>
 
 using namespace ::com::sun::star;
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index a3c72b8dc74b..8e48a60b47c7 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -49,6 +49,8 @@
 #include <svx/xtable.hxx>
 #include <svx/dialmgr.hxx>
 #include <editeng/itemtype.hxx>
+#include <editeng/editrids.hrc>
+#include <editeng/eerdll.hxx>
 #include <svx/xdef.hxx>
 #include <svx/unomid.hxx>
 #include <svx/svdmodel.hxx>


More information about the Libreoffice-commits mailing list