summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-01 16:36:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-01 16:36:12 +0100
commitb26292e3ccb68374e7f059a128261c1bfaeaacc4 (patch)
tree1a87febacd9d87b7e9fb9c0c5b81b482ef564440 /automation
parentb21fcd54a3f040af237672acf68373b6fd28549d (diff)
those times were sal_Int32s
Diffstat (limited to 'automation')
-rw-r--r--automation/source/server/statemnt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx
index 8b5e5f489326..bec2169e66c5 100644
--- a/automation/source/server/statemnt.cxx
+++ b/automation/source/server/statemnt.cxx
@@ -2247,7 +2247,7 @@ sal_Bool StatementCommand::Execute()
nLNr1 = Time().GetTime() + nNr1/10;
bBool1 = sal_True;
}
- if ( Time().GetTime() < long(nLNr1) ) // Aktuelle Zeit kleiner Endzeit
+ if ( Time().GetTime() < sal_Int32(nLNr1) ) // Aktuelle Zeit kleiner Endzeit
return sal_False;
break;
case RC_DisplayHid:
@@ -2457,7 +2457,7 @@ sal_Bool StatementCommand::Execute()
nLNr1 = Time().GetTime() + 100; // 100 = 1 Second
bBool2 = sal_True;
}
- if ( Time().GetTime() < long(nLNr1) ) // Aktuelle Zeit kleiner Endzeit
+ if ( Time().GetTime() < sal_Int32(nLNr1) ) // Aktuelle Zeit kleiner Endzeit
return sal_False;
else
pRet->GenReturn ( RET_Value, nMethodId, aString1);
@@ -2477,7 +2477,7 @@ sal_Bool StatementCommand::Execute()
pRet->GenReturn ( RET_Value, nMethodId, comm_UINT16(CONST_WSFinished) );
else
{
- if ( Time().GetTime() < long(nLNr1) ) // Aktuelle Zeit kleiner Endzeit
+ if ( Time().GetTime() < sal_Int32(nLNr1) ) // Aktuelle Zeit kleiner Endzeit
return sal_False;
pRet->GenReturn ( RET_Value, nMethodId, comm_UINT16(CONST_WSTimeout) );
}