summaryrefslogtreecommitdiff
path: root/sc/workben
diff options
context:
space:
mode:
authorKorrawit Pruegsanusak <detective.conan.1412@gmail.com>2011-05-29 11:20:36 +0700
committerNoel Power <noel.power@novell.com>2011-05-30 12:03:44 +0100
commitb9376ed8d4699f2cb5cd0515ed0768de1ffccee1 (patch)
treebee084ffb02292c0434e665ea0e813c7ab6b0cc3 /sc/workben
parentb585a9809cfc6b777c0012cf36d9eddba8a14e32 (diff)
Code Cleanup
* Remove empty and bogus comments * Remove dead codes * Fix typos in comments Released under LGPLv3+/MPL
Diffstat (limited to 'sc/workben')
-rw-r--r--sc/workben/result.cxx15
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++ )