summaryrefslogtreecommitdiff
path: root/sw/qa/core/txtnode/txtnode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/core/txtnode/txtnode.cxx')
-rw-r--r--sw/qa/core/txtnode/txtnode.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/core/txtnode/txtnode.cxx b/sw/qa/core/txtnode/txtnode.cxx
index 217c32f51f5f..ce55e517e196 100644
--- a/sw/qa/core/txtnode/txtnode.cxx
+++ b/sw/qa/core/txtnode/txtnode.cxx
@@ -52,9 +52,9 @@ CPPUNIT_TEST_FIXTURE(SwCoreTxtnodeTest, testTextBoxCopyAnchor)
SwWrtShell* pWrtShell = pShell->GetWrtShell();
SwDoc aClipboard;
pWrtShell->SelAll();
- pWrtShell->Copy(&aClipboard);
+ pWrtShell->Copy(aClipboard);
pWrtShell->SttEndDoc(/*bStart=*/false);
- pWrtShell->Paste(&aClipboard);
+ pWrtShell->Paste(aClipboard);
const SwFrameFormats& rFormats = *pShell->GetDoc()->GetSpzFrameFormats();
// Without the accompanying fix in place, this test would have failed with: