From 40eb7f2d7ca5e4a60c9a5a62ddd202d7807cdb9f Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Tue, 17 Apr 2018 07:28:49 +0200 Subject: tdf#42949 Remove unnecessary localization headers of editeng Found by searching for the header names and the localization function: git grep -l -e \ -e \ | xargs grep -c EditResId | grep :0$ | grep -v /pch Change-Id: Ic542ceee09352cb52dcdc9780d4cb1890e02f383 Reviewed-on: https://gerrit.libreoffice.org/53062 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt --- 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(-) 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 #include #include -#include #include #include 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 #include -#include #include #include -#include #include #include #include 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 #include - +#include +#include 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 #include -#include #include #include 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 #include #include -#include #include #include #include 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 #include -#include #include -#include /*-------------------------------------------------------------------- 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 #include -#include #include #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 #include #include -#include + #include #include #include 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 #include #include -#include #include #include 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 #include #include -#include #include #include 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 #include #include -#include #include #include 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 #include #include -#include #include #include 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 -#include - // forward --------------------------------------------------------------- #include #include 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 #include #include +#include +#include #include #include #include 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 #include #include -#include -#include #include #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 #include #include +#include +#include #include 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 #include #include +#include +#include #include #include #include -- cgit