diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-03-28 00:13:28 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-04-16 10:12:10 +0200 |
commit | 104b26b246c94c8c66864b20d00e419d96b15961 (patch) | |
tree | cc1a40134037ba0ec980b1f4e8844acbe3d9c4b3 /sc/qa | |
parent | 74b6e61dde64c5e24bffacda6f67dbf3d1fc7032 (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/qa')
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 1 | ||||
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index f6582cd8e7d0..1339274f5ddd 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -42,7 +42,6 @@ #include <chgtrack.hxx> #include <validat.hxx> #include <attrib.hxx> -#include <globstr.hrc> #include <global.hxx> #include <svx/svdoole2.hxx> diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 907c8f6a04ae..103ee5d3de71 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -48,7 +48,6 @@ #include <columniterator.hxx> #include <types.hxx> #include <fillinfo.hxx> -#include <globstr.hrc> #include <tokenarray.hxx> #include <scopetools.hxx> #include <dociter.hxx> |