Kaydet (Commit) 5f82ec11 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

OUString::trim() does not modify in-place

Change-Id: I9efc0ef7e8fa433352dcbc3d3173b95fdf838e20
üst c87389c7
...@@ -165,7 +165,7 @@ OUString XMLFontAutoStylePool::Add( ...@@ -165,7 +165,7 @@ OUString XMLFontAutoStylePool::Add(
else if( nLen > 0 ) else if( nLen > 0 )
{ {
sName = rFamilyName.copy( 0, nLen ); sName = rFamilyName.copy( 0, nLen );
sName.trim(); sName = sName.trim();
} }
if( sName.isEmpty() ) if( sName.isEmpty() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment