From f3f6629a2ec9fc5f02d2102f2b4c6407f851208c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 11 Jan 2014 17:15:18 +0000 Subject: longparas: OldTextLen and DeltaStart are unused Change-Id: Icfcbfece1954675cd4b8882f66726d80b7315e61 --- vcl/source/window/cmdevt.cxx | 6 ------ vcl/source/window/winproc.cxx | 1 - 2 files changed, 7 deletions(-) (limited to 'vcl') diff --git a/vcl/source/window/cmdevt.cxx b/vcl/source/window/cmdevt.cxx index 15f6d06ffcb0..6326defdc137 100644 --- a/vcl/source/window/cmdevt.cxx +++ b/vcl/source/window/cmdevt.cxx @@ -26,8 +26,6 @@ CommandExtTextInputData::CommandExtTextInputData( const OUString& rText, const sal_uInt16* pTextAttr, sal_Int32 nCursorPos, sal_uInt16 nCursorFlags, - sal_Int32 nDeltaStart, - sal_Int32 nOldTextLen, sal_Bool bOnlyCursor ) : maText( rText ) { @@ -39,8 +37,6 @@ CommandExtTextInputData::CommandExtTextInputData( const OUString& rText, else mpTextAttr = NULL; mnCursorPos = nCursorPos; - mnDeltaStart = nDeltaStart; - mnOldTextLen = nOldTextLen; mnCursorFlags = nCursorFlags; mbOnlyCursor = bOnlyCursor; } @@ -58,8 +54,6 @@ CommandExtTextInputData::CommandExtTextInputData( const CommandExtTextInputData& else mpTextAttr = NULL; mnCursorPos = rData.mnCursorPos; - mnDeltaStart = rData.mnDeltaStart; - mnOldTextLen = rData.mnOldTextLen; mnCursorFlags = rData.mnCursorFlags; mbOnlyCursor = rData.mbOnlyCursor; } diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx index 83cd4d2a8d1f..d42cb95654eb 100644 --- a/vcl/source/window/winproc.cxx +++ b/vcl/source/window/winproc.cxx @@ -1301,7 +1301,6 @@ static long ImplHandleExtTextInput( Window* pWindow, // Call Event and store the information CommandExtTextInputData aData( rText, pTextAttr, nCursorPos, nCursorFlags, - nDeltaStart, pWinData->mpExtOldText->getLength(), bOnlyCursor ); *pWinData->mpExtOldText = rText; if ( pWinData->mpExtOldAttrAry ) -- cgit