diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-28 21:13:46 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-28 21:13:46 +0200 |
commit | 5f82ec11789a201e38565f59ce7d598b3d17827f (patch) | |
tree | dbbf450a70d6772d620737bc01a5212e2d888400 /xmloff | |
parent | Add comment about Windows SDK 8 (diff) | |
download | core-5f82ec11789a201e38565f59ce7d598b3d17827f.tar.gz core-5f82ec11789a201e38565f59ce7d598b3d17827f.zip |
OUString::trim() does not modify in-place
Change-Id: I9efc0ef7e8fa433352dcbc3d3173b95fdf838e20
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/style/XMLFontAutoStylePool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx index ca1d8a58b876..a496e79cbac9 100644 --- a/xmloff/source/style/XMLFontAutoStylePool.cxx +++ b/xmloff/source/style/XMLFontAutoStylePool.cxx @@ -165,7 +165,7 @@ OUString XMLFontAutoStylePool::Add( else if( nLen > 0 ) { sName = rFamilyName.copy( 0, nLen ); - sName.trim(); + sName = sName.trim(); } if( sName.isEmpty() ) |