diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-28 10:57:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-28 10:57:32 +0200 |
commit | 5f53dfc5058b76756ab18143aeb5ca695da674af (patch) | |
tree | bcba7b835f9c64b28575ccaf6fa4398f3a4e99e8 /dbaccess | |
parent | 764c3805e9fe5d9194cbaa38766e44f9993fb31b (diff) |
-Werror=ignored-qualifiers (GCC 8)
Change-Id: Ie7fa59f573791fca0530294ef5a5e0863e1285b1
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/shared/registrationhelper.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/dlg/dlgattr.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/shared/registrationhelper.cxx b/dbaccess/source/shared/registrationhelper.cxx index 490962e55ccf..26e3cc3f16dc 100644 --- a/dbaccess/source/shared/registrationhelper.cxx +++ b/dbaccess/source/shared/registrationhelper.cxx @@ -135,8 +135,8 @@ uno::Reference< uno::XInterface > OModuleRegistration::getComponentFactory( { if (pImplName->equals(_rImplementationName)) { - const FactoryInstantiation FactoryInstantiationFunction = reinterpret_cast<const FactoryInstantiation>(*pFactoryFunction); - const ComponentInstantiation ComponentInstantiationFunction = reinterpret_cast<const ComponentInstantiation>(*pComponentFunction); + const FactoryInstantiation FactoryInstantiationFunction = reinterpret_cast<FactoryInstantiation>(*pFactoryFunction); + const ComponentInstantiation ComponentInstantiationFunction = reinterpret_cast<ComponentInstantiation>(*pComponentFunction); xReturn = FactoryInstantiationFunction( _rxServiceManager, *pImplName, ComponentInstantiationFunction, *pServices, nullptr); if (xReturn.is()) diff --git a/dbaccess/source/ui/dlg/dlgattr.cxx b/dbaccess/source/ui/dlg/dlgattr.cxx index bb5ab1608474..af6113372c5b 100644 --- a/dbaccess/source/ui/dlg/dlgattr.cxx +++ b/dbaccess/source/ui/dlg/dlgattr.cxx @@ -64,7 +64,7 @@ void SbaSbAttrDlg::PageCreated( sal_uInt16 nPageId, SfxTabPage& rTabPage ) SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool())); if (nPageId == m_nNumberFormatId) { - aSet.Put (SvxNumberInfoItem( pNumberInfoItem->GetNumberFormatter(), (const sal_uInt16)SID_ATTR_NUMBERFORMAT_INFO)); + aSet.Put (SvxNumberInfoItem( pNumberInfoItem->GetNumberFormatter(), (sal_uInt16)SID_ATTR_NUMBERFORMAT_INFO)); rTabPage.PageCreated(aSet); } } |