[Libreoffice-commits] core.git: include/svl svl/source
Stephan Bergmann
sbergman at redhat.com
Thu Sep 22 14:46:32 UTC 2016
include/svl/zforlist.hxx | 2 +-
svl/source/numbers/zforlist.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 73e4a2b25d30259f89931bc0ae43a820f66fb9ba
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Sep 22 16:44:35 2016 +0200
Missing "const"
Change-Id: Ib0cd605cf8e71e94f4442c07300726aff1d9ce03
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx
index 492ddc1..25545f7 100644
--- a/include/svl/zforlist.hxx
+++ b/include/svl/zforlist.hxx
@@ -829,7 +829,7 @@ private:
// Generate additional formats provided by i18n
SVL_DLLPRIVATE void ImpGenerateAdditionalFormats( sal_uInt32 CLOffset,
- css::uno::Reference< css::i18n::XNumberFormatCode >& rNumberFormatCode,
+ css::uno::Reference< css::i18n::XNumberFormatCode > const & rNumberFormatCode,
bool bAfterChangingSystemCL );
SVL_DLLPRIVATE SvNumberformat* ImpInsertFormat( const css::i18n::NumberFormatCode& rCode,
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 08bae7e..e3805f3 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -2661,7 +2661,7 @@ void SvNumberFormatter::ImpGenerateFormats( sal_uInt32 CLOffset, bool bNoAdditio
void SvNumberFormatter::ImpGenerateAdditionalFormats( sal_uInt32 CLOffset,
- css::uno::Reference< css::i18n::XNumberFormatCode >& rNumberFormatCode,
+ css::uno::Reference< css::i18n::XNumberFormatCode > const & rNumberFormatCode,
bool bAfterChangingSystemCL )
{
using namespace ::com::sun::star;
More information about the Libreoffice-commits
mailing list