diff options
Diffstat (limited to 'framework/inc/stdtypes.h')
-rw-r--r-- | framework/inc/stdtypes.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/inc/stdtypes.h b/framework/inc/stdtypes.h index f0df075b9a46..6760033cf451 100644 --- a/framework/inc/stdtypes.h +++ b/framework/inc/stdtypes.h @@ -67,14 +67,14 @@ struct KeyEventHashCode struct KeyEventEqualsFunc { - bool operator()(const css::awt::KeyEvent aKey1, - const css::awt::KeyEvent aKey2) const + bool operator()(const css::awt::KeyEvent& rKey1, + const css::awt::KeyEvent& rKey2) const { return ( - (aKey1.KeyCode == aKey2.KeyCode ) && - //(aKey1.KeyChar == aKey2.KeyChar ) && - //(aKey1.KeyFunc == aKey2.KeyFunc ) && - (aKey1.Modifiers == aKey2.Modifiers) + (rKey1.KeyCode == rKey2.KeyCode ) && + //(rKey1.KeyChar == rKey2.KeyChar ) && + //(rKey1.KeyFunc == rKey2.KeyFunc ) && + (rKey1.Modifiers == rKey2.Modifiers) ); } }; |