summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-20 21:34:30 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-21 09:03:20 +0200
commitf133857cc61dba9505fc2aae23dcac2f47f4ef50 (patch)
tree86e38fe77ca1dca56568bb8a79cc38e455b67d0e /comphelper
parent32093237b3f41eca976a5018a7c8ef56e3f5fb3a (diff)
comphelper: starutil -> css::util
Change-Id: If4c0d404b0f7027837dcc245b5b7d21b1f749347
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/numbers.cxx20
1 files changed, 10 insertions, 10 deletions
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<starutil::XNumberFormats>& xFormats, sal_Int32 nKey)
+sal_Int16 getNumberFormatType(const css::uno::Reference<css::util::XNumberFormats>& 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<starutil::XNumberFormats
}
-sal_Int16 getNumberFormatType(const css::uno::Reference<starutil::XNumberFormatter>& xFormatter, sal_Int32 nKey)
+sal_Int16 getNumberFormatType(const css::uno::Reference<css::util::XNumberFormatter>& xFormatter, sal_Int32 nKey)
{
OSL_ENSURE(xFormatter.is(), "getNumberFormatType : the formatter isn't valid !");
- css::uno::Reference<starutil::XNumberFormatsSupplier> xSupplier( xFormatter->getNumberFormatsSupplier());
+ css::uno::Reference<css::util::XNumberFormatsSupplier> xSupplier( xFormatter->getNumberFormatsSupplier());
OSL_ENSURE(xSupplier.is(), "getNumberFormatType : the formatter doesn't implement a supplier !");
- css::uno::Reference<starutil::XNumberFormats> xFormats( xSupplier->getNumberFormats());
+ css::uno::Reference<css::util::XNumberFormats> xFormats( xSupplier->getNumberFormats());
return getNumberFormatType(xFormats, nKey);
}
-css::uno::Any getNumberFormatDecimals(const css::uno::Reference<starutil::XNumberFormats>& xFormats, sal_Int32 nKey)
+css::uno::Any getNumberFormatDecimals(const css::uno::Reference<css::util::XNumberFormats>& xFormats, sal_Int32 nKey)
{
if (xFormats.is())
{
@@ -86,13 +86,13 @@ css::uno::Any getNumberFormatDecimals(const css::uno::Reference<starutil::XNumbe
sal_Int32 getStandardFormat(
- const css::uno::Reference<starutil::XNumberFormatter>& xFormatter,
+ const css::uno::Reference<css::util::XNumberFormatter>& xFormatter,
sal_Int16 nType,
const css::lang::Locale& _rLocale)
{
- css::uno::Reference<starutil::XNumberFormatsSupplier> xSupplier( xFormatter.is() ? xFormatter->getNumberFormatsSupplier() : css::uno::Reference<starutil::XNumberFormatsSupplier>(NULL));
- css::uno::Reference<starutil::XNumberFormats> xFormats( xSupplier.is() ? xSupplier->getNumberFormats() : css::uno::Reference<starutil::XNumberFormats>(NULL));
- css::uno::Reference<starutil::XNumberFormatTypes> xTypes(xFormats, css::uno::UNO_QUERY);
+ css::uno::Reference<css::util::XNumberFormatsSupplier> xSupplier( xFormatter.is() ? xFormatter->getNumberFormatsSupplier() : css::uno::Reference<css::util::XNumberFormatsSupplier>(NULL));
+ css::uno::Reference<css::util::XNumberFormats> xFormats( xSupplier.is() ? xSupplier->getNumberFormats() : css::uno::Reference<css::util::XNumberFormats>(NULL));
+ css::uno::Reference<css::util::XNumberFormatTypes> xTypes(xFormats, css::uno::UNO_QUERY);
OSL_ENSURE(xTypes.is(), "getStandardFormat : no format types !");
return xTypes.is() ? xTypes->getStandardFormat(nType, _rLocale) : 0;