diff options
Diffstat (limited to 'sw/source/filter/html/parcss1.cxx')
-rw-r--r-- | sw/source/filter/html/parcss1.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx index cf2adc6597b1..1bfcb6cd020f 100644 --- a/sw/source/filter/html/parcss1.cxx +++ b/sw/source/filter/html/parcss1.cxx @@ -1261,8 +1261,7 @@ sal_Bool CSS1Expression::GetURL( String& rURL ) const if( aValue.Len() > 5 ) { rURL = aValue.Copy( 4, aValue.Len()-5 ); - rURL.EraseTrailingChars(); - rURL.EraseLeadingChars(); + rURL = comphelper::string::strip(rURL, ' '); bRet = sal_True; } |