summaryrefslogtreecommitdiff
path: root/automation/source
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-06-17 10:39:30 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-06-17 10:39:30 +0000
commitdca0d1b671c17f938fe895acf3a734b88c1248fe (patch)
tree602e58ad7abc4714ea9d7df5294f692c0f9bc0cd /automation/source
parent4f810d3fa4cba3092c135666dea8d4b3c266d315 (diff)
INTEGRATION: CWS gh6 (1.4.16); FILE MERGED
2004/05/24 11:51:32 gh 1.4.16.2: #i29440# 2004/03/05 09:46:58 gh 1.4.16.1: fix compiler warnings
Diffstat (limited to 'automation/source')
-rw-r--r--automation/source/server/server.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/automation/source/server/server.cxx b/automation/source/server/server.cxx
index 48ce603e10fb..666dbe35d220 100644
--- a/automation/source/server/server.cxx
+++ b/automation/source/server/server.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: server.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: vg $ $Date: 2004-01-06 17:08:07 $
+ * last change: $Author: rt $ $Date: 2004-06-17 11:39:29 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -229,11 +229,11 @@ IMPL_LINK( RemoteControlCommunicationManager, SetWinCaption, Timer*, pTimer_ )
pTimer = NULL;
}
- if ( StatementList::GetFirstDocWin() )
+ if ( StatementList::GetFirstDocFrame() )
{
if ( !aOriginalWinCaption.Len() )
- aOriginalWinCaption = StatementList::GetFirstDocWin()->GetText();
- StatementList::GetFirstDocWin()->SetText(String(aOriginalWinCaption).AppendAscii(" TT").Append(aAdditionalWinCaption).AppendAscii("[").Append(UniString::CreateFromInt32(nPortToListen)).AppendAscii("]"));
+ aOriginalWinCaption = StatementList::GetFirstDocFrame()->GetText();
+ StatementList::GetFirstDocFrame()->SetText(String(aOriginalWinCaption).AppendAscii(" TT").Append(aAdditionalWinCaption).AppendAscii("[").Append(UniString::CreateFromInt32(nPortToListen)).AppendAscii("]"));
}
else
{ // Dann Probieren wir es eben in 1 Sekunde nochmal
@@ -317,7 +317,7 @@ ULONG RemoteControlCommunicationManager::GetPort()
if ( !bAutomate || aConf.ReadKey( aNoTesttoolKey, "" ) != "" )
nPortIs = 0;
- nComm = aConf.ReadKey("Comm","0").ToInt32();
+ nComm = (USHORT)aConf.ReadKey("Comm","0").ToInt32();
if ( nComm )
aConf.DeleteKey("Comm");
@@ -400,7 +400,7 @@ void ExtraIdle::Timeout()
{
case 0:
{
- SfxPoolItem *pItem = new SfxStringItem(StatementList::pTTProperties->nSidNewDocDirect, CUniString("swriter/web") );
+ SfxPoolItem *pItem = new SfxStringItem((USHORT)StatementList::pTTProperties->nSidNewDocDirect, CUniString("swriter/web") );
new StatementSlot( StatementList::pTTProperties->nSidNewDocDirect, pItem );
SetTimeout(30000);
return;
@@ -581,12 +581,12 @@ void ExtraIdle::Timeout()
if ( ( nIndex & 3 ) == 0 )
{
cRest = aData.GetChar( nIndex );
- cRest = aTr.Search( cRest );
+ cRest = aTr.Search( (sal_Char)cRest );
}
else
{
c = aData.GetChar( nIndex );
- c = aTr.Search( c );
+ c = aTr.Search( (sal_Char)c );
c <<= 2;
c |= ( ( cRest & 0x30 ) >> 4 );