diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:44:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 12:52:19 +0200 |
commit | ec5ad2a7dc682bc27bcbf7733a5b36bc06676b8b (patch) | |
tree | 6ca46eb5e092170310eb5fbc6009c8ba35f3dab6 /writerperfect/source | |
parent | d0ff2eb331850f69fc105149d986c6ec3e106319 (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): writerperfect
Change-Id: Ic6518d6441d81e286e69ea4be11d12c42d61d459
Reviewed-on: https://gerrit.libreoffice.org/76625
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'writerperfect/source')
27 files changed, 27 insertions, 27 deletions
diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx index 5f81dc44769a..8b9a40bd5f61 100644 --- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx +++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx @@ -427,7 +427,7 @@ void MSWorksCalcImportFilter::doRegisterHandlers(OdsGenerator&) {} // XServiceInfo OUString SAL_CALL MSWorksCalcImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Calc.MSWorksCalcImportFilter"); + return "com.sun.star.comp.Calc.MSWorksCalcImportFilter"; } sal_Bool SAL_CALL MSWorksCalcImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/calc/MWAWCalcImportFilter.cxx b/writerperfect/source/calc/MWAWCalcImportFilter.cxx index 43486d3cd2af..ce9834bdf8ec 100644 --- a/writerperfect/source/calc/MWAWCalcImportFilter.cxx +++ b/writerperfect/source/calc/MWAWCalcImportFilter.cxx @@ -108,7 +108,7 @@ void MWAWCalcImportFilter::doRegisterHandlers(OdsGenerator& rGenerator) // XServiceInfo OUString SAL_CALL MWAWCalcImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Calc.MWAWCalcImportFilter"); + return "com.sun.star.comp.Calc.MWAWCalcImportFilter"; } sal_Bool SAL_CALL MWAWCalcImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/calc/NumbersImportFilter.cxx b/writerperfect/source/calc/NumbersImportFilter.cxx index a24bf7dbc605..8cf18b492b9e 100644 --- a/writerperfect/source/calc/NumbersImportFilter.cxx +++ b/writerperfect/source/calc/NumbersImportFilter.cxx @@ -48,7 +48,7 @@ void NumbersImportFilter::doRegisterHandlers(OdsGenerator&) {} // XServiceInfo OUString SAL_CALL NumbersImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Calc.NumbersImportFilter"); + return "org.libreoffice.comp.Calc.NumbersImportFilter"; } sal_Bool SAL_CALL NumbersImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx index fe3407944f4b..9e8a1ba18d7d 100644 --- a/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx +++ b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx @@ -79,7 +79,7 @@ void StarOfficeCalcImportFilter::doRegisterHandlers(OdsGenerator& rGenerator) // XServiceInfo OUString SAL_CALL StarOfficeCalcImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Calc.StarOfficeCalcImportFilter"); + return "org.libreoffice.comp.Calc.StarOfficeCalcImportFilter"; } sal_Bool SAL_CALL StarOfficeCalcImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/CDRImportFilter.cxx b/writerperfect/source/draw/CDRImportFilter.cxx index c9b63a677145..fd317ec26bac 100644 --- a/writerperfect/source/draw/CDRImportFilter.cxx +++ b/writerperfect/source/draw/CDRImportFilter.cxx @@ -45,7 +45,7 @@ bool CDRImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUStri // XServiceInfo OUString SAL_CALL CDRImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Draw.CDRImportFilter"); + return "com.sun.star.comp.Draw.CDRImportFilter"; } sal_Bool SAL_CALL CDRImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/CMXImportFilter.cxx b/writerperfect/source/draw/CMXImportFilter.cxx index 2bc5e7175569..117da40e3540 100644 --- a/writerperfect/source/draw/CMXImportFilter.cxx +++ b/writerperfect/source/draw/CMXImportFilter.cxx @@ -45,7 +45,7 @@ bool CMXImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUStri // XServiceInfo OUString SAL_CALL CMXImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Draw.CMXImportFilter"); + return "com.sun.star.comp.Draw.CMXImportFilter"; } sal_Bool SAL_CALL CMXImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/FreehandImportFilter.cxx b/writerperfect/source/draw/FreehandImportFilter.cxx index b873232792fb..432532647fd2 100644 --- a/writerperfect/source/draw/FreehandImportFilter.cxx +++ b/writerperfect/source/draw/FreehandImportFilter.cxx @@ -41,7 +41,7 @@ bool FreehandImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, O // XServiceInfo OUString SAL_CALL FreehandImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Draw.FreehandImportFilter"); + return "com.sun.star.comp.Draw.FreehandImportFilter"; } sal_Bool SAL_CALL FreehandImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/MSPUBImportFilter.cxx b/writerperfect/source/draw/MSPUBImportFilter.cxx index c755dc816da7..7ed175efcb85 100644 --- a/writerperfect/source/draw/MSPUBImportFilter.cxx +++ b/writerperfect/source/draw/MSPUBImportFilter.cxx @@ -41,7 +41,7 @@ bool MSPUBImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUSt // XServiceInfo OUString SAL_CALL MSPUBImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Draw.MSPUBImportFilter"); + return "com.sun.star.comp.Draw.MSPUBImportFilter"; } sal_Bool SAL_CALL MSPUBImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/MWAWDrawImportFilter.cxx b/writerperfect/source/draw/MWAWDrawImportFilter.cxx index 6d38af9e17d0..72495b7b24a2 100644 --- a/writerperfect/source/draw/MWAWDrawImportFilter.cxx +++ b/writerperfect/source/draw/MWAWDrawImportFilter.cxx @@ -100,7 +100,7 @@ void MWAWDrawImportFilter::doRegisterHandlers(OdgGenerator& rGenerator) // XServiceInfo OUString SAL_CALL MWAWDrawImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Draw.MWAWDrawImportFilter"); + return "com.sun.star.comp.Draw.MWAWDrawImportFilter"; } sal_Bool SAL_CALL MWAWDrawImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/PageMakerImportFilter.cxx b/writerperfect/source/draw/PageMakerImportFilter.cxx index 1d4c5762d42e..49409141cd59 100644 --- a/writerperfect/source/draw/PageMakerImportFilter.cxx +++ b/writerperfect/source/draw/PageMakerImportFilter.cxx @@ -42,7 +42,7 @@ bool PageMakerImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, // XServiceInfo OUString SAL_CALL PageMakerImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Draw.PageMakerImportFilter"); + return "org.libreoffice.comp.Draw.PageMakerImportFilter"; } sal_Bool SAL_CALL PageMakerImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/QXPImportFilter.cxx b/writerperfect/source/draw/QXPImportFilter.cxx index 4b74b73167dc..a14402c49bba 100644 --- a/writerperfect/source/draw/QXPImportFilter.cxx +++ b/writerperfect/source/draw/QXPImportFilter.cxx @@ -42,7 +42,7 @@ bool QXPImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUStri // XServiceInfo OUString SAL_CALL QXPImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Draw.QXPImportFilter"); + return "org.libreoffice.comp.Draw.QXPImportFilter"; } sal_Bool SAL_CALL QXPImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx index 2250bb54abc0..406a9887287b 100644 --- a/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx +++ b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx @@ -81,7 +81,7 @@ void StarOfficeDrawImportFilter::doRegisterHandlers(OdgGenerator& rGenerator) // XServiceInfo OUString SAL_CALL StarOfficeDrawImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Draw.StarOfficeDrawImportFilter"); + return "org.libreoffice.comp.Draw.StarOfficeDrawImportFilter"; } sal_Bool SAL_CALL StarOfficeDrawImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/VisioImportFilter.cxx b/writerperfect/source/draw/VisioImportFilter.cxx index c49fed230c4e..7338f930450a 100644 --- a/writerperfect/source/draw/VisioImportFilter.cxx +++ b/writerperfect/source/draw/VisioImportFilter.cxx @@ -41,7 +41,7 @@ bool VisioImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUSt // XServiceInfo OUString SAL_CALL VisioImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Draw.VisioImportFilter"); + return "com.sun.star.comp.Draw.VisioImportFilter"; } sal_Bool SAL_CALL VisioImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/WPGImportFilter.cxx b/writerperfect/source/draw/WPGImportFilter.cxx index a7fb552deeba..e11badb7ac9d 100644 --- a/writerperfect/source/draw/WPGImportFilter.cxx +++ b/writerperfect/source/draw/WPGImportFilter.cxx @@ -48,7 +48,7 @@ bool WPGImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUStri // XServiceInfo OUString SAL_CALL WPGImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Draw.WPGImportFilter"); + return "com.sun.star.comp.Draw.WPGImportFilter"; } sal_Bool SAL_CALL WPGImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/draw/ZMFImportFilter.cxx b/writerperfect/source/draw/ZMFImportFilter.cxx index 84914ecc2682..14a47c6ca04f 100644 --- a/writerperfect/source/draw/ZMFImportFilter.cxx +++ b/writerperfect/source/draw/ZMFImportFilter.cxx @@ -42,7 +42,7 @@ bool ZMFImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUStri // XServiceInfo OUString SAL_CALL ZMFImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Draw.ZMFImportFilter"); + return "org.libreoffice.comp.Draw.ZMFImportFilter"; } sal_Bool SAL_CALL ZMFImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/impress/KeynoteImportFilter.cxx b/writerperfect/source/impress/KeynoteImportFilter.cxx index dbb7ab563c21..124f0cbc3c81 100644 --- a/writerperfect/source/impress/KeynoteImportFilter.cxx +++ b/writerperfect/source/impress/KeynoteImportFilter.cxx @@ -240,7 +240,7 @@ KeynoteImportFilter::detect(css::uno::Sequence<css::beans::PropertyValue>& Descr // XServiceInfo OUString SAL_CALL KeynoteImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Impress.KeynoteImportFilter"); + return "org.libreoffice.comp.Impress.KeynoteImportFilter"; } sal_Bool SAL_CALL KeynoteImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx index ee47e5f3de94..8cccdb469cfa 100644 --- a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx +++ b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx @@ -90,7 +90,7 @@ void MWAWPresentationImportFilter::doRegisterHandlers(OdpGenerator& rGenerator) // XServiceInfo OUString SAL_CALL MWAWPresentationImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Impress.MWAWPresentationImportFilter"); + return "com.sun.star.comp.Impress.MWAWPresentationImportFilter"; } sal_Bool SAL_CALL MWAWPresentationImportFilter::supportsService(const OUString& rServiceName) { diff --git a/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx index 81936eb0e75a..f35b64728cf9 100644 --- a/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx +++ b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx @@ -82,7 +82,7 @@ void StarOfficePresentationImportFilter::doRegisterHandlers(OdpGenerator& rGener // XServiceInfo OUString SAL_CALL StarOfficePresentationImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Impress.StarOfficePresentationImportFilter"); + return "org.libreoffice.comp.Impress.StarOfficePresentationImportFilter"; } sal_Bool SAL_CALL StarOfficePresentationImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/writer/AbiWordImportFilter.cxx b/writerperfect/source/writer/AbiWordImportFilter.cxx index 5ee8cbee51b8..217305369ca2 100644 --- a/writerperfect/source/writer/AbiWordImportFilter.cxx +++ b/writerperfect/source/writer/AbiWordImportFilter.cxx @@ -41,7 +41,7 @@ bool AbiWordImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OU // XServiceInfo OUString SAL_CALL AbiWordImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Writer.AbiWordImportFilter"); + return "com.sun.star.comp.Writer.AbiWordImportFilter"; } sal_Bool SAL_CALL AbiWordImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/writer/EBookImportFilter.cxx b/writerperfect/source/writer/EBookImportFilter.cxx index 1e22af75deb3..b1915deabe99 100644 --- a/writerperfect/source/writer/EBookImportFilter.cxx +++ b/writerperfect/source/writer/EBookImportFilter.cxx @@ -97,7 +97,7 @@ bool EBookImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUSt // XServiceInfo OUString SAL_CALL EBookImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Writer.EBookImportFilter"); + return "org.libreoffice.comp.Writer.EBookImportFilter"; } sal_Bool SAL_CALL EBookImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/writer/EPUBExportFilter.cxx b/writerperfect/source/writer/EPUBExportFilter.cxx index 36167b38d52c..747206ec7e45 100644 --- a/writerperfect/source/writer/EPUBExportFilter.cxx +++ b/writerperfect/source/writer/EPUBExportFilter.cxx @@ -179,7 +179,7 @@ void EPUBExportFilter::setSourceDocument(const uno::Reference<lang::XComponent>& OUString EPUBExportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Writer.EPUBExportFilter"); + return "com.sun.star.comp.Writer.EPUBExportFilter"; } sal_Bool EPUBExportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/writer/EPUBExportUIComponent.cxx b/writerperfect/source/writer/EPUBExportUIComponent.cxx index 0e6ae812f5a7..e9c2d5fba93d 100644 --- a/writerperfect/source/writer/EPUBExportUIComponent.cxx +++ b/writerperfect/source/writer/EPUBExportUIComponent.cxx @@ -51,7 +51,7 @@ void EPUBExportUIComponent::setPropertyValues( OUString EPUBExportUIComponent::getImplementationName() { - return OUString("com.sun.star.comp.Writer.EPUBExportUIComponent"); + return "com.sun.star.comp.Writer.EPUBExportUIComponent"; } sal_Bool EPUBExportUIComponent::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx index 733364b91211..7a929f62598f 100644 --- a/writerperfect/source/writer/MSWorksImportFilter.cxx +++ b/writerperfect/source/writer/MSWorksImportFilter.cxx @@ -129,7 +129,7 @@ void MSWorksImportFilter::doRegisterHandlers(OdtGenerator& rGenerator) // XServiceInfo OUString SAL_CALL MSWorksImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Writer.MSWorksImportFilter"); + return "com.sun.star.comp.Writer.MSWorksImportFilter"; } sal_Bool SAL_CALL MSWorksImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/writer/MWAWImportFilter.cxx b/writerperfect/source/writer/MWAWImportFilter.cxx index 780cd040b713..1640366464cb 100644 --- a/writerperfect/source/writer/MWAWImportFilter.cxx +++ b/writerperfect/source/writer/MWAWImportFilter.cxx @@ -100,7 +100,7 @@ void MWAWImportFilter::doRegisterHandlers(OdtGenerator& rGenerator) // XServiceInfo OUString SAL_CALL MWAWImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Writer.MWAWImportFilter"); + return "com.sun.star.comp.Writer.MWAWImportFilter"; } sal_Bool SAL_CALL MWAWImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/writer/PagesImportFilter.cxx b/writerperfect/source/writer/PagesImportFilter.cxx index b2de122dfe6a..869a7c900aae 100644 --- a/writerperfect/source/writer/PagesImportFilter.cxx +++ b/writerperfect/source/writer/PagesImportFilter.cxx @@ -46,7 +46,7 @@ bool PagesImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUSt // XServiceInfo OUString SAL_CALL PagesImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Writer.PagesImportFilter"); + return "org.libreoffice.comp.Writer.PagesImportFilter"; } sal_Bool SAL_CALL PagesImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx index b2ad8f9dc1b0..10eb0f8f6375 100644 --- a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx +++ b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx @@ -107,7 +107,7 @@ void StarOfficeWriterImportFilter::doRegisterHandlers(OdtGenerator& rGenerator) // XServiceInfo OUString SAL_CALL StarOfficeWriterImportFilter::getImplementationName() { - return OUString("org.libreoffice.comp.Writer.StarOfficeWriterImportFilter"); + return "org.libreoffice.comp.Writer.StarOfficeWriterImportFilter"; } sal_Bool SAL_CALL StarOfficeWriterImportFilter::supportsService(const OUString& rServiceName) diff --git a/writerperfect/source/writer/WordPerfectImportFilter.cxx b/writerperfect/source/writer/WordPerfectImportFilter.cxx index 76baa0f21a92..53634c40eac7 100644 --- a/writerperfect/source/writer/WordPerfectImportFilter.cxx +++ b/writerperfect/source/writer/WordPerfectImportFilter.cxx @@ -219,7 +219,7 @@ void SAL_CALL WordPerfectImportFilter::initialize(const Sequence<Any>& /*aArgume // XServiceInfo OUString SAL_CALL WordPerfectImportFilter::getImplementationName() { - return OUString("com.sun.star.comp.Writer.WordPerfectImportFilter"); + return "com.sun.star.comp.Writer.WordPerfectImportFilter"; } sal_Bool SAL_CALL WordPerfectImportFilter::supportsService(const OUString& rServiceName) |