diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-04-07 14:30:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-04-07 23:03:00 +0200 |
commit | bcf91144808232fa0d92184d2f1c09e5eaa1e86c (patch) | |
tree | a15f89af33c0f163a52ff57cb7b152b191f9b4ba /sd | |
parent | 6b40d5b2a340dced710ed66ed70cb7a670c5a4c1 (diff) |
Prefix SfxStyleSheetBase::pPool member
...just that one member; came in handy when researching a failure, and don't
want to loose that improvement.
Change-Id: Ia5434c4bd8131c37f93d32ce840859469ac258ef
Reviewed-on: https://gerrit.libreoffice.org/52553
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/stlsheet.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index a304bd36f65d..7b5ef91a07fc 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -179,7 +179,7 @@ bool SdStyleSheet::SetParent(const OUString& rParentName) { if( !rParentName.isEmpty() ) { - SfxStyleSheetBase* pStyle = pPool->Find(rParentName, nFamily); + SfxStyleSheetBase* pStyle = m_pPool->Find(rParentName, nFamily); if (pStyle) { bResult = true; @@ -333,7 +333,7 @@ SdStyleSheet* SdStyleSheet::GetRealStyleSheet() const OUString aRealStyle; OUString aSep( SD_LT_SEPARATOR ); SdStyleSheet* pRealStyle = nullptr; - SdDrawDocument* pDoc = static_cast<SdStyleSheetPool*>(pPool)->GetDoc(); + SdDrawDocument* pDoc = static_cast<SdStyleSheetPool*>(m_pPool)->GetDoc(); ::sd::DrawViewShell* pDrawViewShell = nullptr; @@ -367,7 +367,7 @@ SdStyleSheet* SdStyleSheet::GetRealStyleSheet() const { /* no page available yet. This can happen when actualizing the document templates. */ - SfxStyleSheetIterator aIter(pPool, SfxStyleFamily::Page); + SfxStyleSheetIterator aIter(m_pPool, SfxStyleFamily::Page); SfxStyleSheetBase* pSheet = aIter.First(); if( pSheet ) aRealStyle = pSheet->GetName(); @@ -417,12 +417,12 @@ SdStyleSheet* SdStyleSheet::GetRealStyleSheet() const } aRealStyle += aInternalName; - pRealStyle = static_cast< SdStyleSheet* >( pPool->Find(aRealStyle, SfxStyleFamily::Page) ); + pRealStyle = static_cast< SdStyleSheet* >( m_pPool->Find(aRealStyle, SfxStyleFamily::Page) ); #ifdef DBG_UTIL if( !pRealStyle ) { - SfxStyleSheetIterator aIter(pPool, SfxStyleFamily::Page); + SfxStyleSheetIterator aIter(m_pPool, SfxStyleFamily::Page); if( aIter.Count() > 0 ) // StyleSheet not found, but pool already loaded DBG_ASSERT(pRealStyle, "Internal StyleSheet not found"); @@ -479,7 +479,7 @@ SdStyleSheet* SdStyleSheet::GetPseudoStyleSheet() const } } - pPseudoStyle = static_cast<SdStyleSheet*>(pPool->Find(aStyleName, SfxStyleFamily::Pseudo)); + pPseudoStyle = static_cast<SdStyleSheet*>(m_pPool->Find(aStyleName, SfxStyleFamily::Pseudo)); DBG_ASSERT(pPseudoStyle, "PseudoStyleSheet missing"); return pPseudoStyle; @@ -735,7 +735,7 @@ void SdStyleSheet::disposing() delete pSet; } pSet = nullptr; - pPool = nullptr; + m_pPool = nullptr; mxPool.clear(); } |