summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlcss1.cxx
diff options
context:
space:
mode:
authorPalenik Mihály <palenik.mihaly@gmail.com>2013-08-09 13:51:08 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-13 12:04:56 +0000
commit7a504c8752bf7c5accbb9bcc33a98f79b31b8bf2 (patch)
treee1a5dc492773b21b2ab6d7765352bd0790039e0e /sw/source/filter/html/htmlcss1.cxx
parenta745bfdb7843a216dae51e4cd9484d950bac13e2 (diff)
Change String to OUString in SwHTMLParser class
I changed some variables in SwHTMLParser class and her dependencies. Change-Id: Ie8ad6c481df8a904bd358c2e9cd6afeef990d418 Reviewed-on: https://gerrit.libreoffice.org/5330 Reviewed-by: Tor Lillqvist <tml@iki.fi> Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r--sw/source/filter/html/htmlcss1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx
index bc5a0bfa31b9..13bc28a27662 100644
--- a/sw/source/filter/html/htmlcss1.cxx
+++ b/sw/source/filter/html/htmlcss1.cxx
@@ -1708,10 +1708,10 @@ void SwHTMLParser::EndStyle()
{
bIgnoreRawData = sal_False;
- if( aStyleSource.Len() )
+ if( !aStyleSource.isEmpty() )
{
pCSS1Parser->ParseStyleSheet( aStyleSource );
- aStyleSource.Erase();
+ aStyleSource = "";
}
}