summaryrefslogtreecommitdiff
path: root/sc/qa/extras/sccondformats.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/extras/sccondformats.cxx')
-rw-r--r--sc/qa/extras/sccondformats.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/qa/extras/sccondformats.cxx b/sc/qa/extras/sccondformats.cxx
index 49e6c20a963b..9f1f8c7b7d8e 100644
--- a/sc/qa/extras/sccondformats.cxx
+++ b/sc/qa/extras/sccondformats.cxx
@@ -126,11 +126,11 @@ void ScConditionalFormatTest::testUndoAnchor()
SfxObjectShell* pFoundShell = SfxObjectShell::GetShellFromComponent(xComponent);
CPPUNIT_ASSERT_MESSAGE("Failed to access document shell", pFoundShell);
- ScDocShell* xDocSh = dynamic_cast<ScDocShell*>(pFoundShell);
- CPPUNIT_ASSERT(xDocSh);
+ ScDocShell* pDocSh = dynamic_cast<ScDocShell*>(pFoundShell);
+ CPPUNIT_ASSERT(pDocSh);
// Check whether graphic imported well
- ScDocument& rDoc = xDocSh->GetDocument();
+ ScDocument& rDoc = pDocSh->GetDocument();
ScDrawLayer* pDrawLayer = rDoc.GetDrawLayer();
CPPUNIT_ASSERT(pDrawLayer);
@@ -147,7 +147,7 @@ void ScConditionalFormatTest::testUndoAnchor()
CPPUNIT_ASSERT_EQUAL(sal_uLong(864900), rGraphicObj.GetSizeBytes());
// Get the document controller
- ScTabViewShell* pViewShell = xDocSh->GetBestViewShell(false);
+ ScTabViewShell* pViewShell = pDocSh->GetBestViewShell(false);
CPPUNIT_ASSERT(pViewShell);
// Get the draw view of the document