summaryrefslogtreecommitdiff
path: root/vcl/source/window/cursor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/cursor.cxx')
-rw-r--r--vcl/source/window/cursor.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/cursor.cxx b/vcl/source/window/cursor.cxx
index e80ba8d42b52..18773be22698 100644
--- a/vcl/source/window/cursor.cxx
+++ b/vcl/source/window/cursor.cxx
@@ -36,7 +36,7 @@ struct ImplCursorData
Point maPixPos; // Pixel-Position
Point maPixRotOff; // Pixel-Offset-Position
Size maPixSize; // Pixel-Size
- short mnOrientation; // Pixel-Orientation
+ Degree10 mnOrientation; // Pixel-Orientation
CursorDirection mnDirection; // indicates writing direction
sal_uInt16 mnStyle; // Cursor-Style
bool mbCurVisible; // Is cursor currently visible
@@ -332,7 +332,7 @@ vcl::Cursor::Cursor()
{
mpData = nullptr;
mpWindow = nullptr;
- mnOrientation = 0;
+ mnOrientation = Degree10(0);
mnDirection = CursorDirection::NONE;
mnStyle = 0;
mbVisible = false;
@@ -419,7 +419,7 @@ void vcl::Cursor::SetWidth( tools::Long nNewWidth )
}
}
-void vcl::Cursor::SetOrientation( short nNewOrientation )
+void vcl::Cursor::SetOrientation( Degree10 nNewOrientation )
{
if ( mnOrientation != nNewOrientation )
{