summaryrefslogtreecommitdiff
path: root/vcl/source/window/accel.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-27 11:59:44 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-27 13:50:23 +0200
commit839675e7686fce1ba3c5dabab8159319c684af9b (patch)
tree0e513fd14131e591ed7a944504ce4b1b237163d9 /vcl/source/window/accel.cxx
parentc40cb8305528ce72c40dd17929e46e7edc5974d6 (diff)
GetFullKeyCode() was identical to GetFullCode()
Change-Id: Ib1b51d7eef8d7076271f612b2d674c2356037bc8
Diffstat (limited to 'vcl/source/window/accel.cxx')
-rw-r--r--vcl/source/window/accel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx
index 9b26845ef06e..261c4d01c4b4 100644
--- a/vcl/source/window/accel.cxx
+++ b/vcl/source/window/accel.cxx
@@ -170,7 +170,7 @@ void Accelerator::ImplInit()
ImplAccelEntry* Accelerator::ImplGetAccelData( const KeyCode& rKeyCode ) const
{
- ImplAccelMap::iterator it = mpData->maKeyMap.find( rKeyCode.GetFullKeyCode() );
+ ImplAccelMap::iterator it = mpData->maKeyMap.find( rKeyCode.GetFullCode() );
if( it != mpData->maKeyMap.end() )
return it->second;
else
@@ -195,7 +195,7 @@ void Accelerator::ImplCopyData( ImplAccelData& rAccelData )
else
pEntry->mpAutoAccel = NULL;
- mpData->maKeyMap.insert( std::make_pair( pEntry->maKeyCode.GetFullKeyCode(), pEntry ) );
+ mpData->maKeyMap.insert( std::make_pair( pEntry->maKeyCode.GetFullCode(), pEntry ) );
mpData->maIdList.push_back( pEntry );
}
}
@@ -256,7 +256,7 @@ void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode& rKeyCode,
pEntry->mbEnabled = bEnable;
// now into the tables
- sal_uLong nCode = rKeyCode.GetFullKeyCode();
+ sal_uLong nCode = rKeyCode.GetFullCode();
if ( !nCode )
{
OSL_FAIL( "Accelerator::InsertItem(): KeyCode with KeyCode 0 not allowed" );