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

Stephan Bergmann sbergman at redhat.com
Wed Jun 28 10:03:25 UTC 2017


 sd/source/ui/dlg/dlgpage.cxx                   |    6 +++---
 sd/source/ui/func/fupage.cxx                   |    2 +-
 sd/source/ui/remotecontrol/BluetoothServer.cxx |    2 +-
 sd/source/ui/unoidl/unopool.cxx                |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit df39e88fd79c95fd203531c224ee236f54e989fc
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jun 28 12:02:36 2017 +0200

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

diff --git a/sd/source/ui/dlg/dlgpage.cxx b/sd/source/ui/dlg/dlgpage.cxx
index e23b8328b49b..f047e36d705e 100644
--- a/sd/source/ui/dlg/dlgpage.cxx
+++ b/sd/source/ui/dlg/dlgpage.cxx
@@ -76,9 +76,9 @@ void SdPageDlg::PageCreated(sal_uInt16 nId, SfxTabPage& rPage)
     SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool()));
     if (nId == mnPage)
     {
-        aSet.Put (SfxAllEnumItem((const sal_uInt16)SID_ENUM_PAGE_MODE, SVX_PAGE_MODE_PRESENTATION));
-        aSet.Put (SfxAllEnumItem((const sal_uInt16)SID_PAPER_START, PAPER_A0));
-        aSet.Put (SfxAllEnumItem((const sal_uInt16)SID_PAPER_END, PAPER_E));
+        aSet.Put (SfxAllEnumItem((sal_uInt16)SID_ENUM_PAGE_MODE, SVX_PAGE_MODE_PRESENTATION));
+        aSet.Put (SfxAllEnumItem((sal_uInt16)SID_PAPER_START, PAPER_A0));
+        aSet.Put (SfxAllEnumItem((sal_uInt16)SID_PAPER_END, PAPER_E));
         rPage.PageCreated(aSet);
     }
     else if (nId == mnArea)
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index fe040185b4e6..2cd427f0b19b 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -251,7 +251,7 @@ const SfxItemSet* FuPage::ExecuteDialog( vcl::Window* pParent )
     aNewAttr.Put( aMaxSizeItem );
 
     // paperbin
-    SvxPaperBinItem aPaperBinItem( SID_ATTR_PAGE_PAPERBIN, (const sal_uInt8)mpPage->GetPaperBin() );
+    SvxPaperBinItem aPaperBinItem( SID_ATTR_PAGE_PAPERBIN, (sal_uInt8)mpPage->GetPaperBin() );
     aNewAttr.Put( aPaperBinItem );
 
     SvxLRSpaceItem aLRSpaceItem( (sal_uInt16)mpPage->GetLftBorder(), (sal_uInt16)mpPage->GetRgtBorder(), 0, 0, mpDoc->GetPool().GetWhich(SID_ATTR_LRSPACE));
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx
index 2b01b046d381..8f829934b216 100644
--- a/sd/source/ui/remotecontrol/BluetoothServer.cxx
+++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx
@@ -331,7 +331,7 @@ bluez4GetDefaultService( DBusConnection *pConnection )
     else
     {
         SAL_INFO( "sdremote.bluetooth", "invalid type of reply to DefaultAdapter: '"
-                << (const char) dbus_message_iter_get_arg_type( &it ) << "'" );
+                << (char) dbus_message_iter_get_arg_type( &it ) << "'" );
     }
     dbus_message_unref(pMsg);
     return nullptr;
diff --git a/sd/source/ui/unoidl/unopool.cxx b/sd/source/ui/unoidl/unopool.cxx
index bc3ec20dc5fb..d4b4cb954f4a 100644
--- a/sd/source/ui/unoidl/unopool.cxx
+++ b/sd/source/ui/unoidl/unopool.cxx
@@ -71,7 +71,7 @@ void SdUnoDrawPool::putAny( SfxItemPool* pPool, const comphelper::PropertyMapEnt
             if( rValue >>= aLocale )
                 mpDrawModel->SetLanguage(
                     SdUnoGetLanguage( aLocale ),
-                    (const sal_uInt16)pEntry->mnHandle );
+                    (sal_uInt16)pEntry->mnHandle );
         }
     }
     SvxUnoDrawPool::putAny( pPool, pEntry, rValue );


More information about the Libreoffice-commits mailing list