[Libreoffice-commits] core.git: vcl/unx
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Sun May 24 16:29:42 UTC 2020
vcl/unx/generic/app/i18n_cb.cxx | 10 ----------
1 file changed, 10 deletions(-)
New commits:
commit de01c1978216373a9aa7cd01e28186d2752e6cc4
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Sun May 24 17:02:39 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sun May 24 18:28:52 2020 +0200
Remove some OSL_DEBUG_LEVEL > 1 code
...that would no longer compile since 2f5f45921b05904a4be1ff633be09c62cb44ff08
"support O(U)String::number() for fast string concatenation", anyway:
> vcl/unx/generic/app/i18n_cb.cxx:508:56: error: incompatible operand types ('const char [14]' and 'OStringNumber<int>')
> << ((call_data->type == XIMBitmapType) ?
> ^
Change-Id: Id7818ed6228ff317e1bee4efd53f15a2786689d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94758
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/vcl/unx/generic/app/i18n_cb.cxx b/vcl/unx/generic/app/i18n_cb.cxx
index 2944c85480cc..52bf3bf873fe 100644
--- a/vcl/unx/generic/app/i18n_cb.cxx
+++ b/vcl/unx/generic/app/i18n_cb.cxx
@@ -501,16 +501,6 @@ StatusDrawCallback (XIC, XPointer, XIMStatusDrawCallbackStruct *call_data)
aText = OUString( pMBString, nLength, osl_getThreadTextEncoding() );
}
}
-#if OSL_DEBUG_LEVEL > 1
- else
- {
- SAL_WARN("vcl.app", "XIMStatusDataType "
- << ((call_data->type == XIMBitmapType) ?
- "XIMBitmapType" :
- OString::number(call_data->type))
- << " not supported.");
- }
-#endif
}
// vii. destroy callbacks: internally disable all IC/IM calls
More information about the Libreoffice-commits
mailing list