summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-10-15 11:37:03 +0100
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2015-10-15 11:49:07 +0000
commitdb704b404bfa32aacd1bf0b8101e13eafd7b8b6b (patch)
tree1c5e3ed5579756caf2ce7ae4a16179e9b7059783
parentb16be656efc4bc379f3a4d2c95d188faac596783 (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>
-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));