summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-07-06 11:07:12 +0000
committerOliver Bolte <obo@openoffice.org>2004-07-06 11:07:12 +0000
commit4620a65b736abbce4966bdd4d9106befad04c729 (patch)
treeb2b678c14592c03d5b7e156f94eb5e795b098a0c /automation
parent5b978ee98350120eb2366d9b2ad5b4df4bb51af4 (diff)
INTEGRATION: CWS docking1 (1.2.86); FILE MERGED
2004/06/15 15:01:40 gh 1.2.86.1: #i29531#add support for string ids to acces UI elements. Needed for new ToolBoxes
Diffstat (limited to 'automation')
-rw-r--r--automation/source/testtool/cmdstrm.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/automation/source/testtool/cmdstrm.cxx b/automation/source/testtool/cmdstrm.cxx
index 3ee1b1734acb..a180ff7a3f66 100644
--- a/automation/source/testtool/cmdstrm.cxx
+++ b/automation/source/testtool/cmdstrm.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cmdstrm.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2003-03-18 16:03:48 $
+ * last change: $Author: obo $ $Date: 2004-07-06 12:07:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -125,11 +125,11 @@ String CmdStream::WandleKeyEventString( String aKeys )
{
Token = Work.GetToken(0,' ');
Work.Erase(0,Token.Len()+1);
- ControlDef WhatName(Token,0);
+ ControlDef WhatName(Token,SmartId());
USHORT nElement;
if (pKeyCodes->Seek_Entry(&WhatName,&nElement))
{
- USHORT nCode = (USHORT) pKeyCodes->GetObject(nElement)->pData->aUId.GetULONG();
+ USHORT nCode = (USHORT) pKeyCodes->GetObject(nElement)->pData->aUId.GetNum();
if ( nCode >= KEY_SHIFT )
nModify ^= nCode;
else