[Libreoffice-commits] .: shell/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 5 08:30:29 PST 2012
shell/source/backends/gconfbe/gconfaccess.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 30c77b4c3ffdb878eff8ee55af60a02820e242ae
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Dec 5 17:29:32 2012 +0100
-Werror,-Wunused-result
Change-Id: I25cf94e9abaf976df9a8a0b8ee5f9955d623b006
diff --git a/shell/source/backends/gconfbe/gconfaccess.cxx b/shell/source/backends/gconfbe/gconfaccess.cxx
index 8738204..205a2cf 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;
More information about the Libreoffice-commits
mailing list