summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vcl/keycod.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/vcl/keycod.hxx b/include/vcl/keycod.hxx
index 7e7ece3d8d08..a1da5d90d20d 100644
--- a/include/vcl/keycod.hxx
+++ b/include/vcl/keycod.hxx
@@ -79,15 +79,12 @@ public:
inline vcl::KeyCode::KeyCode( sal_uInt16 nKey, sal_uInt16 nModifier )
{
- assert(nKey <= KEY_CODE);
- assert(nModifier == 0 || (nModifier >= 0x1000 && nModifier <= 0xf000));
nKeyCodeAndModifiers = nKey | nModifier;
eFunc = KeyFuncType::DONTKNOW;
}
inline vcl::KeyCode::KeyCode( sal_uInt16 nKey, bool bShift, bool bMod1, bool bMod2, bool bMod3 )
{
- assert(nKey <= KEY_CODE);
nKeyCodeAndModifiers = nKey;
if( bShift )
nKeyCodeAndModifiers |= KEY_SHIFT;