diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-03-18 16:03:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-04-13 16:39:14 +0200 |
commit | 83d247b9917ecf4e23d5a457252a998f233b5c30 (patch) | |
tree | c3b9ce3ad1a55a72b1f0190e29a405b57e4ba637 /dbaccess/source/ext | |
parent | 1f5c0cf78d1dcc7420e93ae7c24d838931aba88d (diff) |
tdf#42949 Remove unnecessary localization headers from dbaccess
Found by searching for the header names and the localization function:
git grep -l -e \<core_resource.hxx\> -e \<strings.hrc\> dbaccess | xargs grep -c -e "loadString" -e "DBA_RES" | grep :0$ | grep -v /pch
Since certain files use the strings with other functions as well
the above command still gives some false positives.
Change-Id: Ib41c5d8d18f3a00729fcf2c4cd8203a2047ef0df
Reviewed-on: https://gerrit.libreoffice.org/52480
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ext')
3 files changed, 2 insertions, 4 deletions
diff --git a/dbaccess/source/ext/macromigration/macromigrationpages.cxx b/dbaccess/source/ext/macromigration/macromigrationpages.cxx index e0caf2c19e1d..09fd1f69b495 100644 --- a/dbaccess/source/ext/macromigration/macromigrationpages.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationpages.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <strings.hrc> #include "macromigrationpages.hxx" #include "macromigrationdialog.hxx" diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx index a445b2bff175..2a2be921e7ff 100644 --- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx @@ -18,6 +18,8 @@ */ #include "macromigrationwizard.hxx" +#include <core_resource.hxx> +#include <strings.hrc> namespace dbmm { diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.hxx b/dbaccess/source/ext/macromigration/macromigrationwizard.hxx index 85adc818e048..c2ed8b02f66f 100644 --- a/dbaccess/source/ext/macromigration/macromigrationwizard.hxx +++ b/dbaccess/source/ext/macromigration/macromigrationwizard.hxx @@ -25,9 +25,6 @@ #include <svtools/genericunodialog.hxx> -#include <core_resource.hxx> -#include <strings.hrc> - namespace dbmm { |