summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/access/accportions.cxx5
-rw-r--r--sw/source/core/access/accportions.hxx2
2 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/core/access/accportions.cxx b/sw/source/core/access/accportions.cxx
index 98939c03419a..b5ccaae44ed3 100644
--- a/sw/source/core/access/accportions.cxx
+++ b/sw/source/core/access/accportions.cxx
@@ -72,14 +72,17 @@ SwAccessiblePortionData::SwAccessiblePortionData(
pTxtNode( pTxtNd ),
aBuffer(),
nModelPosition( 0 ),
- bFinished( false ),
pViewOptions( pViewOpt ),
sAccessibleString(),
aLineBreaks(),
aModelPositions(),
aAccessiblePositions(),
+ aFieldPosition(),
+ aAttrFieldType(),
+ aPortionAttrs(),
pSentences( 0 ),
nBeforePortions( 0 ),
+ bFinished( false ),
bLastIsSpecial( false )
{
OSL_ENSURE( pTxtNode != NULL, "Text node is needed!" );
diff --git a/sw/source/core/access/accportions.hxx b/sw/source/core/access/accportions.hxx
index ea6bf0a3a097..491afee051b7 100644
--- a/sw/source/core/access/accportions.hxx
+++ b/sw/source/core/access/accportions.hxx
@@ -43,7 +43,6 @@ class SwAccessiblePortionData : public SwPortionHandler
// variables used while collecting the data
OUStringBuffer aBuffer;
sal_Int32 nModelPosition;
- bool bFinished;
const SwViewOption* pViewOptions;
// the accessible string
@@ -67,6 +66,7 @@ class SwAccessiblePortionData : public SwPortionHandler
Positions_t* pSentences; /// positions of sentence breaks
size_t nBeforePortions; /// # of portions before first model character
+ bool bFinished;
bool bLastIsSpecial; /// set if last portion was 'Special()'
/// returns the index of the first position whose value is smaller