From 663fd3d6e1f93ec989dc289e688d5dbfe434cbca Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Thu, 19 Apr 2018 01:05:02 +0200 Subject: [PATCH] tdf#42949 Remove unnecessary localization headers of svtools Found by searching for the header names and the localization function: git grep -l -e \ -e \ | xargs grep -c SvtResId | grep :0$ | grep -v /pch Change-Id: I861fed778660412dc73616da29503538b3fe9ccb Reviewed-on: https://gerrit.libreoffice.org/53136 Tested-by: Jenkins Reviewed-by: Noel Grandin --- accessibility/inc/extended/textwindowaccessibility.hxx | 1 - desktop/source/deployment/gui/dp_gui_dialog2.cxx | 1 - fpicker/source/office/PlacesListBox.cxx | 1 - fpicker/source/office/iodlg.cxx | 1 - include/svtools/foldertree.hxx | 2 -- oox/source/ppt/pptimport.cxx | 1 - sd/source/ui/func/fuinsert.cxx | 1 - sfx2/source/appl/appbas.cxx | 1 - sfx2/source/appl/appinit.cxx | 1 - sfx2/source/appl/appquit.cxx | 1 - sfx2/source/appl/newhelp.cxx | 1 - sfx2/source/doc/objcont.cxx | 1 - sfx2/source/doc/objxtor.cxx | 1 - sfx2/source/doc/sfxbasemodel.cxx | 1 - svtools/source/brwbox/editbrowsebox.cxx | 2 -- svtools/source/contnr/svimpbox.cxx | 2 -- svtools/source/java/javacontext.cxx | 1 - svtools/source/misc/embedhlp.cxx | 2 -- sw/source/uibase/docvw/HeaderFooterWin.cxx | 2 -- uui/source/iahndl-errorhandler.cxx | 1 - 20 files changed, 25 deletions(-) diff --git a/accessibility/inc/extended/textwindowaccessibility.hxx b/accessibility/inc/extended/textwindowaccessibility.hxx index 7299b3954a9f..59d92208dbea 100644 --- a/accessibility/inc/extended/textwindowaccessibility.hxx +++ b/accessibility/inc/extended/textwindowaccessibility.hxx @@ -49,7 +49,6 @@ #include #include -#include #include #include #include diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 38072271b33c..9330789548e4 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -20,7 +20,6 @@ #include #include #include -#include #include "dp_gui.h" #include "dp_gui_dialog2.hxx" diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx index 1bcd4fc2a198..aa5bc591f303 100644 --- a/fpicker/source/office/PlacesListBox.cxx +++ b/fpicker/source/office/PlacesListBox.cxx @@ -11,7 +11,6 @@ #include #include -#include #include #define COLUMN_NAME 1 diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index e4e840b0fbd8..ca7cc591db3f 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -43,7 +43,6 @@ #include #include -#include #include #include #include "asyncfilepicker.hxx" diff --git a/include/svtools/foldertree.hxx b/include/svtools/foldertree.hxx index 51a180c6729b..f6ab259fd815 100644 --- a/include/svtools/foldertree.hxx +++ b/include/svtools/foldertree.hxx @@ -17,8 +17,6 @@ #include #include -#include -#include #include #include diff --git a/oox/source/ppt/pptimport.cxx b/oox/source/ppt/pptimport.cxx index d98551eb51b1..41733e1f2825 100644 --- a/oox/source/ppt/pptimport.cxx +++ b/oox/source/ppt/pptimport.cxx @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx index ad22e00dc71b..d334d8908455 100644 --- a/sd/source/ui/func/fuinsert.cxx +++ b/sd/source/ui/func/fuinsert.cxx @@ -37,7 +37,6 @@ #include #include #include -#include #include #include #include diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index 8ed394cb99f0..42c7f848e392 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -63,7 +63,6 @@ #include #include #include -#include #include #include #include diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx index 1c2d49d0f230..cb3bbcb066fc 100644 --- a/sfx2/source/appl/appinit.cxx +++ b/sfx2/source/appl/appinit.cxx @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx index 007f954b5856..35a7c152af34 100644 --- a/sfx2/source/appl/appquit.cxx +++ b/sfx2/source/appl/appquit.cxx @@ -53,7 +53,6 @@ #include #include #include -#include using ::basic::BasicManagerRepository; diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index b5dd4b791d97..8a561d3b471f 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -82,7 +82,6 @@ #include #include #include -#include #include #include #include diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index 524b07a2e2d6..4a38973fea1d 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -64,7 +64,6 @@ #include #include #include -#include #include #include #include diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index a7178fe48252..6c398d3ff773 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -88,7 +88,6 @@ #include #include #include -#include #include #include #include diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index 7cee183e8819..752bec0ebc07 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -101,7 +101,6 @@ #include #include #include -#include #include #include #include diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx index 2928cbb61f76..41d824fddbbe 100644 --- a/svtools/source/brwbox/editbrowsebox.cxx +++ b/svtools/source/brwbox/editbrowsebox.cxx @@ -26,9 +26,7 @@ #include #include #include -#include -#include #include #include diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index f11071fe9790..b53b403c80f1 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -32,9 +32,7 @@ #include #include #include -#include #include -#include #include #include #include diff --git a/svtools/source/java/javacontext.cxx b/svtools/source/java/javacontext.cxx index f68d56fb51a6..f961453f6e7e 100644 --- a/svtools/source/java/javacontext.cxx +++ b/svtools/source/java/javacontext.cxx @@ -19,7 +19,6 @@ #include #include -#include #include #include diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx index d339b22d3b0c..9ea797c3fe2c 100644 --- a/svtools/source/misc/embedhlp.cxx +++ b/svtools/source/misc/embedhlp.cxx @@ -20,9 +20,7 @@ #include #include -#include #include -#include #include #include diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx index a45ce53b8bbd..e8fe4b84bfe3 100644 --- a/sw/source/uibase/docvw/HeaderFooterWin.cxx +++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx @@ -10,7 +10,6 @@ #include #include #include -#include #include #include @@ -39,7 +38,6 @@ #include #include #include -#include #include #include #include diff --git a/uui/source/iahndl-errorhandler.cxx b/uui/source/iahndl-errorhandler.cxx index a2a4b0723b58..489d8bd0cc61 100644 --- a/uui/source/iahndl-errorhandler.cxx +++ b/uui/source/iahndl-errorhandler.cxx @@ -27,7 +27,6 @@ #include #include -#include #include #include #include