diff options
Diffstat (limited to 'xmloff/source/style/numehelp.cxx')
-rw-r--r-- | xmloff/source/style/numehelp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/numehelp.cxx b/xmloff/source/style/numehelp.cxx index 5bc0c5fe9a6b..21e778f16775 100644 --- a/xmloff/source/style/numehelp.cxx +++ b/xmloff/source/style/numehelp.cxx @@ -42,7 +42,7 @@ using namespace xmloff::token; #define XML_STANDARDFORMAT "StandardFormat" XMLNumberFormatAttributesExportHelper::XMLNumberFormatAttributesExportHelper( - css::uno::Reference< css::util::XNumberFormatsSupplier >& xTempNumberFormatsSupplier) + css::uno::Reference< css::util::XNumberFormatsSupplier > const & xTempNumberFormatsSupplier) : xNumberFormats(xTempNumberFormatsSupplier.is() ? xTempNumberFormatsSupplier->getNumberFormats() : css::uno::Reference< css::util::XNumberFormats > ()), pExport(nullptr), sStandardFormat(XML_STANDARDFORMAT), @@ -54,7 +54,7 @@ XMLNumberFormatAttributesExportHelper::XMLNumberFormatAttributesExportHelper( } XMLNumberFormatAttributesExportHelper::XMLNumberFormatAttributesExportHelper( - css::uno::Reference< css::util::XNumberFormatsSupplier >& xTempNumberFormatsSupplier, + css::uno::Reference< css::util::XNumberFormatsSupplier > const & xTempNumberFormatsSupplier, SvXMLExport& rTempExport ) : xNumberFormats(xTempNumberFormatsSupplier.is() ? xTempNumberFormatsSupplier->getNumberFormats() : css::uno::Reference< css::util::XNumberFormats > ()), pExport(&rTempExport), |