summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2018-03-28 00:13:28 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-04-16 10:12:10 +0200
commit104b26b246c94c8c66864b20d00e419d96b15961 (patch)
treecc1a40134037ba0ec980b1f4e8844acbe3d9c4b3 /sc/source/ui/optdlg
parent74b6e61dde64c5e24bffacda6f67dbf3d1fc7032 (diff)
tdf#42949 Remove unnecessary localization headers from sc
Found by searching for the header names and the localization function: git grep -l -e \<scresid.hxx\> -e \<strings.hrc\> sc | xargs grep -c ScResId | grep :0$ | grep -v /pch and git grep -l -e \<globstr.hrc\> sc | xargs grep -c GetRscString | grep :0$ | grep -v /pch since global.hxx contains so much more, it's omitted from this round. This also gives some false positives used in ErrorMessage() calls or just untranslated strings. Also translate some stray German comments Change-Id: Icfea2b2942d12c3c134d419cb7c9a84534c04a86 Reviewed-on: https://gerrit.libreoffice.org/52932 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.cxx1
-rw-r--r--sc/source/ui/optdlg/opredlin.cxx2
-rw-r--r--sc/source/ui/optdlg/tpcalc.cxx1
-rw-r--r--sc/source/ui/optdlg/tpcompatibility.cxx1
-rw-r--r--sc/source/ui/optdlg/tpdefaults.cxx1
-rw-r--r--sc/source/ui/optdlg/tpprint.cxx1
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx1
7 files changed, 0 insertions, 8 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx
index 4bb17dea3e22..74e7904249d7 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.cxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx
@@ -18,7 +18,6 @@
#include <docsh.hxx>
#include <interpre.hxx>
#include <sc.hrc>
-#include <scresid.hxx>
#include <scopetools.hxx>
#include <viewdata.hxx>
diff --git a/sc/source/ui/optdlg/opredlin.cxx b/sc/source/ui/optdlg/opredlin.cxx
index ba781c86e01c..4cee5bf1a1b6 100644
--- a/sc/source/ui/optdlg/opredlin.cxx
+++ b/sc/source/ui/optdlg/opredlin.cxx
@@ -32,10 +32,8 @@
#include <viewopti.hxx>
#include <tabvwsh.hxx>
#include <uiitems.hxx>
-#include <scresid.hxx>
#include <docsh.hxx>
#include <sc.hrc>
-#include <globstr.hrc>
#include <opredlin.hxx>
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx
index 4e03a51f0f92..af66b3e3c5f2 100644
--- a/sc/source/ui/optdlg/tpcalc.cxx
+++ b/sc/source/ui/optdlg/tpcalc.cxx
@@ -28,7 +28,6 @@
#include <docsh.hxx>
#include <document.hxx>
#include <docoptio.hxx>
-#include <scresid.hxx>
#include <sc.hrc>
#include <officecfg/Office/Calc.hxx>
diff --git a/sc/source/ui/optdlg/tpcompatibility.cxx b/sc/source/ui/optdlg/tpcompatibility.cxx
index e23424da1117..55e171a41265 100644
--- a/sc/source/ui/optdlg/tpcompatibility.cxx
+++ b/sc/source/ui/optdlg/tpcompatibility.cxx
@@ -12,7 +12,6 @@
#include <scmod.hxx>
#include <tpcompatibility.hxx>
#include <sc.hrc>
-#include <scresid.hxx>
#include <appoptio.hxx>
ScTpCompatOptions::ScTpCompatOptions(vcl::Window *pParent, const SfxItemSet &rCoreAttrs) :
diff --git a/sc/source/ui/optdlg/tpdefaults.cxx b/sc/source/ui/optdlg/tpdefaults.cxx
index dbff2ee5a795..5e6ef5338ac6 100644
--- a/sc/source/ui/optdlg/tpdefaults.cxx
+++ b/sc/source/ui/optdlg/tpdefaults.cxx
@@ -11,7 +11,6 @@
#include <tpdefaults.hxx>
#include <sc.hrc>
-#include <scresid.hxx>
#include <scmod.hxx>
#include <defaultsoptions.hxx>
#include <document.hxx>
diff --git a/sc/source/ui/optdlg/tpprint.cxx b/sc/source/ui/optdlg/tpprint.cxx
index 2ba30bf352e6..1b6a7c300f97 100644
--- a/sc/source/ui/optdlg/tpprint.cxx
+++ b/sc/source/ui/optdlg/tpprint.cxx
@@ -24,7 +24,6 @@
#include <tpprint.hxx>
#include <printopt.hxx>
#include <scmod.hxx>
-#include <scresid.hxx>
#include <sc.hrc>
ScTpPrintOptions::ScTpPrintOptions( vcl::Window* pParent,
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 1d76dd9ca94f..7671b1e65a4d 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -30,7 +30,6 @@
#include <userlist.hxx>
#include <rangeutl.hxx>
#include <crdlg.hxx>
-#include <scresid.hxx>
#include <sc.hrc>
#include <globstr.hrc>
#include <tpusrlst.hxx>