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@redhat.com>
This commit is contained in:
Stephan Bergmann 2020-07-01 13:23:11 +02:00
parent 6a9f71f232
commit b551604a81
3 changed files with 4 additions and 4 deletions

View File

@ -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 )
{

View File

@ -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" ,

View File

@ -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