summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-12 20:22:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-13 09:50:10 +0000
commitcd4a1e79cdb36eb63f0fad6e6657fbcb63d4008e (patch)
tree07b2216f8559d0bb8c24656f7a8b8e604d6c7469
parent9ae3ad21422da1ed9693bdc9d14a06b15657c11f (diff)
make mnCursorPos a sal_Int32
Change-Id: I37743b6c310acc70ceb9d08f502dcd7a96a436e4
-rw-r--r--vcl/inc/salwtype.hxx4
-rw-r--r--vcl/source/window/winproc.cxx2
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;