[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - sd/source

Luboš Luňák l.lunak at collabora.com
Sun Apr 27 10:34:57 PDT 2014


 sd/source/ui/view/sdview3.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 5d870f0474d43d6bbcaabda6ac3912c2ae2bbe28
Author: Luboš Luňák <l.lunak at collabora.com>
Date:   Sun Apr 27 12:55:32 2014 +0200

    do not crash when pasting impress page into another impress page (cp#1000067)
    
    Put an Impress page into clipboard, create new document, click 'Click to add
    title', paste -> crash.
    Introduced by 5aee0c13cc62a81a38d4132db7972dc301c21b3d.
    
    Change-Id: Ibe61a780244ce98205e5ae3964971d7d75e30870
    (cherry picked from commit dffcd67a9a9865c9eca9756eea4e85445b50a15e)

diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx
index f0f21cf..0aecf6a 100644
--- a/sd/source/ui/view/sdview3.cxx
+++ b/sd/source/ui/view/sdview3.cxx
@@ -360,6 +360,7 @@ sal_Bool View::InsertData( const TransferableDataHelper& rDataHelper,
         if( pOwnData->GetDocShell() && pOwnData->IsPageTransferable() && ISA( View ) )
         {
             mpClipboard->HandlePageDrop (*pOwnData);
+            bReturn = true;
         }
         else if( pSourceView )
         {
@@ -1346,6 +1347,7 @@ sal_Bool View::InsertData( const TransferableDataHelper& rDataHelper,
                 // add text color
                 pPickObj->SetMergedItemSetAndBroadcast( aSet );
             }
+            bReturn = true;
         }
     }
 


More information about the Libreoffice-commits mailing list