summaryrefslogtreecommitdiff
path: root/sc/source/core/data/stlsheet.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-04-07 14:30:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-04-07 23:03:00 +0200
commitbcf91144808232fa0d92184d2f1c09e5eaa1e86c (patch)
treea15f89af33c0f163a52ff57cb7b152b191f9b4ba /sc/source/core/data/stlsheet.cxx
parent6b40d5b2a340dced710ed66ed70cb7a670c5a4c1 (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 'sc/source/core/data/stlsheet.cxx')
-rw-r--r--sc/source/core/data/stlsheet.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/stlsheet.cxx b/sc/source/core/data/stlsheet.cxx
index 0e4e5d172533..596a703b5c5f 100644
--- a/sc/source/core/data/stlsheet.cxx
+++ b/sc/source/core/data/stlsheet.cxx
@@ -93,10 +93,10 @@ bool ScStyleSheet::SetParent( const OUString& rParentName )
{
bool bResult = false;
OUString aEffName = rParentName;
- SfxStyleSheetBase* pStyle = pPool->Find( aEffName, nFamily );
+ SfxStyleSheetBase* pStyle = m_pPool->Find( aEffName, nFamily );
if (!pStyle)
{
- std::shared_ptr<SfxStyleSheetIterator> pIter = pPool->CreateIterator( nFamily, SFXSTYLEBIT_ALL );
+ std::shared_ptr<SfxStyleSheetIterator> pIter = m_pPool->CreateIterator( nFamily, SFXSTYLEBIT_ALL );
pStyle = pIter->First();
if (pStyle)
aEffName = pStyle->GetName();
@@ -258,7 +258,7 @@ bool ScStyleSheet::IsUsed() const
{
// Always query the document to let it decide if a rescan is necessary,
// and store the state.
- ScDocument* pDoc = static_cast<ScStyleSheetPool*>(pPool)->GetDocument();
+ ScDocument* pDoc = static_cast<ScStyleSheetPool*>(m_pPool)->GetDocument();
if ( pDoc && pDoc->IsStyleSheetUsed( *this ) )
eUsage = USED;
else