summaryrefslogtreecommitdiff
path: root/vcl/unx/source/app
diff options
context:
space:
mode:
authorChristof Pintaske <cp@openoffice.org>2002-01-10 15:12:59 +0000
committerChristof Pintaske <cp@openoffice.org>2002-01-10 15:12:59 +0000
commit83650fecbe0fefcb5655c46ab952fe29d4fae8f4 (patch)
treeb79af99ef465abff47b045812645b658944f5653 /vcl/unx/source/app
parentae0cc593f9241154817b1cf4b4dcb2b1a5af1136 (diff)
#96297# end the applications preedit mode the rude way
Diffstat (limited to 'vcl/unx/source/app')
-rw-r--r--vcl/unx/source/app/i18n_ic.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/unx/source/app/i18n_ic.cxx b/vcl/unx/source/app/i18n_ic.cxx
index 6d7d1994c505..67631f3cc624 100644
--- a/vcl/unx/source/app/i18n_ic.cxx
+++ b/vcl/unx/source/app/i18n_ic.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: i18n_ic.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: svesik $ $Date: 2002-01-02 13:12:20 $
+ * last change: $Author: cp $ $Date: 2002-01-10 16:12:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -810,6 +810,8 @@ SalI18N_InputContext::EndExtTextInput( USHORT nFlags )
#endif
char *pPendingChars = XmbResetIC( maContext );
+ if (pPendingChars == NULL && CallDoneAfterResetIC() )
+ PreeditDoneCallback (maContext, (char*)&maClientData, NULL);
#if XlibSpecificationRelease >= 6
preedit_attr = XVaCreateNestedList(0,