diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-04-18 00:05:25 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-04-18 09:38:28 +0200 |
commit | 00ff4d198313265ba736a6e234b4278166d1c3e4 (patch) | |
tree | 674ebff7497f7f39cc5b65061bf3a35f085a2844 /sfx2 | |
parent | 40eb7f2d7ca5e4a60c9a5a62ddd202d7807cdb9f (diff) |
tdf#42949 Remove unnecessary localization headers of sfx2
Found by searching for the header names and the localization functions:
git grep -l -e \<sfx2/sfxresid.hxx\> -e \<sfx2/strings.hrc\> | xargs grep -c -e SfxResId -e GetResString | grep :0$ | grep -v /pch
Change-Id: If0571ae4029b5fb2699cdd6ea768d3cd240bdce3
Reviewed-on: https://gerrit.libreoffice.org/53073
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2')
33 files changed, 0 insertions, 57 deletions
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index ce7af2aa535a..721b5e9e3734 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -48,7 +48,6 @@ #include <sfx2/sfxhelp.hxx> #include <sfx2/request.hxx> #include <sfxtypes.hxx> -#include <sfx2/sfxresid.hxx> #include <arrdecl.hxx> #include <sfx2/progress.hxx> #include <sfx2/objsh.hxx> @@ -62,7 +61,6 @@ #include <sfx2/viewfrm.hxx> #include <appdata.hxx> #include <openflag.hxx> -#include <sfx2/strings.hrc> #include <sfx2/module.hxx> #include <sfx2/event.hxx> #include "imestatuswindow.hxx" diff --git a/sfx2/source/appl/appbas.cxx b/sfx2/source/appl/appbas.cxx index 98392536c58f..8ed394cb99f0 100644 --- a/sfx2/source/appl/appbas.cxx +++ b/sfx2/source/appl/appbas.cxx @@ -48,7 +48,6 @@ #include <arrdecl.hxx> #include <sfx2/app.hxx> #include <sfxtypes.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/msg.hxx> #include <sfx2/msgpool.hxx> #include <sfx2/progress.hxx> @@ -59,7 +58,6 @@ #include <sfx2/dispatch.hxx> #include <sfx2/tplpitem.hxx> #include <sfx2/minfitem.hxx> -#include <sfx2/strings.hrc> #include <sfx2/evntconf.hxx> #include <sfx2/request.hxx> #include <appdata.hxx> diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index f7d761d9f804..1ebe1e35ac4a 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -67,8 +67,6 @@ #include <appdata.hxx> #include <workwin.hxx> #include <helper.hxx> -#include <sfx2/strings.hrc> -#include <sfx2/sfxresid.hxx> #include "shutdownicon.hxx" using namespace ::com::sun::star::uno; diff --git a/sfx2/source/appl/appdata.cxx b/sfx2/source/appl/appdata.cxx index c6fb631733b4..fff9997452e1 100644 --- a/sfx2/source/appl/appdata.cxx +++ b/sfx2/source/appl/appdata.cxx @@ -38,8 +38,6 @@ #include <sfx2/request.hxx> #include <sfx2/sidebar/Theme.hxx> #include <sfx2/unoctitm.hxx> -#include <sfx2/strings.hrc> -#include <sfx2/sfxresid.hxx> #include <objshimp.hxx> #include "imestatuswindow.hxx" #include <appbaslib.hxx> diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx index b40d1d117c18..348ad2b4c1b8 100644 --- a/sfx2/source/appl/appinit.cxx +++ b/sfx2/source/appl/appinit.cxx @@ -49,7 +49,6 @@ #include <vcl/edit.hxx> #include <sfx2/unoctitm.hxx> -#include <sfx2/strings.hrc> #include <appdata.hxx> #include <arrdecl.hxx> #include <sfx2/dispatch.hxx> @@ -58,7 +57,6 @@ #include <sfx2/msgpool.hxx> #include <sfx2/progress.hxx> #include <sfx2/sfxhelp.hxx> -#include <sfx2/sfxresid.hxx> #include <sfxtypes.hxx> #include <sfx2/viewsh.hxx> #include <nochaos.hxx> diff --git a/sfx2/source/appl/appmain.cxx b/sfx2/source/appl/appmain.cxx index 5152c8a82643..f00254edba32 100644 --- a/sfx2/source/appl/appmain.cxx +++ b/sfx2/source/appl/appmain.cxx @@ -32,11 +32,9 @@ #include <sfx2/app.hxx> #include <arrdecl.hxx> #include <sfx2/dispatch.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/fcontnr.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/msgpool.hxx> -#include <sfx2/strings.hrc> #include <sfx2/docfile.hxx> #include <workwin.hxx> diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx index 1cf2df5630d1..c5608c8e0e30 100644 --- a/sfx2/source/appl/appmisc.cxx +++ b/sfx2/source/appl/appmisc.cxx @@ -43,7 +43,6 @@ #include <osl/process.h> #include <rtl/bootstrap.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/app.hxx> #include <appdata.hxx> #include <sfx2/tbxctrl.hxx> @@ -56,7 +55,6 @@ #include <sfx2/dispatch.hxx> #include <workwin.hxx> #include <sfx2/fcontnr.hxx> -#include <sfx2/strings.hrc> #include <sfx2/templdlg.hxx> #include <sfx2/module.hxx> #include <sfx2/msgpool.hxx> diff --git a/sfx2/source/appl/appquit.cxx b/sfx2/source/appl/appquit.cxx index 22a784fa5a33..007f954b5856 100644 --- a/sfx2/source/appl/appquit.cxx +++ b/sfx2/source/appl/appquit.cxx @@ -29,7 +29,6 @@ #include <unotools/saveopt.hxx> #include <unotools/misccfg.hxx> -#include <sfx2/strings.hrc> #include <sfx2/app.hxx> #include <sfx2/evntconf.hxx> #include <sfx2/unoctitm.hxx> @@ -38,7 +37,6 @@ #include <sfx2/dispatch.hxx> #include <sfx2/printer.hxx> #include <arrdecl.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/event.hxx> #include <sfx2/templdlg.hxx> #include <sfx2/msgpool.hxx> diff --git a/sfx2/source/appl/impldde.cxx b/sfx2/source/appl/impldde.cxx index 9280b36381c8..e128dfa9b687 100644 --- a/sfx2/source/appl/impldde.cxx +++ b/sfx2/source/appl/impldde.cxx @@ -34,7 +34,6 @@ #include <sfx2/lnkbase.hxx> #include <sfx2/linkmgr.hxx> -#include <sfx2/sfxresid.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx index dbdc3ba1bcb3..060cc8b7e68e 100644 --- a/sfx2/source/appl/module.cxx +++ b/sfx2/source/appl/module.cxx @@ -20,7 +20,6 @@ #include <cstdarg> #include <sfx2/module.hxx> #include <sfx2/app.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/styfitem.hxx> #include <sfx2/msgpool.hxx> #include <sfx2/tbxctrl.hxx> diff --git a/sfx2/source/appl/workwin.cxx b/sfx2/source/appl/workwin.cxx index baff47e83bda..fc0b94c37e1b 100644 --- a/sfx2/source/appl/workwin.cxx +++ b/sfx2/source/appl/workwin.cxx @@ -33,7 +33,6 @@ #include <splitwin.hxx> #include <childwinimpl.hxx> #include <sfx2/msgpool.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/request.hxx> #include <sfx2/toolbarids.hxx> #include <vcl/taskpanelist.hxx> diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx index f373a6f324b4..be31957eafdd 100644 --- a/sfx2/source/bastyp/frmhtmlw.cxx +++ b/sfx2/source/bastyp/frmhtmlw.cxx @@ -33,9 +33,7 @@ #include <sfx2/app.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/docfile.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/objsh.hxx> -#include <sfx2/strings.hrc> #include <strings.hxx> #include <comphelper/processfactory.hxx> diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx index 8e84cd32f369..1b86be6d8ee6 100644 --- a/sfx2/source/bastyp/progress.cxx +++ b/sfx2/source/bastyp/progress.cxx @@ -38,8 +38,6 @@ #include <sfxtypes.hxx> #include <sfx2/docfile.hxx> #include <workwin.hxx> -#include <sfx2/sfxresid.hxx> -#include <sfx2/strings.hrc> #include <sfx2/msg.hxx> #include <sfxslots.hxx> #include <sfxbasecontroller_internal.hxx> diff --git a/sfx2/source/config/evntconf.cxx b/sfx2/source/config/evntconf.cxx index 0ad3d365efee..6bf38484b62d 100644 --- a/sfx2/source/config/evntconf.cxx +++ b/sfx2/source/config/evntconf.cxx @@ -36,7 +36,6 @@ #include <sfx2/app.hxx> #include <sfx2/objsh.hxx> #include <sfx2/dispatch.hxx> -#include <sfx2/sfxresid.hxx> #include <eventsupplier.hxx> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/sfx2/source/control/emojiview.cxx b/sfx2/source/control/emojiview.cxx index a5e002a608e1..b3de652b2c5c 100644 --- a/sfx2/source/control/emojiview.cxx +++ b/sfx2/source/control/emojiview.cxx @@ -10,7 +10,6 @@ #include <sfx2/emojiview.hxx> #include <sfx2/emojiviewitem.hxx> #include <sfx2/templatelocalview.hxx> -#include <sfx2/sfxresid.hxx> #include <tools/urlobj.hxx> #include <vcl/layout.hxx> #include <rtl/bootstrap.hxx> @@ -25,8 +24,6 @@ #include <fstream> #include <streambuf> -#include <sfx2/strings.hrc> - #include <vcl/builderfactory.hxx> using namespace ::com::sun::star; diff --git a/sfx2/source/control/emojiviewitem.cxx b/sfx2/source/control/emojiviewitem.cxx index 6a5d7987f980..e4f1e701363e 100644 --- a/sfx2/source/control/emojiviewitem.cxx +++ b/sfx2/source/control/emojiviewitem.cxx @@ -21,9 +21,6 @@ #include <drawinglayer/processor2d/baseprocessor2d.hxx> #include <vcl/button.hxx> #include <vcl/graph.hxx> -#include <sfx2/sfxresid.hxx> - -#include <sfx2/strings.hrc> using namespace basegfx; using namespace basegfx::utils; diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx index 365dad5812ee..a827d1bd6547 100644 --- a/sfx2/source/control/objface.cxx +++ b/sfx2/source/control/objface.cxx @@ -29,7 +29,6 @@ #include <sfx2/msg.hxx> #include <sfx2/app.hxx> #include <sfx2/msgpool.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/objsh.hxx> #include <rtl/strbuf.hxx> diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx index 9b3f5be032ae..9ef487dee663 100644 --- a/sfx2/source/control/recentdocsviewitem.cxx +++ b/sfx2/source/control/recentdocsviewitem.cxx @@ -17,13 +17,11 @@ #include <i18nutil/paper.hxx> #include <officecfg/Office/Common.hxx> #include <sfx2/recentdocsview.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/templatelocalview.hxx> #include <tools/urlobj.hxx> #include <unotools/historyoptions.hxx> #include <vcl/svapp.hxx> -#include <sfx2/strings.hrc> #include <bitmaps.hlst> using namespace basegfx; diff --git a/sfx2/source/control/templateviewitem.cxx b/sfx2/source/control/templateviewitem.cxx index 49c495d74894..6d6207554382 100644 --- a/sfx2/source/control/templateviewitem.cxx +++ b/sfx2/source/control/templateviewitem.cxx @@ -21,9 +21,7 @@ #include <drawinglayer/processor2d/baseprocessor2d.hxx> #include <vcl/button.hxx> #include <vcl/graph.hxx> -#include <sfx2/sfxresid.hxx> -#include <sfx2/strings.hrc> #include <bitmaps.hlst> using namespace basegfx; diff --git a/sfx2/source/dialog/alienwarn.cxx b/sfx2/source/dialog/alienwarn.cxx index d3ffe5c13c8d..2b5328486e92 100644 --- a/sfx2/source/dialog/alienwarn.cxx +++ b/sfx2/source/dialog/alienwarn.cxx @@ -19,7 +19,6 @@ #include <sal/macros.h> -#include <sfx2/sfxresid.hxx> #include <sfx2/sfxuno.hxx> #include <unotools/saveopt.hxx> #include <vcl/svapp.hxx> diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index d9eb953e3ea9..17700cb67628 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -31,7 +31,6 @@ #include <svtools/colorcfg.hxx> #include <svtools/langhelp.hxx> #include <sfx2/filedlghelper.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/templatecontaineritem.hxx> #include <vcl/toolbox.hxx> diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx index d62ec7038c98..beb615a60d60 100644 --- a/sfx2/source/dialog/basedlgs.cxx +++ b/sfx2/source/dialog/basedlgs.cxx @@ -40,8 +40,6 @@ #include <sfx2/viewsh.hxx> #include <sfx2/sfxhelp.hxx> #include <workwin.hxx> -#include <sfx2/sfxresid.hxx> -#include <sfx2/strings.hrc> using namespace ::com::sun::star::uno; diff --git a/sfx2/source/dialog/inputdlg.cxx b/sfx2/source/dialog/inputdlg.cxx index 33015e788f9d..55849915ec39 100644 --- a/sfx2/source/dialog/inputdlg.cxx +++ b/sfx2/source/dialog/inputdlg.cxx @@ -8,7 +8,6 @@ */ #include <sfx2/inputdlg.hxx> -#include <sfx2/sfxresid.hxx> #include <vcl/svapp.hxx> InputDialog::InputDialog(weld::Window* pParent, const OUString &rLabelText) diff --git a/sfx2/source/dialog/printopt.cxx b/sfx2/source/dialog/printopt.cxx index dd077ca8c832..65f9ea8e1e9a 100644 --- a/sfx2/source/dialog/printopt.cxx +++ b/sfx2/source/dialog/printopt.cxx @@ -26,7 +26,6 @@ #include <comphelper/processfactory.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/printopt.hxx> diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index 6b083b434d33..12b3e74fbe34 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -33,8 +33,6 @@ #include <workwin.hxx> #include <sfx2/dockwin.hxx> #include <sfx2/app.hxx> -#include <sfx2/strings.hrc> -#include <sfx2/sfxresid.hxx> #include <sfx2/msgpool.hxx> #include <sfx2/viewfrm.hxx> diff --git a/sfx2/source/dialog/srchdlg.cxx b/sfx2/source/dialog/srchdlg.cxx index 39993c970f3d..66c6dbaae171 100644 --- a/sfx2/source/dialog/srchdlg.cxx +++ b/sfx2/source/dialog/srchdlg.cxx @@ -20,10 +20,8 @@ #include <srchdlg.hxx> #include <comphelper/string.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/sfxuno.hxx> -#include <sfx2/strings.hrc> #include <tools/debug.hxx> #include <unotools/viewoptions.hxx> diff --git a/sfx2/source/dialog/tplcitem.cxx b/sfx2/source/dialog/tplcitem.cxx index 12afcf6fc789..ec732fe08768 100644 --- a/sfx2/source/dialog/tplcitem.cxx +++ b/sfx2/source/dialog/tplcitem.cxx @@ -26,8 +26,6 @@ #include <tplcitem.hxx> #include <templdgi.hxx> -#include <sfx2/strings.hrc> - // Constructor SfxTemplateControllerItem::SfxTemplateControllerItem( diff --git a/sfx2/source/doc/docfac.cxx b/sfx2/source/doc/docfac.cxx index da54f1d123e3..bba209e2f960 100644 --- a/sfx2/source/doc/docfac.cxx +++ b/sfx2/source/doc/docfac.cxx @@ -38,12 +38,10 @@ #include <arrdecl.hxx> #include <sfx2/app.hxx> #include <sfx2/module.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/sfxuno.hxx> #include "syspath.hxx" #include <osl/file.hxx> #include <osl/security.hxx> -#include <sfx2/strings.hrc> #include <rtl/strbuf.hxx> #include <tools/globname.hxx> diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 9d23b512bc25..cd257837ef30 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -123,9 +123,7 @@ #include <sfx2/objsh.hxx> #include <sfx2/docfac.hxx> #include <sfx2/sfxsids.hrc> -#include <sfx2/strings.hrc> #include <openflag.hxx> -#include <sfx2/sfxresid.hxx> #include <officecfg/Office/Common.hxx> #include <comphelper/propertysequence.hxx> diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx index eefc8fd885f1..f9c9feb256be 100644 --- a/sfx2/source/doc/graphhelp.cxx +++ b/sfx2/source/doc/graphhelp.cxx @@ -49,9 +49,7 @@ #include <comphelper/processfactory.hxx> #include <o3tl/char16_t2wchar_t.hxx> -#include <sfx2/sfxresid.hxx> #include "graphhelp.hxx" -#include <sfx2/strings.hrc> #include <bitmaps.hlst> #include <memory> diff --git a/sfx2/source/notify/eventsupplier.cxx b/sfx2/source/notify/eventsupplier.cxx index 612f57b02c1b..78667a1d8036 100644 --- a/sfx2/source/notify/eventsupplier.cxx +++ b/sfx2/source/notify/eventsupplier.cxx @@ -38,10 +38,8 @@ #include <eventsupplier.hxx> #include <sfx2/app.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/sfxsids.hrc> -#include <sfx2/strings.hrc> #include <sfx2/docfile.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/frame.hxx> diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx index a257a4836ac4..04cf849cfc1f 100644 --- a/sfx2/source/toolbox/tbxitem.cxx +++ b/sfx2/source/toolbox/tbxitem.cxx @@ -71,7 +71,6 @@ #include <statcach.hxx> #include <sfx2/viewfrm.hxx> #include <sfxtypes.hxx> -#include <sfx2/sfxresid.hxx> #include <sfx2/module.hxx> #include <sfx2/docfile.hxx> #include <sfx2/docfac.hxx> diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx index 312241f71e63..ee1b6e7f7edd 100644 --- a/sfx2/source/view/printer.cxx +++ b/sfx2/source/view/printer.cxx @@ -31,7 +31,6 @@ #include <sfx2/prnmon.hxx> #include <sfx2/viewsh.hxx> #include <sfx2/tabdlg.hxx> -#include <sfx2/sfxresid.hxx> // struct SfxPrinter_Impl ------------------------------------------------ |