summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/text/inftxt.cxx11
-rw-r--r--sw/source/core/text/inftxt.hxx2
2 files changed, 8 insertions, 5 deletions
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index 550a50cf66e9..d1dc520393fe 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -1660,10 +1660,13 @@ SwTxtSlot::SwTxtSlot(
bool bTxtLen,
bool bExgLists,
const sal_Char *pCh )
- : pOldTxt( 0 ),
- pOldSmartTagList( 0 ),
- pOldGrammarCheckList( 0 ),
- pTempList( 0 )
+ : pOldTxt(0)
+ , pOldSmartTagList(0)
+ , pOldGrammarCheckList(0)
+ , pTempList(0)
+ , nIdx(0)
+ , nLen(0)
+ , pInf(NULL)
{
if( pCh )
{
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index 24ce4cbb9be3..d81d16e63de5 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -779,7 +779,7 @@ public:
SwTxtSlot( const SwTxtSizeInfo *pNew, const SwLinePortion *pPor, bool bTxtLen,
bool bExgLists, const sal_Char *pCh = NULL );
~SwTxtSlot();
- inline bool IsOn() const { return bOn; }
+ bool IsOn() const { return bOn; }
};
/*************************************************************************