diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-23 11:20:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-23 14:11:39 +0300 |
commit | 827c46e7d75000cb03b0ce21759f9d0825f0c096 (patch) | |
tree | 3a84ccc45d54607c61328b18f58f914c1d6ec240 /sw/source/uibase/inc/shdwcrsr.hxx | |
parent | 7cbbefae224ab85343accb42b03f9431ec693a83 (diff) |
fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.
Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
Diffstat (limited to 'sw/source/uibase/inc/shdwcrsr.hxx')
-rw-r--r-- | sw/source/uibase/inc/shdwcrsr.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/shdwcrsr.hxx b/sw/source/uibase/inc/shdwcrsr.hxx index e5c6478f9215..631fde3d7f5b 100644 --- a/sw/source/uibase/inc/shdwcrsr.hxx +++ b/sw/source/uibase/inc/shdwcrsr.hxx @@ -23,11 +23,11 @@ #include <tools/color.hxx> #include <limits.h> -class Window; +namespace vcl { class Window; } class SwShadowCursor { - Window* pWin; + vcl::Window* pWin; Color aCol; Point aOldPt; long nOldHeight; @@ -37,7 +37,7 @@ class SwShadowCursor void DrawCrsr( const Point& rPt, long nHeight, sal_uInt16 nMode ); public: - SwShadowCursor( Window& rWin, const Color& rCol ) + SwShadowCursor( vcl::Window& rWin, const Color& rCol ) : pWin( &rWin ), aCol( rCol ), nOldHeight(0), nOldMode( USHRT_MAX ) {} ~SwShadowCursor(); |