summaryrefslogtreecommitdiff
path: root/sc/workben/result.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-03-10 16:55:21 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-03-10 20:21:13 -0500
commit12343c15568dcc2c9209d8ca41fda2263122448f (patch)
tree3212a89c6cd8ea2e0aee7103aa9669bbb8a6f307 /sc/workben/result.cxx
parent99745dbcbb25b61437914c9782475d0b67a4b0bd (diff)
parentce6308e4fad2281241bf4ca78280eba29f744d43 (diff)
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
Diffstat (limited to 'sc/workben/result.cxx')
-rw-r--r--sc/workben/result.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/workben/result.cxx b/sc/workben/result.cxx
index 9ef0a54dfb64..c74118ac4882 100644
--- a/sc/workben/result.cxx
+++ b/sc/workben/result.cxx
@@ -59,7 +59,7 @@ void ScAddInResult::NewValue()
++nTickCount;
uno::Any aAny;
- if ( TRUE /* nTickCount % 4 */ )
+ if ( true /* nTickCount % 4 */ )
{
String aRet = aArg;
aRet += nTickCount;
@@ -71,7 +71,7 @@ void ScAddInResult::NewValue()
// sheet::ResultEvent aEvent( (UsrObject*)this, aAny );
sheet::ResultEvent aEvent( (cppu::OWeakObject*)this, aAny );
- for ( USHORT n=0; n<aListeners.Count(); n++ )
+ for ( sal_uInt16 n=0; n<aListeners.Count(); n++ )
(*aListeners[n])->modified( aEvent );
}
@@ -106,8 +106,8 @@ void SAL_CALL ScAddInResult::removeResultListener( const ::com::sun::star::uno::
{
acquire();
- USHORT nCount = aListeners.Count();
- for ( USHORT n=nCount; n--; )
+ sal_uInt16 nCount = aListeners.Count();
+ for ( sal_uInt16 n=nCount; n--; )
{
uno::Reference<sheet::XResultListener> *pObj = aListeners[n];
if ( *pObj == aListener )