diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 12:18:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-06 16:35:46 +0000 |
commit | 92204f06b53846cd60055df1757a0b20cbe5eb6e (patch) | |
tree | 674872cffda319c185740ced9f8abde362ca46ec /include/vcl | |
parent | 11abf53b9ddec37df333632eb06e3e28d31ffec2 (diff) |
coverity#708643 nOffsetY missing from copy ctor
its normally always 0, so shrink the code based
on that
Change-Id: Ic9a4615f0ecb0713a00e4acd73485f99fd50a859
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/cursor.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/vcl/cursor.hxx b/include/vcl/cursor.hxx index 42d741b84d14..1030406e437b 100644 --- a/include/vcl/cursor.hxx +++ b/include/vcl/cursor.hxx @@ -39,7 +39,6 @@ private: ImplCursorData* mpData; Window* mpWindow; // only for shadow cursor long mnSlant; - long mnOffsetY; // Offset for rotation Size maSize; Point maPos; short mnOrientation; @@ -74,7 +73,6 @@ public: void SetPos( const Point& rNewPos ); const Point& GetPos() const { return maPos; } - long GetOffsetY() const { return mnOffsetY; } void SetSize( const Size& rNewSize ); const Size& GetSize() const { return maSize; } |