summaryrefslogtreecommitdiff
path: root/sc/workben/result.cxx
diff options
context:
space:
mode:
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 )