From 681c6b470a84b7fdd0aa91c23233ecb39ce2d37b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 6 Mar 2012 09:41:40 +0000 Subject: improve debugging message --- vcl/unx/gtk/window/gtkframe.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx index 1cd1bd0f53b4..24336cec98a0 100644 --- a/vcl/unx/gtk/window/gtkframe.cxx +++ b/vcl/unx/gtk/window/gtkframe.cxx @@ -3987,7 +3987,9 @@ void GtkSalFrame::IMHandler::signalIMPreeditChanged( GtkIMContext*, gpointer im_ for (int i = start; i < end; ++i) { SAL_WARN_IF(i >= static_cast(pThis->m_aInputFlags.size()), - "vcl.gtk", "pango attrib out of range?"); + "vcl.gtk", "pango attrib out of range. Broken range: " + << start << "," << end << " Legal range: 0," + << pThis->m_aInputFlags.size()); if (i >= static_cast(pThis->m_aInputFlags.size())) continue; pThis->m_aInputFlags[i] |= sal_attr; -- cgit