summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/parcss1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-13 13:28:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-14 11:15:23 +0200
commit73fafa6a6f84c68516e6cbac8832e762b68de924 (patch)
treeae659d9892b356f9f689c16bf49868cc76a44b93 /sw/source/filter/html/parcss1.cxx
parent7a9453a09ac1dc2af3192c9eda7980b425fc966a (diff)
loplugin:returnconstant in SvxCSS1Parser
Change-Id: I890fe1c116c487a6065f4b47d3f9cebe4803ef77 Reviewed-on: https://gerrit.libreoffice.org/58963 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/html/parcss1.cxx')
-rw-r--r--sw/source/filter/html/parcss1.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/filter/html/parcss1.cxx b/sw/source/filter/html/parcss1.cxx
index 51bad26ca3ec..49dbbd40a3b7 100644
--- a/sw/source/filter/html/parcss1.cxx
+++ b/sw/source/filter/html/parcss1.cxx
@@ -1121,7 +1121,7 @@ CSS1Parser::~CSS1Parser()
{
}
-bool CSS1Parser::ParseStyleSheet( const OUString& rIn )
+void CSS1Parser::ParseStyleSheet( const OUString& rIn )
{
OUString aTmp( rIn );
@@ -1144,13 +1144,11 @@ bool CSS1Parser::ParseStyleSheet( const OUString& rIn )
aTmp = aTmp.copy( 0, aTmp.getLength() - 3 );
if( aTmp.isEmpty() )
- return true;
+ return;
InitRead( aTmp );
ParseStyleSheet();
-
- return true;
}
void CSS1Parser::ParseStyleOption( const OUString& rIn )