summaryrefslogtreecommitdiff
path: root/sc/qa/unit/ucalc.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-04-24 14:35:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-04-24 14:35:29 +0200
commit81fb27c27bfbd7b1808bb442277476065e39fb56 (patch)
tree9f3457ee7f95f80eec0920d032699d6900059f99 /sc/qa/unit/ucalc.cxx
parentb8184381bfa5fce44560d01ee8f3ed321cef4bb5 (diff)
-Werror=unused-variable
Diffstat (limited to 'sc/qa/unit/ucalc.cxx')
-rw-r--r--sc/qa/unit/ucalc.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 8585a1011a29..7662602acc5b 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -4272,8 +4272,6 @@ void Test::testCopyPasteFormulasExternalDoc()
CPPUNIT_ASSERT_MESSAGE("external document instance not loaded.",
findLoadedDocShellByName(aExtDocName) != NULL);
- ScDocument* pExtDoc = xExtDocSh->GetDocument();
-
m_pDoc->InsertTab(0, "Sheet1");
m_pDoc->InsertTab(1, "Sheet2");