summaryrefslogtreecommitdiff
path: root/vcl/osx/salframeview.mm
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/salframeview.mm')
-rw-r--r--vcl/osx/salframeview.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index 8f411f728390..aca5e8dc4a4d 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -1088,7 +1088,7 @@ private:
{
SalExtTextInputEvent aEvent;
aEvent.mnTime = mpFrame->mnLastEventTime;
- aEvent.maText = OUString();
+ aEvent.maText.clear();
aEvent.mpTextAttr = NULL;
aEvent.mnCursorPos = 0;
aEvent.mnCursorFlags = 0;
@@ -1641,7 +1641,7 @@ private:
aInputEvent.mpTextAttr = &aInputFlags[0];
mpFrame->CallCallback( SALEVENT_EXTTEXTINPUT, (void *)&aInputEvent );
} else {
- aInputEvent.maText = OUString();
+ aInputEvent.maText.clear();
aInputEvent.mnCursorPos = 0;
aInputEvent.mnCursorFlags = 0;
aInputEvent.mpTextAttr = 0;