[Libreoffice-commits] core.git: sc/source

Michael Meeks michael.meeks at collabora.com
Thu Oct 15 03:44:15 PDT 2015


 sc/source/ui/view/viewfun4.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e5155848e41dfa528b91f068358e0b613b713979
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu Oct 15 11:37:03 2015 +0100

    tdf#93044 - fix silly calc copy/paste lifecycle issue.
    
    Change-Id: Ic3d26f45251ff27bacd572f0cb7a7aadf091e808

diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx
index 31c17f9..e897053 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));
 


More information about the Libreoffice-commits mailing list