summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-25 15:22:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-25 17:06:53 +0100
commit29cdabb8532c4da0b89a82f9d4e2bb9ee6851621 (patch)
treea8bdf569ba3c11b8986d5f42098703358d8b3817 /vcl/unx/gtk
parent0af9970da3a23f63752033128976ad9ea420f828 (diff)
drop duplicated warning
Change-Id: Ied358faaf6ba1aecae4f61ff56e639752a2de664
Diffstat (limited to 'vcl/unx/gtk')
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index d20e3c6e3836..8f5af1f8714e 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -4160,7 +4160,6 @@ static uno::Reference<accessibility::XAccessibleEditableText> lcl_GetxText(Windo
}
catch(const uno::Exception& e)
{
- g_warning( "Exception in getting input method surrounding text" );
SAL_WARN( "vcl.gtk", "Exception in getting input method surrounding text: " << e.Message);
}
return xText;
@@ -4209,10 +4208,10 @@ gboolean GtkSalFrame::IMHandler::signalIMDeleteSurrounding( GtkIMContext*, gint
nDeleteEnd = xText->getCharacterCount();
xText->deleteText(nDeletePos, nDeleteEnd);
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
Size GtkSalDisplay::GetScreenSize( int nDisplayScreen )