summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-10-15 11:37:03 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-10-15 11:51:53 +0100
commite5155848e41dfa528b91f068358e0b613b713979 (patch)
treefcd365050c2fca113b027edb54d58d65b98176ae /sc
parentae0bfef96ae4857d57268fcb00285cad4802b05b (diff)
tdf#93044 - fix silly calc copy/paste lifecycle issue.
Change-Id: Ic3d26f45251ff27bacd572f0cb7a7aadf091e808
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/viewfun4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx
index 31c17f968a61..e89705363660 100644
--- a/sc/source/ui/view/viewfun4.cxx
+++ b/sc/source/ui/view/viewfun4.cxx
@@ -98,7 +98,7 @@ void ScViewFunc::PasteRTF( SCCOL nStartCol, SCROW nStartRow,
if (pActWin)
{
pEngine->SetPaperSize(Size(100000,100000));
- VclPtrInstance< vcl::Window > aWin( pActWin );
+ ScopedVclPtrInstance< vcl::Window > aWin( pActWin );
EditView aEditView( pEngine.get(), aWin.get() );
aEditView.SetOutputArea(Rectangle(0,0,100000,100000));