summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/datauno.cxx
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/source/ui/unoobj/datauno.cxx
parent280eed820fdd7fccb4fe6f4095b80f7ec504444c (diff)
Fixes
Change-Id: Iaecba29cb5958787ec2581198943d373e37a3934
Diffstat (limited to 'sc/source/ui/unoobj/datauno.cxx')
-rw-r--r--sc/source/ui/unoobj/datauno.cxx4
1 files changed, 2 insertions, 2 deletions
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)