summaryrefslogtreecommitdiff
path: root/vcl/osx/salframeview.mm
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-23 14:10:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-27 05:16:59 +0000
commit1ac18c60bb280855cfcc8d92886709cd6db35118 (patch)
tree0f81560261212c485a7f4ab6b5844a6e1f5c7aaa /vcl/osx/salframeview.mm
parent3f22898c157995eecf5dbd610591d378820cf992 (diff)
loplugin:singlevalfields in vcl(part2)
Change-Id: I4782c6f6d3d090ba0f9e29af8afdd7d88aa2d382 Reviewed-on: https://gerrit.libreoffice.org/26598 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/osx/salframeview.mm')
-rw-r--r--vcl/osx/salframeview.mm6
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index 3dded2500f74..b833e45a5113 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -1072,12 +1072,10 @@ private:
else
{
SalExtTextInputEvent aEvent;
- aEvent.mnTime = mpFrame->mnLastEventTime;
aEvent.maText = aInsertString;
aEvent.mpTextAttr = nullptr;
aEvent.mnCursorPos = aInsertString.getLength();
aEvent.mnCursorFlags = 0;
- aEvent.mbOnlyCursor = FALSE;
mpFrame->CallCallback( SalEvent::ExtTextInput, &aEvent );
if( AquaSalFrame::isAlive( mpFrame ) )
mpFrame->CallCallback( SalEvent::EndExtTextInput, nullptr );
@@ -1086,12 +1084,10 @@ private:
else
{
SalExtTextInputEvent aEvent;
- aEvent.mnTime = mpFrame->mnLastEventTime;
aEvent.maText.clear();
aEvent.mpTextAttr = nullptr;
aEvent.mnCursorPos = 0;
aEvent.mnCursorFlags = 0;
- aEvent.mbOnlyCursor = FALSE;
mpFrame->CallCallback( SalEvent::ExtTextInput, &aEvent );
if( AquaSalFrame::isAlive( mpFrame ) )
mpFrame->CallCallback( SalEvent::EndExtTextInput, nullptr );
@@ -1605,8 +1601,6 @@ private:
int len = [aString length];
SalExtTextInputEvent aInputEvent;
- aInputEvent.mnTime = mpFrame->mnLastEventTime;
- aInputEvent.mbOnlyCursor = FALSE;
if( len > 0 ) {
NSString *pString = [aString string];
OUString aInsertString( GetOUString( pString ) );