summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcompilerplugins/clang/unusedfields.py3
-rw-r--r--sw/source/core/access/accmap.cxx6
-rw-r--r--sw/source/core/doc/tblrwcl.cxx8
-rw-r--r--sw/source/core/inc/MarkManager.hxx3
-rw-r--r--sw/source/core/inc/SwXMLTextBlocks.hxx2
-rw-r--r--sw/source/core/inc/flyfrms.hxx2
-rw-r--r--sw/source/core/inc/swblocks.hxx1
-rw-r--r--sw/source/core/inc/viewimp.hxx3
-rw-r--r--sw/source/core/layout/flylay.cxx1
-rw-r--r--sw/source/core/swg/SwXMLTextBlocks.cxx4
-rw-r--r--sw/source/core/swg/swblocks.cxx4
-rw-r--r--sw/source/core/text/itratr.cxx7
-rw-r--r--sw/source/core/text/porlay.cxx7
-rw-r--r--sw/source/core/text/porlay.hxx12
-rw-r--r--sw/source/core/unocore/unofield.cxx6
-rw-r--r--sw/source/core/view/viewimp.cxx1
-rw-r--r--sw/source/filter/html/htmlatr.cxx1
-rw-r--r--sw/source/filter/html/swhtml.cxx1
-rw-r--r--sw/source/filter/html/swhtml.hxx2
-rw-r--r--sw/source/filter/html/wrthtml.cxx1
-rw-r--r--sw/source/filter/html/wrthtml.hxx3
-rw-r--r--sw/source/filter/inc/wrtswtbl.hxx1
-rw-r--r--sw/source/filter/writer/wrtswtbl.cxx3
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx1
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx2
-rw-r--r--sw/source/filter/xml/xmlexp.cxx3
-rw-r--r--sw/source/filter/xml/xmlexp.hxx1
-rw-r--r--sw/source/filter/xml/xmltexte.cxx1
-rw-r--r--sw/source/filter/xml/xmltexte.hxx1
29 files changed, 15 insertions, 76 deletions
diff --git a/compilerplugins/clang/unusedfields.py b/compilerplugins/clang/unusedfields.py
index 4b9b6aa93131..08f0b675ce6f 100755
--- a/compilerplugins/clang/unusedfields.py
+++ b/compilerplugins/clang/unusedfields.py
@@ -59,7 +59,8 @@ for d in definitionSet:
if (srcLoc.startswith("external/")):
continue
# this is all representations of on-disk data structures
- if (srcLoc == "sc/source/filter/inc/scflt.hxx"):
+ if (srcLoc.startswith("sc/source/filter/inc/scflt.hxx")
+ or srcLoc.startswith("sw/source/filter/ww8/")):
continue
tmp1set.add((clazz, srcLoc))
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index 2af9cd10a54c..b8504b61f353 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -231,14 +231,8 @@ private:
public:
-#if OSL_DEBUG_LEVEL > 0
- bool mbLocked;
-#endif
explicit SwAccessibleShapeMap_Impl( SwAccessibleMap *pMap )
: maMap()
-#if OSL_DEBUG_LEVEL > 0
- , mbLocked( false )
-#endif
{
maInfo.SetSdrView( pMap->GetShell()->GetDrawView() );
maInfo.SetWindow( pMap->GetShell()->GetWin() );
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index c46d561be5d0..e1c0cccf6238 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -1373,14 +1373,12 @@ struct _InsULPara
bool bUL : 1; // Upper-Left(true) or Lower-Right(false) ?
SwTableBox* pLeftBox;
- SwTableBox* pRightBox;
- SwTableBox* pMergeBox;
_InsULPara( SwTableNode* pTNd, bool bUpperLower, bool bUpper,
- SwTableBox* pLeft, SwTableBox* pMerge, SwTableBox* pRight,
+ SwTableBox* pLeft,
SwTableLine* pLine=nullptr, SwTableBox* pBox=nullptr )
: pTableNd( pTNd ), pInsLine( pLine ), pInsBox( pBox ),
- pLeftBox( pLeft ), pRightBox( pRight ), pMergeBox( pMerge )
+ pLeftBox( pLeft )
{ bUL_LR = bUpperLower; bUL = bUpper; }
void SetLeft( SwTableBox* pBox=nullptr )
@@ -1617,7 +1615,7 @@ bool SwTable::OldMerge( SwDoc* pDoc, const SwSelBoxes& rBoxes,
// This contains all Lines that are above the selected Area,
// thus they form a Upper/Lower Line
- _InsULPara aPara( pTableNd, true, true, pLeftBox, pMergeBox, pRightBox, pInsLine );
+ _InsULPara aPara( pTableNd, true, true, pLeftBox, pInsLine );
// Move the overlapping upper/lower Lines of the selected Area
for (auto & it : pFndBox->GetLines().front()->GetBoxes())
diff --git a/sw/source/core/inc/MarkManager.hxx b/sw/source/core/inc/MarkManager.hxx
index 5df4e82768e8..6abeb4831196 100644
--- a/sw/source/core/inc/MarkManager.hxx
+++ b/sw/source/core/inc/MarkManager.hxx
@@ -116,9 +116,6 @@ namespace sw {
// container for annotation marks
container_t m_vAnnotationMarks;
- // container for all marks except annotation marks
- container_t m_vCommonMarks;
-
SwDoc * const m_pDoc;
};
} // namespace mark
diff --git a/sw/source/core/inc/SwXMLTextBlocks.hxx b/sw/source/core/inc/SwXMLTextBlocks.hxx
index 8f96c6d7f1d7..884af8c2fff5 100644
--- a/sw/source/core/inc/SwXMLTextBlocks.hxx
+++ b/sw/source/core/inc/SwXMLTextBlocks.hxx
@@ -35,7 +35,6 @@ class SwXMLTextBlocks : public SwImpBlocks
{
protected:
bool bAutocorrBlock;
- bool bBlock;
SfxObjectShellRef xDocShellRef;
sal_uInt16 nFlags;
OUString aPackageName;
@@ -49,7 +48,6 @@ protected:
public:
css::uno::Reference < css::embed::XStorage > xBlkRoot;
css::uno::Reference < css::embed::XStorage > xRoot;
- short nCurBlk;
SwXMLTextBlocks( const OUString& rFile );
SwXMLTextBlocks( const css::uno::Reference < css::embed::XStorage >&, const OUString& rFile );
void AddName( const OUString&, const OUString&, const OUString&, bool bOnlyText = false );
diff --git a/sw/source/core/inc/flyfrms.hxx b/sw/source/core/inc/flyfrms.hxx
index 0deb6b7b96fa..115f25e8fd71 100644
--- a/sw/source/core/inc/flyfrms.hxx
+++ b/sw/source/core/inc/flyfrms.hxx
@@ -30,8 +30,6 @@ class SwFlyAtCntFrm;
// bound in Content.
class SwFlyFreeFrm : public SwFlyFrm
{
- SwPageFrm *pPage; // page where the Fly is registered
-
// #i34753# - flag for at-page anchored Writer fly frames
// to prevent a positioning - call of method <MakeObjPos()> -, if Writer
// fly frame is already clipped during its format by the object formatter.
diff --git a/sw/source/core/inc/swblocks.hxx b/sw/source/core/inc/swblocks.hxx
index f309519554e5..90bbb59bbccb 100644
--- a/sw/source/core/inc/swblocks.hxx
+++ b/sw/source/core/inc/swblocks.hxx
@@ -38,7 +38,6 @@ public:
OUString aPackageName; /// Package name
bool bIsOnlyTextFlagInit : 1; /// Is the Flag valid?
bool bIsOnlyText : 1; /// Unformatted text
- bool bInPutMuchBlocks : 1; /// Put serveral block entries
SwBlockName( const OUString& rShort, const OUString& rLong );
SwBlockName( const OUString& rShort, const OUString& rLong, const OUString& rPackageName );
diff --git a/sw/source/core/inc/viewimp.hxx b/sw/source/core/inc/viewimp.hxx
index 52c5cf593795..e6efdf4278be 100644
--- a/sw/source/core/inc/viewimp.hxx
+++ b/sw/source/core/inc/viewimp.hxx
@@ -76,9 +76,6 @@ class SwViewShellImp
SwAccessibleMap *m_pAccessibleMap; // Accessible wrappers
- mutable const SdrObject * m_pSdrObjectCached;
- mutable OUString m_sSdrObjectCachedComment;
-
bool m_bFirstPageInvalid : 1; // Pointer to the first Page invalid?
bool m_bResetHdlHiddenPaint : 1; // Ditto
bool m_bSmoothUpdate : 1; // For SmoothScroll
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx
index d365fe291711..951f5c8b29e3 100644
--- a/sw/source/core/layout/flylay.cxx
+++ b/sw/source/core/layout/flylay.cxx
@@ -45,7 +45,6 @@ using namespace ::com::sun::star;
SwFlyFreeFrm::SwFlyFreeFrm( SwFlyFrameFormat *pFormat, SwFrm* pSib, SwFrm *pAnch ) :
SwFlyFrm( pFormat, pSib, pAnch ),
- pPage( nullptr ),
// #i34753#
mbNoMakePos( false ),
// #i37068#
diff --git a/sw/source/core/swg/SwXMLTextBlocks.cxx b/sw/source/core/swg/SwXMLTextBlocks.cxx
index 2f911a5a654d..efb72ea696f8 100644
--- a/sw/source/core/swg/SwXMLTextBlocks.cxx
+++ b/sw/source/core/swg/SwXMLTextBlocks.cxx
@@ -58,9 +58,7 @@ void SwXMLTextBlocks::ResetBlockMode ( )
SwXMLTextBlocks::SwXMLTextBlocks( const OUString& rFile )
: SwImpBlocks(rFile)
, bAutocorrBlock(false)
- , bBlock(false)
, nFlags(0)
- , nCurBlk(0)
{
SwDocShell* pDocSh = new SwDocShell ( SfxObjectCreateMode::INTERNAL );
if( !pDocSh->DoInitNew() )
@@ -104,9 +102,7 @@ SwXMLTextBlocks::SwXMLTextBlocks( const OUString& rFile )
SwXMLTextBlocks::SwXMLTextBlocks( const uno::Reference < embed::XStorage >& rStg, const OUString& rName )
: SwImpBlocks( rName )
, bAutocorrBlock(false)
- , bBlock(false)
, nFlags(0)
- , nCurBlk(0)
{
SwDocShell* pDocSh = new SwDocShell ( SfxObjectCreateMode::INTERNAL );
if( !pDocSh->DoInitNew() )
diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx
index 775254ab9b2d..279b2f4d70f9 100644
--- a/sw/source/core/swg/swblocks.cxx
+++ b/sw/source/core/swg/swblocks.cxx
@@ -57,7 +57,7 @@ sal_uInt16 SwImpBlocks::Hash( const OUString& r )
SwBlockName::SwBlockName( const OUString& rShort, const OUString& rLong )
: aShort( rShort ), aLong( rLong ), aPackageName (rShort),
- bIsOnlyTextFlagInit( false ), bIsOnlyText( false ), bInPutMuchBlocks(false)
+ bIsOnlyTextFlagInit( false ), bIsOnlyText( false )
{
nHashS = SwImpBlocks::Hash( rShort );
nHashL = SwImpBlocks::Hash( rLong );
@@ -65,7 +65,7 @@ SwBlockName::SwBlockName( const OUString& rShort, const OUString& rLong )
SwBlockName::SwBlockName( const OUString& rShort, const OUString& rLong, const OUString& rPackageName)
: aShort( rShort ), aLong( rLong ), aPackageName (rPackageName),
- bIsOnlyTextFlagInit( false ), bIsOnlyText( false ), bInPutMuchBlocks(false)
+ bIsOnlyTextFlagInit( false ), bIsOnlyText( false )
{
nHashS = SwImpBlocks::Hash( rShort );
nHashL = SwImpBlocks::Hash( rLong );
diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx
index 2a86ba989a92..56adbd5a3e8f 100644
--- a/sw/source/core/text/itratr.cxx
+++ b/sw/source/core/text/itratr.cxx
@@ -341,14 +341,13 @@ public:
VclPtr<OutputDevice> pOut;
SwViewShell const * pSh;
sal_uLong &rMin;
- sal_uLong &rMax;
sal_uLong &rAbsMin;
long nRowWidth;
long nWordWidth;
long nWordAdd;
sal_Int32 nNoLineBreak;
- SwMinMaxArgs( OutputDevice* pOutI, SwViewShell const * pShI, sal_uLong& rMinI, sal_uLong &rMaxI, sal_uLong &rAbsI )
- : pOut( pOutI ), pSh( pShI ), rMin( rMinI ), rMax( rMaxI ), rAbsMin( rAbsI )
+ SwMinMaxArgs( OutputDevice* pOutI, SwViewShell const * pShI, sal_uLong& rMinI, sal_uLong &rAbsI )
+ : pOut( pOutI ), pSh( pShI ), rMin( rMinI ), rAbsMin( rAbsI )
{ nRowWidth = nWordWidth = nWordAdd = 0; nNoLineBreak = COMPLETE_STRING; }
void Minimum( long nNew ) const { if( (long)rMin < nNew ) rMin = nNew; }
void NewWord() { nWordAdd = nWordWidth = 0; }
@@ -617,7 +616,7 @@ void SwTextNode::GetMinMaxSize( sal_uLong nIndex, sal_uLong& rMin, sal_uLong &rM
sal_Int32 nLen = m_Text.getLength();
long nAktWidth = 0;
long nAdd = 0;
- SwMinMaxArgs aArg( pOut, pSh, rMin, rMax, rAbsMin );
+ SwMinMaxArgs aArg( pOut, pSh, rMin, rAbsMin );
while( nIdx < nLen )
{
sal_Int32 nNextChg = aIter.GetNextAttr();
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index b1ca592f93f7..7d483f5d5c72 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -1955,13 +1955,6 @@ SwScriptInfo* SwScriptInfo::GetScriptInfo( const SwTextNode& rTNd,
}
SwParaPortion::SwParaPortion()
- : m_bFlag00(false)
- , m_bFlag11(false)
- , m_bFlag12(false)
- , m_bFlag13(false)
- , m_bFlag14(false)
- , m_bFlag15(false)
- , m_bFlag16(false)
{
FormatReset();
m_bFlys = m_bFootnoteNum = m_bMargin = false;
diff --git a/sw/source/core/text/porlay.hxx b/sw/source/core/text/porlay.hxx
index 868087dffca0..3e6079b2d097 100644
--- a/sw/source/core/text/porlay.hxx
+++ b/sw/source/core/text/porlay.hxx
@@ -247,16 +247,8 @@ class SwParaPortion : public SwLineLayout
bool m_bFollowField : 1; // We have a bit of field left for the Follow
bool m_bFixLineHeight : 1; // Fixed line height
- bool m_bFootnoteNum : 1; // contains a footnotenumberportion
- bool m_bMargin : 1; // contains a hanging punctuation in the margin
-
- bool m_bFlag00 : 1;
- bool m_bFlag11 : 1;
- bool m_bFlag12 : 1;
- bool m_bFlag13 : 1;
- bool m_bFlag14 : 1;
- bool m_bFlag15 : 1;
- bool m_bFlag16 : 1;
+ bool m_bFootnoteNum : 1; // contains a footnotenumberportion
+ bool m_bMargin : 1; // contains a hanging punctuation in the margin
public:
SwParaPortion();
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index a4d63b892ab8..289bce53e33f 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -427,12 +427,10 @@ public:
OUString m_sParam1; // Content / Database / NumberingSeparator
OUString m_sParam2; // - /DataTablename
OUString m_sParam3; // - /DataFieldName
- OUString m_sParam4;
OUString m_sParam5; // - /DataBaseURL
- OUString m_sParam6; // - /DataBaseResource
double m_fParam1; // Value / -
sal_Int8 m_nParam1; // ChapterNumberingLevel
- bool m_bParam1; // IsExpression
+ bool m_bParam1; // IsExpression
sal_Int32 m_nParam2;
Impl(SwModify *const pModify,
@@ -1086,8 +1084,6 @@ struct SwFieldProperties_Impl
OUString sPar2;
OUString sPar3;
OUString sPar4;
- OUString sPar5;
- OUString sPar6;
Date aDate;
double fDouble;
uno::Sequence<beans::PropertyValue> aPropSeq;
diff --git a/sw/source/core/view/viewimp.cxx b/sw/source/core/view/viewimp.cxx
index 36a9d9d8fb43..4d3206ea0427 100644
--- a/sw/source/core/view/viewimp.cxx
+++ b/sw/source/core/view/viewimp.cxx
@@ -95,7 +95,6 @@ SwViewShellImp::SwViewShellImp( SwViewShell *pParent ) :
m_pLayAction( nullptr ),
m_pIdleAct( nullptr ),
m_pAccessibleMap( nullptr ),
- m_pSdrObjectCached(nullptr),
m_bFirstPageInvalid( true ),
m_bResetHdlHiddenPaint( false ),
m_bSmoothUpdate( false ),
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index c053eb298b77..7b644865b823 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -232,7 +232,6 @@ SwHTMLFormatInfo::SwHTMLFormatInfo( const SwFormat *pF, SwDoc *pDoc, SwDoc *pTem
LanguageType eDfltLang,
sal_uInt16 nCSS1Script, bool bHardDrop )
: pFormat(pF)
- , pRefFormat(nullptr)
, pItemSet(nullptr)
, nLeftMargin(0)
, nRightMargin(0)
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 7e2ea5721b2d..54cfe6767ba8 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -284,7 +284,6 @@ SwHTMLParser::SwHTMLParser( SwDoc* pD, SwPaM& rCrsr, SvStream& rIn,
m_bLBEntrySelected ( false ),
m_bTAIgnoreNewPara ( false ),
m_bFixMarqueeWidth ( false ),
- m_bFixMarqueeHeight ( false ),
m_bNoParSpace( false ),
m_bInNoEmbed( false ),
m_bInTitle( false ),
diff --git a/sw/source/filter/html/swhtml.hxx b/sw/source/filter/html/swhtml.hxx
index 4429254e7489..da2a33aa64e1 100644
--- a/sw/source/filter/html/swhtml.hxx
+++ b/sw/source/filter/html/swhtml.hxx
@@ -359,7 +359,6 @@ class SwHTMLParser : public SfxHTMLParser, public SwClient
OUString m_aPathToFile;
OUString m_sBaseURL;
- OUString m_sSaveBaseURL;
OUString m_aBasicLib;
OUString m_aBasicModule;
OUString m_aScriptSource; // Inhalt des aktuellen Script-Blocks
@@ -451,7 +450,6 @@ class SwHTMLParser : public SfxHTMLParser, public SwClient
bool m_bLBEntrySelected : 1; // Ist der aktuelle Listbox-Eintrag selekt.
bool m_bTAIgnoreNewPara : 1; // naechstes LF in TextArea ignorieren?
bool m_bFixMarqueeWidth : 1; // Groesse einer Laufschrift anpassen?
- bool m_bFixMarqueeHeight : 1;
bool m_bUpperSpace : 1; // obererer Absatz-Abstand wird benoetigt
bool m_bNoParSpace : 1;
diff --git a/sw/source/filter/html/wrthtml.cxx b/sw/source/filter/html/wrthtml.cxx
index 28f7c8f23786..f66e87631f12 100644
--- a/sw/source/filter/html/wrthtml.cxx
+++ b/sw/source/filter/html/wrthtml.cxx
@@ -1417,7 +1417,6 @@ HTMLSaveData::HTMLSaveData(SwHTMLWriter& rWriter, sal_uLong nStt,
, bOldOutHeader(rWrt.m_bOutHeader)
, bOldOutFooter(rWrt.m_bOutFooter)
, bOldOutFlyFrame(rWrt.m_bOutFlyFrame)
- , pOldFlyFormat(nullptr)
{
bOldWriteAll = rWrt.bWriteAll;
diff --git a/sw/source/filter/html/wrthtml.hxx b/sw/source/filter/html/wrthtml.hxx
index 9a2704af74a4..8a65c8128ae6 100644
--- a/sw/source/filter/html/wrthtml.hxx
+++ b/sw/source/filter/html/wrthtml.hxx
@@ -211,7 +211,6 @@ public:
struct SwHTMLFormatInfo
{
const SwFormat *pFormat; // das Format selbst
- const SwFormat *pRefFormat; // das Vergleichs-Format
OString aToken; // das auszugebende Token
OUString aClass; // die auszugebende Klasse
@@ -230,7 +229,6 @@ struct SwHTMLFormatInfo
// Konstruktor fuer einen Dummy zum Suchen
explicit SwHTMLFormatInfo( const SwFormat *pF ) :
pFormat( pF ),
- pRefFormat(nullptr),
pItemSet( nullptr ),
nLeftMargin( 0 ),
nRightMargin( 0 ),
@@ -624,7 +622,6 @@ struct HTMLSaveData
bool bOldOutHeader : 1;
bool bOldOutFooter : 1;
bool bOldOutFlyFrame : 1;
- const SwFlyFrameFormat* pOldFlyFormat;
HTMLSaveData( SwHTMLWriter&, sal_uLong nStt, sal_uLong nEnd,
bool bSaveNum=true,
diff --git a/sw/source/filter/inc/wrtswtbl.hxx b/sw/source/filter/inc/wrtswtbl.hxx
index 47ea399bfb22..55819710c516 100644
--- a/sw/source/filter/inc/wrtswtbl.hxx
+++ b/sw/source/filter/inc/wrtswtbl.hxx
@@ -251,7 +251,6 @@ protected:
bool m_bGetLineHeightCalled : 1;
#endif
- bool bColsOption : 1;
bool bColTags : 1;
bool bLayoutExport : 1;
bool bCollectBorderWidth : 1;
diff --git a/sw/source/filter/writer/wrtswtbl.cxx b/sw/source/filter/writer/wrtswtbl.cxx
index a9475d2e68b6..5cd0bd4e27a1 100644
--- a/sw/source/filter/writer/wrtswtbl.cxx
+++ b/sw/source/filter/writer/wrtswtbl.cxx
@@ -732,7 +732,7 @@ SwWriteTable::SwWriteTable(const SwTable* pTable, const SwTableLines& rLines, lo
#ifdef DBG_UTIL
m_bGetLineHeightCalled(false),
#endif
- bColsOption(false), bColTags(true), bLayoutExport(false),
+ bColTags(true), bLayoutExport(false),
bCollectBorderWidth(true)
{
sal_uInt32 nParentWidth = nBaseWidth + nLeftSub + nRightSub;
@@ -765,7 +765,6 @@ SwWriteTable::SwWriteTable(const SwTable* pTable, const SwHTMLTableLayout *pLayo
#ifdef DBG_UTIL
m_bGetLineHeightCalled(false),
#endif
- bColsOption(pLayoutInfo->HasColsOption()),
bColTags(pLayoutInfo->HasColTags()), bLayoutExport(true),
bCollectBorderWidth(pLayoutInfo->HaveBordersChanged())
{
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index d9eb62718755..9bfb0bdb7139 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -437,7 +437,6 @@ struct MSWordSaveData
bool bOldWriteAll : 1; ///< WW8Export only
bool bOldOutTable : 1;
- bool bOldIsInTable: 1;
bool bOldFlyFrmAttrs : 1;
bool bOldStartTOX : 1;
bool bOldInWriteTOX : 1;
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index b08071a9fa13..ba0d4f03894a 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -430,7 +430,6 @@ struct WW8LFOInfo // unsortiert, d.h. Reihenfolge genau wie im WW8 Stream
bool bOverride :1;// Flag, ob die NumRule nicht in maLSTInfos steht,
// sondern fuer m_LFOInfos NEU angelegt wurde
- bool bSimpleList:1;// Flag, ob diese NumRule nur einen Level verwendet
bool bUsedInDoc :1;// Flag, ob diese NumRule im Doc verwendet wird,
// oder beim Reader-Ende geloescht werden sollte
bool bLSTbUIDSet :1;// Flag, ob bUsedInDoc in maLSTInfos gesetzt wurde,
@@ -445,7 +444,6 @@ WW8LFOInfo::WW8LFOInfo(const WW8LFO& rLFO)
, nIdLst(rLFO.nIdLst)
, nLfoLvl(rLFO.nLfoLvl)
, bOverride(rLFO.nLfoLvl != 0)
- , bSimpleList(rLFO.bSimpleList)
, bUsedInDoc(false)
, bLSTbUIDSet(false)
{
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx
index dfce3ca52921..7dd8d1bfba31 100644
--- a/sw/source/filter/xml/xmlexp.cxx
+++ b/sw/source/filter/xml/xmlexp.cxx
@@ -94,8 +94,7 @@ SwXMLExport::SwXMLExport(
bSavedShowChanges( false ),
doc( nullptr ),
sNumberFormat("NumberFormat"),
- sIsProtected("IsProtected"),
- sCell("Cell")
+ sIsProtected("IsProtected")
{
_InitItemExport();
}
diff --git a/sw/source/filter/xml/xmlexp.hxx b/sw/source/filter/xml/xmlexp.hxx
index c7450aefce4f..1319bdca55cf 100644
--- a/sw/source/filter/xml/xmlexp.hxx
+++ b/sw/source/filter/xml/xmlexp.hxx
@@ -101,7 +101,6 @@ class SwXMLExport : public SvXMLExport
// string constants for table cell export
const OUString sNumberFormat;
const OUString sIsProtected;
- const OUString sCell;
void setBlockMode();
private:
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 1091ddd46739..d310886bb0bd 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -174,7 +174,6 @@ SwXMLTextParagraphExport::SwXMLTextParagraphExport(
SwXMLExport& rExp,
SvXMLAutoStylePoolP& _rAutoStylePool ) :
XMLTextParagraphExport( rExp, _rAutoStylePool ),
- sTextTable( "TextTable" ),
sEmbeddedObjectProtocol( "vnd.sun.star.EmbeddedObject:" ),
sGraphicObjectProtocol( "vnd.sun.star.GraphicObject:" ),
aAppletClassId( SO3_APPLET_CLASSID ),
diff --git a/sw/source/filter/xml/xmltexte.hxx b/sw/source/filter/xml/xmltexte.hxx
index a1a12b4da503..83140ac61188 100644
--- a/sw/source/filter/xml/xmltexte.hxx
+++ b/sw/source/filter/xml/xmltexte.hxx
@@ -32,7 +32,6 @@ namespace com { namespace sun { namespace star { namespace style {
class SwXMLTextParagraphExport : public XMLTextParagraphExport
{
- const OUString sTextTable;
const OUString sEmbeddedObjectProtocol;
const OUString sGraphicObjectProtocol;