From 81b5124e584f1ca456038978d03a2635391a9426 Mon Sep 17 00:00:00 2001 From: Nick Bolton Date: Wed, 11 May 2011 21:12:20 +0000 Subject: [PATCH] merged 1.3 r985:986 into trunk and 1.4 --- src/test/unittests/synergy/CKeyStateTests.cpp | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/test/unittests/synergy/CKeyStateTests.cpp b/src/test/unittests/synergy/CKeyStateTests.cpp index 231d5921..bb8e9c6f 100644 --- a/src/test/unittests/synergy/CKeyStateTests.cpp +++ b/src/test/unittests/synergy/CKeyStateTests.cpp @@ -27,32 +27,29 @@ class CKeyStateImpl : public CKeyState protected: virtual SInt32 pollActiveGroup() const { - throw std::exception("The method or operation is not implemented."); + return 0; } virtual KeyModifierMask pollActiveModifiers() const { - throw std::exception("The method or operation is not implemented."); + return 0; } virtual bool fakeCtrlAltDel() { - throw std::exception("The method or operation is not implemented."); + return false; } - virtual void getKeyMap( CKeyMap& keyMap ) + virtual void getKeyMap(CKeyMap& keyMap) { - throw std::exception("The method or operation is not implemented."); } - virtual void fakeKey( const Keystroke& keystroke ) + virtual void fakeKey(const Keystroke& keystroke) { - throw std::exception("The method or operation is not implemented."); } - virtual void pollPressedKeys( KeyButtonSet& pressedKeys ) const + virtual void pollPressedKeys(KeyButtonSet& pressedKeys) const { - throw std::exception("The method or operation is not implemented."); } };