diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-12-05 17:29:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-12-05 17:29:50 +0100 |
commit | 30c77b4c3ffdb878eff8ee55af60a02820e242ae (patch) | |
tree | 54f527b3bcb381ccde6bd41937bc5d08740a334a /shell | |
parent | c2b8f129f378a23d626c4985238faa813cbaf381 (diff) |
-Werror,-Wunused-result
Change-Id: I25cf94e9abaf976df9a8a0b8ee5f9955d623b006
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/gconfbe/gconfaccess.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |