From b551604a81d6cd5ab9b85d56c57a97f4abc457fd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 1 Jul 2020 13:23:11 +0200 Subject: Upcoming improved loplugin:staticanonymous -> redundantstatic: lotuswordpro Change-Id: I5b68c490b534da933de4f26e01328dfb2976dafc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97616 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- lotuswordpro/source/filter/LotusWordProImportFilter.cxx | 2 +- lotuswordpro/source/filter/explode.cxx | 4 ++-- lotuswordpro/source/filter/lwppttntbl.hxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx index 9d65394bae8c..73335e0bab88 100644 --- a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx +++ b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx @@ -42,7 +42,7 @@ using com::sun::star::document::XImporter; using com::sun::star::xml::sax::XDocumentHandler; // W o r d P r o -static const sal_Int8 header[] = { 0x57, 0x6f, 0x72, 0x64, 0x50, 0x72, 0x6f }; +const sal_Int8 header[] = { 0x57, 0x6f, 0x72, 0x64, 0x50, 0x72, 0x6f }; bool LotusWordProImportFilter::importImpl( const Sequence< css::beans::PropertyValue >& aDescriptor ) { diff --git a/lotuswordpro/source/filter/explode.cxx b/lotuswordpro/source/filter/explode.cxx index 017bd476139b..ab82f3380b23 100644 --- a/lotuswordpro/source/filter/explode.cxx +++ b/lotuswordpro/source/filter/explode.cxx @@ -61,7 +61,7 @@ #include #include - const static char Tree1String[][32] = { + const char Tree1String[][32] = { "101", "11", "100", @@ -80,7 +80,7 @@ "0000000", }; - const static char Tree2String[][32] = { + const char Tree2String[][32] = { "11" , "1011" , "1010" , diff --git a/lotuswordpro/source/filter/lwppttntbl.hxx b/lotuswordpro/source/filter/lwppttntbl.hxx index a0774fbbb8bf..f74c8f6eda9d 100644 --- a/lotuswordpro/source/filter/lwppttntbl.hxx +++ b/lotuswordpro/source/filter/lwppttntbl.hxx @@ -64,7 +64,7 @@ #include -static const sal_uInt8 s_pLwpPatternTab[][8] = { //Id Name +const sal_uInt8 s_pLwpPatternTab[][8] = { //Id Name { 0xDF, 0xAF, 0x77, 0x77, 0x77, 0x77, 0xFA, 0xFD },//0 Transparent { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },//1 SolidForeground { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF },//2 SolidBackground -- cgit