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:30:19 +0100 |
commit | 76c921de48ee41716b5a500b892945c704da73c7 (patch) | |
tree | 9d13fe9139f699a89915b27ef09487fe44f2ed53 | |
parent | 97a1139e19f3bfca1927c84283e4226ec9aa57ef (diff) |
-Werror,-Wunused-result
Change-Id: I25cf94e9abaf976df9a8a0b8ee5f9955d623b006
(cherry picked from commit 30c77b4c3ffdb878eff8ee55af60a02820e242ae)
-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; |