diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 10:08:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 10:08:07 +0200 |
commit | 85825e0fd54551735ef05b8484f71974734b9135 (patch) | |
tree | 8bece458e55c1b5eab7559076579bf76cca8df68 /sw/source/filter/html/htmlcss1.cxx | |
parent | fc233b52ce2acc1bcd7cecc3d51bcab870c81932 (diff) |
Avoid reserved identifiers
Change-Id: I27ff0f4f0eb395d7e0a60dd604758c220a3134c4
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r-- | sw/source/filter/html/htmlcss1.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx index f05c2ed6c594..392845f4f57d 100644 --- a/sw/source/filter/html/htmlcss1.cxx +++ b/sw/source/filter/html/htmlcss1.cxx @@ -1537,10 +1537,10 @@ void SwCSS1Parser::FillDropCap( SwFormatDrop& rDrop, // CSS1-sezifisches des SwHTMLParsers -_HTMLAttr **SwHTMLParser::GetAttrTabEntry( sal_uInt16 nWhich ) +HTMLAttr **SwHTMLParser::GetAttrTabEntry( sal_uInt16 nWhich ) { // den zu dem Item gehoehrenden Tabellen-Eintrag ermitteln ... - _HTMLAttr **ppAttr = nullptr; + HTMLAttr **ppAttr = nullptr; switch( nWhich ) { case RES_CHRATR_BLINK: @@ -2121,9 +2121,9 @@ void SwHTMLParser::SetFrameFormatAttrs( SfxItemSet &rItemSet, } } -_HTMLAttrContext *SwHTMLParser::PopContext( sal_uInt16 nToken ) +HTMLAttrContext *SwHTMLParser::PopContext( sal_uInt16 nToken ) { - _HTMLAttrContexts::size_type nPos = m_aContexts.size(); + HTMLAttrContexts::size_type nPos = m_aContexts.size(); if( nPos <= m_nContextStMin ) return nullptr; @@ -2150,7 +2150,7 @@ _HTMLAttrContext *SwHTMLParser::PopContext( sal_uInt16 nToken ) nPos--; } - _HTMLAttrContext *pCntxt = nullptr; + HTMLAttrContext *pCntxt = nullptr; if( bFound ) { pCntxt = m_aContexts[nPos]; @@ -2165,7 +2165,7 @@ bool SwHTMLParser::GetMarginsFromContext( sal_uInt16& nLeft, short& nIndent, bool bIgnoreTopContext ) const { - _HTMLAttrContexts::size_type nPos = m_aContexts.size(); + HTMLAttrContexts::size_type nPos = m_aContexts.size(); if( bIgnoreTopContext ) { if( !nPos ) @@ -2176,7 +2176,7 @@ bool SwHTMLParser::GetMarginsFromContext( sal_uInt16& nLeft, while( nPos > m_nContextStAttrMin ) { - const _HTMLAttrContext *pCntxt = m_aContexts[--nPos]; + const HTMLAttrContext *pCntxt = m_aContexts[--nPos]; if( pCntxt->IsLRSpaceChanged() ) { pCntxt->GetMargins( nLeft, nRight, nIndent ); @@ -2209,10 +2209,10 @@ void SwHTMLParser::GetULSpaceFromContext( sal_uInt16& nUpper, sal_uInt16 nDfltColl = 0; OUString aDfltClass; - _HTMLAttrContexts::size_type nPos = m_aContexts.size(); + HTMLAttrContexts::size_type nPos = m_aContexts.size(); while( nPos > m_nContextStAttrMin ) { - const _HTMLAttrContext *pCntxt = m_aContexts[--nPos]; + const HTMLAttrContext *pCntxt = m_aContexts[--nPos]; if( pCntxt->IsULSpaceChanged() ) { pCntxt->GetULSpace( nUpper, nLower ); @@ -2236,16 +2236,16 @@ void SwHTMLParser::GetULSpaceFromContext( sal_uInt16& nUpper, nLower = rULSpace.GetLower(); } -void SwHTMLParser::EndContextAttrs( _HTMLAttrContext *pContext ) +void SwHTMLParser::EndContextAttrs( HTMLAttrContext *pContext ) { - _HTMLAttrs &rAttrs = pContext->GetAttrs(); + HTMLAttrs &rAttrs = pContext->GetAttrs(); for( auto pAttr : rAttrs ) { if( RES_PARATR_DROP==pAttr->GetItem().Which() ) { // Fuer DropCaps noch die Anzahl der Zeichen anpassen. Wenn // es am Ende 0 sind, wird das Attribut invalidiert und dann - // von _SetAttr gar nicht erst gesetzt. + // von SetAttr_ gar nicht erst gesetzt. sal_Int32 nChars = m_pPam->GetPoint()->nContent.GetIndex(); if( nChars < 1 ) pAttr->Invalidate(); @@ -2267,7 +2267,7 @@ void SwHTMLParser::InsertParaAttrs( const SfxItemSet& rItemSet ) { // den zu dem Item gehoehrenden Tabellen-Eintrag ermitteln ... sal_uInt16 nWhich = pItem->Which(); - _HTMLAttr **ppAttr = GetAttrTabEntry( nWhich ); + HTMLAttr **ppAttr = GetAttrTabEntry( nWhich ); if( ppAttr ) { |