summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-07-10 00:52:48 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-07-11 00:25:35 -0400
commita344684f0864f070d5ad1ffd9f2f844ffbd29fde (patch)
tree29b35432afe3c7875ca8601b731d12eb5c901372 /sc
parentcf2b72e8d55fbab56b4af7b0afbee67725b536a5 (diff)
Fix build breakage.
Change-Id: I99378e51b3ed2d84fa0116661d6aaba89de1688d
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/ucalc_sharedformula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/ucalc_sharedformula.cxx b/sc/qa/unit/ucalc_sharedformula.cxx
index 2c49a165631d..7093985b66d8 100644
--- a/sc/qa/unit/ucalc_sharedformula.cxx
+++ b/sc/qa/unit/ucalc_sharedformula.cxx
@@ -271,7 +271,7 @@ void Test::testSharedFormulasCopyPaste()
ScDocument* pUndoDoc = new ScDocument(SCDOCMODE_UNDO);
pUndoDoc->InitUndo(m_pDoc, 0, 0, true, true);
m_pDoc->CopyToDocument(aRange, IDF_CONTENTS, false, pUndoDoc);
- boost::scoped_ptr<ScUndoPaste> pUndo(createUndoPaste(*m_xDocShRef, aRange, pUndoDoc));
+ boost::scoped_ptr<ScUndoPaste> pUndo(createUndoPaste(getDocShell(), aRange, pUndoDoc));
// First, make sure the formula cells are shared in the undo document.
aPos.SetCol(1);