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

Caolán McNamara caolanm at redhat.com
Wed Apr 29 04:42:18 PDT 2015


 sd/source/ui/app/sdxfer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f307a2c56cdc1babab43f24f8094df34dd0f99c6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 29 12:41:37 2015 +0100

    bogus Werror=maybe-uninitialized
    
    Change-Id: I01eeeeff399961e59194c592139386355515d44c

diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx
index 6bb1dac..422b18a 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -466,7 +466,7 @@ bool SdTransferable::GetData( const DataFlavor& rFlavor, const OUString& rDestDo
     }
     else if( mpOLEDataHelper && mpOLEDataHelper->HasFormat( rFlavor ) )
     {
-        SdrSwapGraphicsMode nOldSwapMode;
+        SdrSwapGraphicsMode nOldSwapMode(SdrSwapGraphicsMode::DEFAULT);
 
         if( mpSdDrawDocumentIntern )
         {


More information about the Libreoffice-commits mailing list