Kaydet (Commit) edbf8a38 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#738938 nMouseSensitivity never used

Change-Id: I59193af4c0b4945ef9612862e57a276cc1d89ea4
üst f8776f3f
...@@ -83,8 +83,6 @@ private: ...@@ -83,8 +83,6 @@ private:
MouseEvent aLastMove; MouseEvent aLastMove;
SelectionMode eSelMode; SelectionMode eSelMode;
sal_uLong nUpdateInterval; sal_uLong nUpdateInterval;
// sensitivity of mouse moves during a selection
sal_uInt16 nMouseSensitivity;
sal_uInt16 nLockedMods; sal_uInt16 nLockedMods;
sal_uInt16 nFlags; sal_uInt16 nFlags;
DECL_DLLPRIVATE_LINK( ImpWatchDog, void* ); DECL_DLLPRIVATE_LINK( ImpWatchDog, void* );
...@@ -127,11 +125,6 @@ public: ...@@ -127,11 +125,6 @@ public:
{ pFunctionSet = pFuncs; } { pFunctionSet = pFuncs; }
const FunctionSet* GetFunctionSet() const { return pFunctionSet; } const FunctionSet* GetFunctionSet() const { return pFunctionSet; }
void SetMouseSensitivity( sal_uInt16 nSensitivity )
{ nMouseSensitivity = nSensitivity; }
sal_uInt16 GetMouseSensitivity() const
{ return nMouseSensitivity; }
const Point& GetMousePosPixel() const const Point& GetMousePosPixel() const
{ return aLastMove.GetPosPixel(); } { return aLastMove.GetPosPixel(); }
const MouseEvent& GetMouseEvent() const { return aLastMove; } const MouseEvent& GetMouseEvent() const { return aLastMove; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment