diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-08-25 09:20:25 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-09-06 12:09:07 +0200 |
commit | e5d9bbbc6bd2ca792d38d6bd137ddd801686ddda (patch) | |
tree | 5430f336518188ec4bc5c5165f2f82fb8bb35f48 /sw | |
parent | 55f44820f266bbba97f142a67af73f3b437e34af (diff) |
Reorder data members and initialize all of them
Change-Id: I42cf63602fa5f15d199fc70e9c343f481e8668e2
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accportions.cxx | 5 | ||||
-rw-r--r-- | sw/source/core/access/accportions.hxx | 2 |
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 |