summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-17 00:35:25 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-17 00:35:25 +0200
commit42af6f983164dcaf87d4a05e36ab8bbfbdd49eea (patch)
treecba4b099af22988c472cbc413ed4ecbba8a51ac4 /sc
parent280eed820fdd7fccb4fe6f4095b80f7ec504444c (diff)
Fixes
Change-Id: Iaecba29cb5958787ec2581198943d373e37a3934
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/chartuno.cxx2
-rw-r--r--sc/source/ui/unoobj/confuno.cxx2
-rw-r--r--sc/source/ui/unoobj/datauno.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/chartuno.cxx b/sc/source/ui/unoobj/chartuno.cxx
index 23e31cd8bf75..c94e4d9f5507 100644
--- a/sc/source/ui/unoobj/chartuno.cxx
+++ b/sc/source/ui/unoobj/chartuno.cxx
@@ -365,7 +365,7 @@ uno::Any SAL_CALL ScChartsObj::getByIndex( sal_Int32 nIndex )
uno::Type SAL_CALL ScChartsObj::getElementType() throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- return cppu::UnoType<util::DateTime>::get();
+ return cppu::UnoType<table::XTableChart>::get();
}
sal_Bool SAL_CALL ScChartsObj::hasElements() throw(uno::RuntimeException, std::exception)
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx
index 9099f91eaae7..58f8b891c614 100644
--- a/sc/source/ui/unoobj/confuno.cxx
+++ b/sc/source/ui/unoobj/confuno.cxx
@@ -65,7 +65,7 @@ static const SfxItemPropertyMapEntry* lcl_GetConfigPropertyMap()
{OUString(SC_UNO_PRINTERNAME), 0, cppu::UnoType<OUString>::get(), 0, 0},
{OUString(SC_UNO_PRINTERSETUP), 0, getCppuType((uno::Sequence<sal_Int8>*)0), 0, 0},
{OUString(SC_UNO_APPLYDOCINF), 0, getBooleanCppuType(), 0, 0},
- {OUString(SC_UNO_FORBIDDEN), 0, cppu::UnoType<util::DateTime>::get(), beans::PropertyAttribute::READONLY, 0},
+ {OUString(SC_UNO_FORBIDDEN), 0, cppu::UnoType<i18n::XForbiddenCharacters>::get(), beans::PropertyAttribute::READONLY, 0},
{OUString(SC_UNO_CHARCOMP), 0, cppu::UnoType<sal_Int16>::get(), 0, 0},
{OUString(SC_UNO_ASIANKERN), 0, getBooleanCppuType(), 0, 0},
{OUString(SCSAVEVERSION), 0, getBooleanCppuType(), 0, 0},
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index b8d6bb282e35..fd160cfb811d 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -669,7 +669,7 @@ uno::Any SAL_CALL ScSubTotalDescriptorBase::getByIndex( sal_Int32 nIndex )
uno::Type SAL_CALL ScSubTotalDescriptorBase::getElementType() throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- return cppu::UnoType<util::DateTime>::get();
+ return cppu::UnoType<sheet::XSubTotalField>::get();
}
sal_Bool SAL_CALL ScSubTotalDescriptorBase::hasElements() throw(uno::RuntimeException, std::exception)
@@ -2332,7 +2332,7 @@ uno::Any SAL_CALL ScDatabaseRangesObj::getByIndex( sal_Int32 nIndex )
uno::Type SAL_CALL ScDatabaseRangesObj::getElementType() throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- return cppu::UnoType<util::DateTime>::get();
+ return cppu::UnoType<sheet::XDatabaseRange>::get();
}
sal_Bool SAL_CALL ScDatabaseRangesObj::hasElements() throw(uno::RuntimeException, std::exception)