make mnCursorPos a sal_Int32

Change-Id: I37743b6c310acc70ceb9d08f502dcd7a96a436e4
This commit is contained in:
Caolán McNamara
2014-01-12 20:22:37 +00:00
parent 9ae3ad2142
commit cd4a1e79cd
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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;