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/source/ui/sidebar | |
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/source/ui/sidebar')
5 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx index 318aa838b891..f6801e6b078d 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx @@ -20,7 +20,6 @@ #include "AlignmentPropertyPanel.hxx" #include <editeng/justifyitem.hxx> #include <sc.hrc> -#include <scresid.hxx> #include <scitems.hxx> #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx index 537e4431555e..819929a6f8b2 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx @@ -21,9 +21,7 @@ #include <sfx2/sidebar/ControlFactory.hxx> #include "CellAppearancePropertyPanel.hxx" #include <sc.hrc> -#include <strings.hrc> #include <bitmaps.hlst> -#include <scresid.hxx> #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> #include <vcl/fixed.hxx> diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.cxx b/sc/source/ui/sidebar/CellBorderStyleControl.cxx index d516da3a3fc9..353880a9fb3f 100644 --- a/sc/source/ui/sidebar/CellBorderStyleControl.cxx +++ b/sc/source/ui/sidebar/CellBorderStyleControl.cxx @@ -19,7 +19,6 @@ #include "CellBorderStyleControl.hxx" #include <sc.hrc> -#include <scresid.hxx> #include <editeng/boxitem.hxx> #include <editeng/borderline.hxx> #include "CellAppearancePropertyPanel.hxx" diff --git a/sc/source/ui/sidebar/CellLineStyleControl.cxx b/sc/source/ui/sidebar/CellLineStyleControl.cxx index cd61e69c3d9d..5bd685cf821e 100644 --- a/sc/source/ui/sidebar/CellLineStyleControl.cxx +++ b/sc/source/ui/sidebar/CellLineStyleControl.cxx @@ -19,7 +19,6 @@ #include "CellLineStyleControl.hxx" #include <sc.hrc> -#include <scresid.hxx> #include "CellLineStyleValueSet.hxx" #include <vcl/i18nhelp.hxx> #include <vcl/settings.hxx> diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx index e56ade71b0d5..47f251e50215 100644 --- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx +++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx @@ -20,7 +20,6 @@ #include <sfx2/sidebar/ControlFactory.hxx> #include "NumberFormatPropertyPanel.hxx" #include <sc.hrc> -#include <scresid.hxx> #include <sfx2/bindings.hxx> #include <sfx2/dispatch.hxx> #include <vcl/fixed.hxx> |