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

Stephan Bergmann sbergman at redhat.com
Wed Jun 28 08:12:15 UTC 2017


 sfx2/source/doc/sfxbasemodel.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 10613d46cbad88a55e511b8739cd1158fea0c785
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 28 10:11:51 2017 +0200

    -Werror=ignored-qualifiers (GCC 8)
    
    Change-Id: Ie5d3358bc81ec15a56ecbceb605f066753b8d472

diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 2c90f8280363..faba052f4ec2 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -1999,7 +1999,7 @@ Any SAL_CALL SfxBaseModel::getTransferData( const datatransfer::DataFlavor& aFla
 
                 if (xMetaFile)
                 {
-                    aAny <<= reinterpret_cast< const sal_uInt64 >(
+                    aAny <<= reinterpret_cast< sal_uInt64 >(
                         GraphicHelper::getEnhMetaFileFromGDI_Impl( xMetaFile.get() ) );
                 }
             }
@@ -2038,7 +2038,7 @@ Any SAL_CALL SfxBaseModel::getTransferData( const datatransfer::DataFlavor& aFla
                 if (xMetaFile)
                 {
                     Size aMetaSize = xMetaFile->GetPrefSize();
-                    aAny <<= reinterpret_cast< const sal_uInt64 >(
+                    aAny <<= reinterpret_cast< sal_uInt64 >(
                         GraphicHelper::getWinMetaFileFromGDI_Impl(
                             xMetaFile.get(), aMetaSize ) );
                 }


More information about the Libreoffice-commits mailing list