From 30c77b4c3ffdb878eff8ee55af60a02820e242ae Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 5 Dec 2012 17:29:32 +0100 Subject: -Werror,-Wunused-result Change-Id: I25cf94e9abaf976df9a8a0b8ee5f9955d623b006 --- shell/source/backends/gconfbe/gconfaccess.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/source') diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx index 87382045c24f..205a2cf3f1a9 100644 --- a/shell/source/backends/gconfbe/gconfaccess.cxx +++ b/shell/source/backends/gconfbe/gconfaccess.cxx @@ -236,7 +236,7 @@ uno::Any makeAnyOfGconfValue( GConfValue *pGconfValue ) static void splitFontName( GConfValue *pGconfValue, rtl::OUString &rName, sal_Int16 &rHeight) { rtl::OString aFont( gconf_value_get_string( pGconfValue ) ); - aFont.trim(); + aFont = aFont.trim(); sal_Int32 nIdx = aFont.lastIndexOf( ' ' ); if (nIdx < 1) { // urk rHeight = 12; -- cgit