summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--automation/source/server/retstrm.cxx2
-rw-r--r--automation/source/server/sta_list.cxx2
-rw-r--r--automation/source/server/statemnt.cxx1
-rw-r--r--automation/source/testtool/objtest.cxx4
4 files changed, 9 insertions, 0 deletions
diff --git a/automation/source/server/retstrm.cxx b/automation/source/server/retstrm.cxx
index 36c783fe7fbd..43776af565e5 100644
--- a/automation/source/server/retstrm.cxx
+++ b/automation/source/server/retstrm.cxx
@@ -105,6 +105,8 @@ void RetStream::Write( rtl::OString* pId )
}
else
Write( static_cast<comm_ULONG>(pId->GetNum()) ); ////GetNum() ULONG != comm_ULONG on 64bit
+ #else
+ (void)pId;
#endif
}
diff --git a/automation/source/server/sta_list.cxx b/automation/source/server/sta_list.cxx
index f87746eb7988..258ca8e751fa 100644
--- a/automation/source/server/sta_list.cxx
+++ b/automation/source/server/sta_list.cxx
@@ -454,6 +454,8 @@ BOOL SearchUID::IsWinOK( Window *pWin )
return FALSE;
}
else
+ #else
+ (void)pWin;
#endif
return FALSE;
}
diff --git a/automation/source/server/statemnt.cxx b/automation/source/server/statemnt.cxx
index f4a2ed5ddd4b..98d9bd31d0e0 100644
--- a/automation/source/server/statemnt.cxx
+++ b/automation/source/server/statemnt.cxx
@@ -327,6 +327,7 @@ static short ImpGetRType( Window *pWin, rtl::OString aUId )
}
#else
short nRT = 0;
+ (void)aUId;
#endif
#ifdef DBG_UTIL
diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx
index 779cf32648b2..34840cd3e16b 100644
--- a/automation/source/testtool/objtest.cxx
+++ b/automation/source/testtool/objtest.cxx
@@ -240,6 +240,8 @@ void ControlDef::Write( SvStream &aStream )
if ( pSons )
for ( USHORT i = 0 ; pSons->Count() > i ; i++ )
((ControlDef*)(*pSons)[i])->Write(aStream);
+ #else
+ (void)aStream;
#endif
}
@@ -4092,6 +4094,7 @@ String TestToolObj::GetMethodName( ULONG nMethodId )
return Controls::pClasses->GetObject(nElement)->pData->Kurzname;
#else
(void)nElement;
+ (void)nMethodId;
#endif
}
return String();
@@ -4111,6 +4114,7 @@ String TestToolObj::GetKeyName( USHORT nKeyCode )
return CmdStream::pKeyCodes->GetObject(nElement)->pData->Kurzname;
#else
(void)nElement;
+ (void)nKeyCode;
#endif
}
return CUniString( "UnknownKeyCode" );