diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-17 17:38:29 +0100 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-18 12:17:31 -0500 |
commit | 0cd32bec488d80cef111ccbff8c172b35421a394 (patch) | |
tree | 84f7a83d6c44938dfacc9693769bb724fc700246 /sc/workben | |
parent | db95c38b3cd3efb924a3be2f7fe1027dbf75401f (diff) |
Remove some more dead code
Diffstat (limited to 'sc/workben')
-rw-r--r-- | sc/workben/addin.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sc/workben/addin.cxx b/sc/workben/addin.cxx index 9c724e0da871..5e8df316f79e 100644 --- a/sc/workben/addin.cxx +++ b/sc/workben/addin.cxx @@ -341,8 +341,6 @@ UString ScTestAddIn::getDisplayCategoryName(const UString& aProgrammaticFunction void ScTestAddIn::setLocale(const lang::Locale& eLocale) THROWS( (UsrSystemException) ) { aFuncLoc = eLocale; -// DBG_ERROR( UStringToString(aFuncLoc.Language, CHARSET_SYSTEM) + String("-") + -// UStringToString(aFuncLoc.Country, CHARSET_SYSTEM) ); } ::com::sun::star::lang::Locale SAL_CALL ScTestAddIn::getLocale( ) throw(::com::sun::star::uno::RuntimeException) @@ -375,14 +373,10 @@ double SAL_CALL ScTestAddIn::addOne( double fValue ) throw(::com::sun::star::uno ::rtl::OUString SAL_CALL ScTestAddIn::getDateString( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xCaller, double fValue ) throw(::com::sun::star::uno::RuntimeException) { uno::Any aDateAny = xCaller->getPropertyValue( L"NullDate" ); -//! if ( aDateAny.getReflection()->equals( *Date_getReflection() ) ) { util::Date aDate; aDateAny >>= aDate; - //const Date* pDate = (const Date*)aDateAny.get(); - //if (pDate) { - //Date aNewDate = *pDate; Date aNewDate( aDate.Day, aDate.Month, aDate.Year ); aNewDate += (long)(fValue+0.5); @@ -412,7 +406,6 @@ sal_Int32 SAL_CALL ScTestAddIn::getColorValue( const ::com::sun::star::uno::Refe if (!bIsTrans) { uno::Any aCol = xProp->getPropertyValue( L"CellBackColor" ); - //nRet = NAMESPACE_USR(OPropertyTypeConversion)::toINT32( aCol ); aCol >>= nRet; } return nRet; @@ -531,8 +524,6 @@ INT32 lcl_GetLongElement( const uno::Sequence< uno::Sequence<INT32> >& aMatrix, aInner.getArray()[2] = L"Suelz"; uno::Sequence< uno::Sequence<rtl::OUString> > aOuter( &aInner, 1 ); - //return uno::Any( &aOuter, Sequence< Sequence<UString> >::getReflection() ); - aRet <<= aOuter; return aRet; } |