[Libreoffice-commits] .: xmloff/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Nov 28 11:14:15 PST 2012
xmloff/source/style/XMLFontAutoStylePool.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5f82ec11789a201e38565f59ce7d598b3d17827f
Author: Tor Lillqvist <tml at iki.fi>
Date: Wed Nov 28 21:13:46 2012 +0200
OUString::trim() does not modify in-place
Change-Id: I9efc0ef7e8fa433352dcbc3d3173b95fdf838e20
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx
index ca1d8a5..a496e79 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() )
More information about the Libreoffice-commits
mailing list