summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-06 12:18:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-06 16:35:46 +0000
commit92204f06b53846cd60055df1757a0b20cbe5eb6e (patch)
tree674872cffda319c185740ced9f8abde362ca46ec /include
parentcoverity#708336 Uninitialized scalar field (diff)
downloadcore-92204f06b53846cd60055df1757a0b20cbe5eb6e.tar.gz
core-92204f06b53846cd60055df1757a0b20cbe5eb6e.zip
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')
-rw-r--r--include/vcl/cursor.hxx2
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; }