diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-12 20:22:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-13 09:50:10 +0000 |
commit | cd4a1e79cdb36eb63f0fad6e6657fbcb63d4008e (patch) | |
tree | 07b2216f8559d0bb8c24656f7a8b8e604d6c7469 /vcl | |
parent | 9ae3ad21422da1ed9693bdc9d14a06b15657c11f (diff) |
make mnCursorPos a sal_Int32
Change-Id: I37743b6c310acc70ceb9d08f502dcd7a96a436e4
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/salwtype.hxx | 4 | ||||
-rw-r--r-- | vcl/source/window/winproc.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/salwtype.hxx b/vcl/inc/salwtype.hxx index 770c025bab21..4828f39c42db 100644 --- a/vcl/inc/salwtype.hxx +++ b/vcl/inc/salwtype.hxx @@ -176,9 +176,9 @@ struct SalExtTextInputEvent sal_uLong mnTime; // Time in ms, when event is created OUString maText; // Text const sal_uInt16* mpTextAttr; // Text-Attribute - sal_uLong mnCursorPos; // Cursor-Position + sal_Int32 mnCursorPos; // Cursor-Position sal_uInt8 mnCursorFlags; // EXTTEXTINPUT_CURSOR_xxx - sal_Bool mbOnlyCursor; // sal_True: Only Cursor-Position has been changed + bool mbOnlyCursor; // true: Only Cursor-Position has been changed }; // EXTTEXTINPUTPOS diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index d42cb95654eb..e6d3d23b5101 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -1226,7 +1226,7 @@ static long ImplHandleKey( Window* pWindow, sal_uInt16 nSVEvent, static long ImplHandleExtTextInput( Window* pWindow, const OUString& rText, const sal_uInt16* pTextAttr, - sal_uLong nCursorPos, sal_uInt16 nCursorFlags ) + sal_Int32 nCursorPos, sal_uInt16 nCursorFlags ) { ImplSVData* pSVData = ImplGetSVData(); Window* pChild = NULL; |