[Libreoffice-commits] core.git: sc/source

Julien Nabet serval2412 at yahoo.fr
Fri May 16 15:29:16 PDT 2014


 sc/source/ui/unoobj/linkuno.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f9ed1ec1bac799f79fcdf28ce817990e4f307bf1
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat May 17 00:28:44 2014 +0200

    Fix previous commit
    
    Change-Id: I22ded05f328aeb4479c90e79b12729eb3835b3ec

diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx
index 3fbeb9d..27cc395 100644
--- a/sc/source/ui/unoobj/linkuno.cxx
+++ b/sc/source/ui/unoobj/linkuno.cxx
@@ -1026,7 +1026,7 @@ uno::Any SAL_CALL ScAreaLinksObj::getByIndex( sal_Int32 nIndex )
 uno::Type SAL_CALL ScAreaLinksObj::getElementType() throw(uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
-    return cppu::UnoType<util::DateTime>::get();
+    return cppu::UnoType<sheet::XAreaLink>::get();
 }
 
 sal_Bool SAL_CALL ScAreaLinksObj::hasElements() throw(uno::RuntimeException, std::exception)
@@ -1333,7 +1333,7 @@ uno::Any SAL_CALL ScDDELinksObj::getByIndex( sal_Int32 nIndex )
 uno::Type SAL_CALL ScDDELinksObj::getElementType() throw(uno::RuntimeException, std::exception)
 {
     SolarMutexGuard aGuard;
-    return cppu::UnoType<util::DateTime>::get();
+    return cppu::UnoType<sheet::XDDELink>::get();
 }
 
 sal_Bool SAL_CALL ScDDELinksObj::hasElements() throw(uno::RuntimeException, std::exception)


More information about the Libreoffice-commits mailing list