diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-05-20 13:05:49 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-05-20 13:05:49 +0200 |
commit | ab465b90f6c6da5595393a0ba73f33a1e71a2b65 (patch) | |
tree | 36b77192de2799a11b4bf0b269cb3f74d0a0bb1f /sw/source/core/access/textmarkuphelper.cxx | |
parent | 0db96caf0fcce09b87621c11b584a6d81cc7df86 (diff) |
bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-point
renames the most annoying abbreviations in Writer (and partially
in the shared code too).
Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
Diffstat (limited to 'sw/source/core/access/textmarkuphelper.cxx')
-rw-r--r-- | sw/source/core/access/textmarkuphelper.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/access/textmarkuphelper.cxx b/sw/source/core/access/textmarkuphelper.cxx index 2217f9d84c2d..d316b21ba9c2 100644 --- a/sw/source/core/access/textmarkuphelper.cxx +++ b/sw/source/core/access/textmarkuphelper.cxx @@ -33,7 +33,7 @@ using namespace com::sun::star; // helper functions namespace { - const SwWrongList* getTextMarkupList( const SwTxtNode& rTxtNode, + const SwWrongList* getTextMarkupList( const SwTextNode& rTextNode, const sal_Int32 nTextMarkupType ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) @@ -43,7 +43,7 @@ namespace { { case text::TextMarkupType::SPELLCHECK: { - pTextMarkupList = rTxtNode.GetWrong(); + pTextMarkupList = rTextNode.GetWrong(); } break; case text::TextMarkupType::PROOFREADING: @@ -70,10 +70,10 @@ namespace { // implementation of class <SwTextMarkupoHelper> SwTextMarkupHelper::SwTextMarkupHelper( const SwAccessiblePortionData& rPortionData, - const SwTxtNode& rTxtNode ) + const SwTextNode& rTextNode ) : mrPortionData( rPortionData ) // #i108125# - , mpTxtNode( &rTxtNode ) + , mpTextNode( &rTextNode ) , mpTextMarkupList( 0 ) { } @@ -82,7 +82,7 @@ SwTextMarkupHelper::SwTextMarkupHelper( const SwAccessiblePortionData& rPortionD SwTextMarkupHelper::SwTextMarkupHelper( const SwAccessiblePortionData& rPortionData, const SwWrongList& rTextMarkupList ) : mrPortionData( rPortionData ) - , mpTxtNode( 0 ) + , mpTextNode( 0 ) , mpTextMarkupList( &rTextMarkupList ) { } @@ -97,7 +97,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp const SwWrongList* pTextMarkupList = mpTextMarkupList ? mpTextMarkupList - : getTextMarkupList( *mpTxtNode, nTextMarkupType ); + : getTextMarkupList( *mpTextNode, nTextMarkupType ); if ( pTextMarkupList ) { nTextMarkupCount = pTextMarkupList->Count(); @@ -127,7 +127,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp const SwWrongList* pTextMarkupList = mpTextMarkupList ? mpTextMarkupList - : getTextMarkupList( *mpTxtNode, nTextMarkupType ); + : getTextMarkupList( *mpTextNode, nTextMarkupType ); if ( pTextMarkupList ) { const SwWrongArea* pTextMarkup = @@ -174,7 +174,7 @@ sal_Int32 SwTextMarkupHelper::getTextMarkupCount( const sal_Int32 nTextMarkupTyp const SwWrongList* pTextMarkupList = mpTextMarkupList ? mpTextMarkupList - : getTextMarkupList( *mpTxtNode, nTextMarkupType ); + : getTextMarkupList( *mpTextNode, nTextMarkupType ); ::std::vector< ::com::sun::star::accessibility::TextSegment > aTmpTextMarkups; if ( pTextMarkupList ) { |