diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-17 00:41:03 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-17 00:41:03 +0200 |
commit | 53130f7afb3fcf39f95f69e3752cec1fa00d6d93 (patch) | |
tree | 0f8b0c1bca2a4950f48144a7b6bf6a03493931da | |
parent | 42af6f983164dcaf87d4a05e36ab8bbfbdd49eea (diff) |
Fixes
Change-Id: I5e2c57f4c53147ab4ae58f48059c8020de144f3c
-rw-r--r-- | sc/source/core/tool/addincol.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx index 77567d4a4707..bbc709ea1b4f 100644 --- a/sc/source/core/tool/addincol.cxx +++ b/sc/source/core/tool/addincol.cxx @@ -684,7 +684,7 @@ static bool lcl_ValidReturnType( const uno::Reference<reflection::XIdlClass>& xC OUString sName = xClass->getName(); return ( - IsTypeName( sName, cppu::UnoType<util::DateTime>::get()) || + IsTypeName( sName, cppu::UnoType<sheet::XVolatileResult>::get()) || IsTypeName( sName, cppu::UnoType<uno::XInterface>::get()) ); } @@ -734,7 +734,7 @@ static ScAddInArgumentType lcl_GetArgType( const uno::Reference<reflection::XIdl if (IsTypeName( sName, getCppuType((uno::Sequence< uno::Sequence<uno::Any> >*)0) )) return SC_ADDINARG_MIXED_ARRAY; - if (IsTypeName( sName, cppu::UnoType<util::DateTime>::get())) + if (IsTypeName( sName, cppu::UnoType<uno::Any>::get())) return SC_ADDINARG_VALUE_OR_ARRAY; if (IsTypeName( sName, cppu::UnoType<table::XCellRange>::get())) @@ -821,11 +821,11 @@ void ScUnoAddInCollection::ReadFromAddIn( const uno::Reference<uno::XInterface>& IsTypeName( sName, cppu::UnoType<uno::XInterface>::get()) || IsTypeName( sName, - cppu::UnoType<util::DateTime>::get()) || + cppu::UnoType<lang::XServiceName>::get()) || IsTypeName( sName, cppu::UnoType<lang::XServiceInfo>::get()) || IsTypeName( sName, - cppu::UnoType<util::DateTime>::get()) ); + cppu::UnoType<sheet::XAddIn>::get()) ); } if (!bSkip) { @@ -1491,10 +1491,10 @@ void ScUnoAddInCall::ExecuteCallWithArgs(uno::Sequence<uno::Any>& rCallArgs) catch(const reflection::InvocationTargetException& rWrapped) { if ( rWrapped.TargetException.getValueType().equals( - cppu::UnoType<util::DateTime>::get()) ) + cppu::UnoType<lang::IllegalArgumentException>::get()) ) nErrCode = errIllegalArgument; else if ( rWrapped.TargetException.getValueType().equals( - cppu::UnoType<util::DateTime>::get()) ) + cppu::UnoType<sheet::NoConvergenceException>::get()) ) nErrCode = errNoConvergence; else nErrCode = errNoValue; |