summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-10-15 11:37:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-15 16:23:26 +0000
commit9e04891b788d8846760277786335028f5a6b71f7 (patch)
tree0354271269840c028452aacd2af8f5b31db69c1f
parent73e9281cbc146df12a3026c1521f1b458806e59e (diff)
tdf#93044 - fix silly calc copy/paste lifecycle issue.
Change-Id: Ic3d26f45251ff27bacd572f0cb7a7aadf091e808 Reviewed-on: https://gerrit.libreoffice.org/19386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-on: https://gerrit.libreoffice.org/19388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 30320b904795..e58267b4d065 100644
--- a/sc/source/ui/view/viewfun4.cxx
+++ b/sc/source/ui/view/viewfun4.cxx
@@ -100,7 +100,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));