summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-20 21:36:29 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-21 09:03:20 +0200
commit78b2d8211112df0a5938efbc8db0f8e48ae9e2e7 (patch)
treeef848936c1f759e6734189ecde1bae317ff2e9a6 /comphelper
parentf133857cc61dba9505fc2aae23dcac2f47f4ef50 (diff)
comphelper: starbeans -> css::beans
Change-Id: Iedfc4460194f179b20d734cb7671894213c77008
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/numbers.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/comphelper/source/misc/numbers.cxx b/comphelper/source/misc/numbers.cxx
index 5dd15acc28de..6df5a155fd1c 100644
--- a/comphelper/source/misc/numbers.cxx
+++ b/comphelper/source/misc/numbers.cxx
@@ -28,10 +28,6 @@
namespace comphelper
{
-
-namespace starbeans = ::com::sun::star::beans;
-
-
sal_Int16 getNumberFormatType(const css::uno::Reference<css::util::XNumberFormats>& xFormats, sal_Int32 nKey)
{
sal_Int16 nReturn(css::util::NumberFormat::UNDEFINED);
@@ -39,7 +35,7 @@ sal_Int16 getNumberFormatType(const css::uno::Reference<css::util::XNumberFormat
{
try
{
- css::uno::Reference<starbeans::XPropertySet> xFormat(xFormats->getByKey(nKey));
+ css::uno::Reference<css::beans::XPropertySet> xFormat(xFormats->getByKey(nKey));
if (xFormat.is())
xFormat->getPropertyValue("Type") >>= nReturn;
}
@@ -68,7 +64,7 @@ css::uno::Any getNumberFormatDecimals(const css::uno::Reference<css::util::XNumb
{
try
{
- css::uno::Reference<starbeans::XPropertySet> xFormat( xFormats->getByKey(nKey));
+ css::uno::Reference<css::beans::XPropertySet> xFormat( xFormats->getByKey(nKey));
if (xFormat.is())
{
static OUString PROPERTY_DECIMALS( "Decimals" );