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:
@@ -42,7 +42,7 @@ using com::sun::star::document::XImporter;
|
|||||||
using com::sun::star::xml::sax::XDocumentHandler;
|
using com::sun::star::xml::sax::XDocumentHandler;
|
||||||
|
|
||||||
// W o r d P r o
|
// 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 )
|
bool LotusWordProImportFilter::importImpl( const Sequence< css::beans::PropertyValue >& aDescriptor )
|
||||||
{
|
{
|
||||||
|
@@ -61,7 +61,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
const static char Tree1String[][32] = {
|
const char Tree1String[][32] = {
|
||||||
"101",
|
"101",
|
||||||
"11",
|
"11",
|
||||||
"100",
|
"100",
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
"0000000",
|
"0000000",
|
||||||
};
|
};
|
||||||
|
|
||||||
const static char Tree2String[][32] = {
|
const char Tree2String[][32] = {
|
||||||
"11" ,
|
"11" ,
|
||||||
"1011" ,
|
"1011" ,
|
||||||
"1010" ,
|
"1010" ,
|
||||||
|
@@ -64,7 +64,7 @@
|
|||||||
|
|
||||||
#include <sal/types.h>
|
#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
|
{ 0xDF, 0xAF, 0x77, 0x77, 0x77, 0x77, 0xFA, 0xFD },//0 Transparent
|
||||||
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },//1 SolidForeground
|
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },//1 SolidForeground
|
||||||
{ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF },//2 SolidBackground
|
{ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF },//2 SolidBackground
|
||||||
|
Reference in New Issue
Block a user