diff options
Diffstat (limited to 'dbaccess/source/ui/misc')
-rw-r--r-- | dbaccess/source/ui/misc/UITools.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/UpdateHelperImpl.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index abde97068c2a..1029b77cf5e8 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -735,7 +735,7 @@ sal_Int32 mapTextAllign(const SvxCellHorJustify& _eAlignment) return nAlignment; } -SvxCellHorJustify mapTextJustify(const sal_Int32& _nAlignment) +SvxCellHorJustify mapTextJustify(sal_Int32 _nAlignment) { SvxCellHorJustify eJustify = SVX_HOR_JUSTIFY_LEFT; switch (_nAlignment) diff --git a/dbaccess/source/ui/misc/UpdateHelperImpl.hxx b/dbaccess/source/ui/misc/UpdateHelperImpl.hxx index 54f9569d38bf..4d3d8271da1c 100644 --- a/dbaccess/source/ui/misc/UpdateHelperImpl.hxx +++ b/dbaccess/source/ui/misc/UpdateHelperImpl.hxx @@ -60,7 +60,7 @@ namespace dbaui { m_xRowUpdate->updateTimestamp(_nPos, _nValue); } - virtual void updateInt(sal_Int32 _nPos,const sal_Int32& _nValue) override + virtual void updateInt(sal_Int32 _nPos, sal_Int32 _nValue) override { m_xRowUpdate->updateInt(_nPos, _nValue); } @@ -110,7 +110,7 @@ namespace dbaui { m_xParameters->setTimestamp(_nPos, _nValue); } - virtual void updateInt(sal_Int32 _nPos,const sal_Int32& _nValue) override + virtual void updateInt(sal_Int32 _nPos, sal_Int32 _nValue) override { m_xParameters->setInt(_nPos, _nValue); } |