summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-11 17:15:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-11 20:18:19 +0000
commitf3f6629a2ec9fc5f02d2102f2b4c6407f851208c (patch)
tree9a885cc1e3ab9d82dd6626f72169cd586c5fb169 /vcl/source
parentcea2bd4d2d4601c22b6706c3ec334c4ad8b55c2d (diff)
longparas: OldTextLen and DeltaStart are unused
Change-Id: Icfcbfece1954675cd4b8882f66726d80b7315e61
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/cmdevt.cxx6
-rw-r--r--vcl/source/window/winproc.cxx1
2 files changed, 0 insertions, 7 deletions
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 )