diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:55:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:59:07 +0200 |
commit | 3a9e5c09b8c8064cdf04bad6e3901aa51e9c9f20 (patch) | |
tree | de3d525551ac976125e8ab11459845b1d39608f9 /emfio | |
parent | 45adfba73e8b171e08ce3fadd4a066e04d4f0880 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): emfio
Change-Id: I8effe9e6e82340613016807490d1e727c02d1f6a
Reviewed-on: https://gerrit.libreoffice.org/76680
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'emfio')
-rw-r--r-- | emfio/source/emfuno/xemfparser.cxx | 2 | ||||
-rw-r--r-- | emfio/source/reader/mtftools.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/emfio/source/emfuno/xemfparser.cxx b/emfio/source/emfuno/xemfparser.cxx index d212fc58b79f..f28633a73446 100644 --- a/emfio/source/emfuno/xemfparser.cxx +++ b/emfio/source/emfuno/xemfparser.cxx @@ -93,7 +93,7 @@ namespace emfio OUString XEmfParser_getImplementationName() { - return OUString( "emfio::emfreader::XEmfParser" ); + return "emfio::emfreader::XEmfParser"; } uno::Reference< uno::XInterface > XEmfParser_createInstance(const uno::Reference< uno::XComponentContext >& context) diff --git a/emfio/source/reader/mtftools.cxx b/emfio/source/reader/mtftools.cxx index e1d46c471124..4de2dd4c1fe2 100644 --- a/emfio/source/reader/mtftools.cxx +++ b/emfio/source/reader/mtftools.cxx @@ -174,7 +174,7 @@ namespace emfio OUString getLODefaultLanguage() { if (utl::ConfigManager::IsFuzzing()) - return OUString("en-US"); + return "en-US"; OUString result(officecfg::Office::Linguistic::General::DefaultLocale::get()); if (result.isEmpty()) result = officecfg::Setup::L10N::ooSetupSystemLocale::get(); |