diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-07-06 11:07:12 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-07-06 11:07:12 +0000 |
commit | 731541c4b264e01bbf038c96aecadcff539a4a37 (patch) | |
tree | 5c05e48c649260b20e94a25c8d98f553f4fa8768 /automation/source/testtool/cmdstrm.cxx | |
parent | 3c7704c0ed3aa3475758af8188b90ae98c15ead4 (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/source/testtool/cmdstrm.cxx')
-rw-r--r-- | automation/source/testtool/cmdstrm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/automation/source/testtool/cmdstrm.cxx b/automation/source/testtool/cmdstrm.cxx index 57bd6b592..c2aac76dc 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 |