[Libreoffice-commits] core.git: lotuswordpro/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 1 14:18:15 UTC 2020


 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(-)

New commits:
commit b551604a81d6cd5ab9b85d56c57a97f4abc457fd
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jul 1 13:23:11 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jul 1 16:17:39 2020 +0200

    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 <sbergman at redhat.com>

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 <assert.h>
 #include <math.h>
 
-    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 <sal/types.h>
 
-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


More information about the Libreoffice-commits mailing list