diff options
Diffstat (limited to 'sc/workben')
-rw-r--r-- | sc/workben/result.cxx | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/sc/workben/result.cxx b/sc/workben/result.cxx index 2909a227fed1..525844895322 100644 --- a/sc/workben/result.cxx +++ b/sc/workben/result.cxx @@ -40,8 +40,6 @@ using namespace com::sun::star; SV_IMPL_PTRARR( XResultListenerArr_Impl, XResultListenerPtr ); -//SMART_UNO_IMPLEMENTATION( ScAddInResult, UsrObject ); - //------------------------------------------------------------------------ ScAddInResult::ScAddInResult(const String& rStr) : @@ -58,16 +56,11 @@ void ScAddInResult::NewValue() ++nTickCount; uno::Any aAny; - if ( true /* nTickCount % 4 */ ) - { - String aRet = aArg; - aRet += nTickCount; - rtl::OUString aUStr = StringToOUString( aRet, CHARSET_SYSTEM ); - aAny <<= aUStr; - } - // else void + String aRet = aArg; + aRet += nTickCount; + rtl::OUString aUStr = StringToOUString( aRet, CHARSET_SYSTEM ); + aAny <<= aUStr; -// sheet::ResultEvent aEvent( (UsrObject*)this, aAny ); sheet::ResultEvent aEvent( (cppu::OWeakObject*)this, aAny ); for ( sal_uInt16 n=0; n<aListeners.Count(); n++ ) |