From f133857cc61dba9505fc2aae23dcac2f47f4ef50 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Wed, 20 Aug 2014 21:34:30 +0200 Subject: comphelper: starutil -> css::util Change-Id: If4c0d404b0f7027837dcc245b5b7d21b1f749347 --- comphelper/source/misc/numbers.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/numbers.cxx b/comphelper/source/misc/numbers.cxx index 4a2ccbe3af60..5dd15acc28de 100644 --- a/comphelper/source/misc/numbers.cxx +++ b/comphelper/source/misc/numbers.cxx @@ -32,9 +32,9 @@ namespace comphelper namespace starbeans = ::com::sun::star::beans; -sal_Int16 getNumberFormatType(const css::uno::Reference& xFormats, sal_Int32 nKey) +sal_Int16 getNumberFormatType(const css::uno::Reference& xFormats, sal_Int32 nKey) { - sal_Int16 nReturn(starutil::NumberFormat::UNDEFINED); + sal_Int16 nReturn(css::util::NumberFormat::UNDEFINED); if (xFormats.is()) { try @@ -52,17 +52,17 @@ sal_Int16 getNumberFormatType(const css::uno::Reference& xFormatter, sal_Int32 nKey) +sal_Int16 getNumberFormatType(const css::uno::Reference& xFormatter, sal_Int32 nKey) { OSL_ENSURE(xFormatter.is(), "getNumberFormatType : the formatter isn't valid !"); - css::uno::Reference xSupplier( xFormatter->getNumberFormatsSupplier()); + css::uno::Reference xSupplier( xFormatter->getNumberFormatsSupplier()); OSL_ENSURE(xSupplier.is(), "getNumberFormatType : the formatter doesn't implement a supplier !"); - css::uno::Reference xFormats( xSupplier->getNumberFormats()); + css::uno::Reference xFormats( xSupplier->getNumberFormats()); return getNumberFormatType(xFormats, nKey); } -css::uno::Any getNumberFormatDecimals(const css::uno::Reference& xFormats, sal_Int32 nKey) +css::uno::Any getNumberFormatDecimals(const css::uno::Reference& xFormats, sal_Int32 nKey) { if (xFormats.is()) { @@ -86,13 +86,13 @@ css::uno::Any getNumberFormatDecimals(const css::uno::Reference& xFormatter, + const css::uno::Reference& xFormatter, sal_Int16 nType, const css::lang::Locale& _rLocale) { - css::uno::Reference xSupplier( xFormatter.is() ? xFormatter->getNumberFormatsSupplier() : css::uno::Reference(NULL)); - css::uno::Reference xFormats( xSupplier.is() ? xSupplier->getNumberFormats() : css::uno::Reference(NULL)); - css::uno::Reference xTypes(xFormats, css::uno::UNO_QUERY); + css::uno::Reference xSupplier( xFormatter.is() ? xFormatter->getNumberFormatsSupplier() : css::uno::Reference(NULL)); + css::uno::Reference xFormats( xSupplier.is() ? xSupplier->getNumberFormats() : css::uno::Reference(NULL)); + css::uno::Reference xTypes(xFormats, css::uno::UNO_QUERY); OSL_ENSURE(xTypes.is(), "getStandardFormat : no format types !"); return xTypes.is() ? xTypes->getStandardFormat(nType, _rLocale) : 0; -- cgit /option> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2018-03-05Resolves: tdf#116188 set min version on all .ui files to 3.18Caolán McNamara
2017-07-21migrate to boost::gettextCaolán McNamara
2017-04-18remove extra entriesCaolán McNamara
2017-04-18convert filter menu to .uiCaolán McNamara