Kaydet (Commit) dca0d1b6 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

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
üst 4f810d3f
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: server.cxx,v $ * $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 * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -229,11 +229,11 @@ IMPL_LINK( RemoteControlCommunicationManager, SetWinCaption, Timer*, pTimer_ ) ...@@ -229,11 +229,11 @@ IMPL_LINK( RemoteControlCommunicationManager, SetWinCaption, Timer*, pTimer_ )
pTimer = NULL; pTimer = NULL;
} }
if ( StatementList::GetFirstDocWin() ) if ( StatementList::GetFirstDocFrame() )
{ {
if ( !aOriginalWinCaption.Len() ) if ( !aOriginalWinCaption.Len() )
aOriginalWinCaption = StatementList::GetFirstDocWin()->GetText(); aOriginalWinCaption = StatementList::GetFirstDocFrame()->GetText();
StatementList::GetFirstDocWin()->SetText(String(aOriginalWinCaption).AppendAscii(" TT").Append(aAdditionalWinCaption).AppendAscii("[").Append(UniString::CreateFromInt32(nPortToListen)).AppendAscii("]")); StatementList::GetFirstDocFrame()->SetText(String(aOriginalWinCaption).AppendAscii(" TT").Append(aAdditionalWinCaption).AppendAscii("[").Append(UniString::CreateFromInt32(nPortToListen)).AppendAscii("]"));
} }
else else
{ // Dann Probieren wir es eben in 1 Sekunde nochmal { // Dann Probieren wir es eben in 1 Sekunde nochmal
...@@ -317,7 +317,7 @@ ULONG RemoteControlCommunicationManager::GetPort() ...@@ -317,7 +317,7 @@ ULONG RemoteControlCommunicationManager::GetPort()
if ( !bAutomate || aConf.ReadKey( aNoTesttoolKey, "" ) != "" ) if ( !bAutomate || aConf.ReadKey( aNoTesttoolKey, "" ) != "" )
nPortIs = 0; nPortIs = 0;
nComm = aConf.ReadKey("Comm","0").ToInt32(); nComm = (USHORT)aConf.ReadKey("Comm","0").ToInt32();
if ( nComm ) if ( nComm )
aConf.DeleteKey("Comm"); aConf.DeleteKey("Comm");
...@@ -400,7 +400,7 @@ void ExtraIdle::Timeout() ...@@ -400,7 +400,7 @@ void ExtraIdle::Timeout()
{ {
case 0: 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 ); new StatementSlot( StatementList::pTTProperties->nSidNewDocDirect, pItem );
SetTimeout(30000); SetTimeout(30000);
return; return;
...@@ -581,12 +581,12 @@ void ExtraIdle::Timeout() ...@@ -581,12 +581,12 @@ void ExtraIdle::Timeout()
if ( ( nIndex & 3 ) == 0 ) if ( ( nIndex & 3 ) == 0 )
{ {
cRest = aData.GetChar( nIndex ); cRest = aData.GetChar( nIndex );
cRest = aTr.Search( cRest ); cRest = aTr.Search( (sal_Char)cRest );
} }
else else
{ {
c = aData.GetChar( nIndex ); c = aData.GetChar( nIndex );
c = aTr.Search( c ); c = aTr.Search( (sal_Char)c );
c <<= 2; c <<= 2;
c |= ( ( cRest & 0x30 ) >> 4 ); c |= ( ( cRest & 0x30 ) >> 4 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment