summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-28 12:02:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-28 12:03:00 +0200
commitdf39e88fd79c95fd203531c224ee236f54e989fc (patch)
treee6777eb0bad639d42e1a14fe443dd324536ab120
parent25d850cd5b71948b35ca94ccef37653fe88d0829 (diff)
-Werror=ignored-qualifiers (GCC 8)
Change-Id: Ic660ab732fc53bfaaf161624972aa0e8fbbc82a4
-rw-r--r--sd/source/ui/dlg/dlgpage.cxx6
-rw-r--r--sd/source/ui/func/fupage.cxx2
-rw-r--r--sd/source/ui/remotecontrol/BluetoothServer.cxx2
-rw-r--r--sd/source/ui/unoidl/unopool.cxx2
4 files changed, 6 insertions, 6 deletions
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 );