summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2016-03-27 21:07:55 +0200
committerJulien Nabet <serval2412@yahoo.fr>2016-03-27 19:45:52 +0000
commitcd7ebd853ff8999060745fb10c89a1b0565a0c07 (patch)
tree297940f33917da5e5c9223ebf95b400df346d588 /sw
parentba9783d36f4b9de07688c6883edfeecef8ccccb5 (diff)
Remove vars used once
Change-Id: Iee5c87e6bd2153062072238e6f833493c298dae6 Reviewed-on: https://gerrit.libreoffice.org/23555 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/SwAppletImpl.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/sw/source/filter/html/SwAppletImpl.cxx b/sw/source/filter/html/SwAppletImpl.cxx
index 9c562d24e176..7d6d9c8f6499 100644
--- a/sw/source/filter/html/SwAppletImpl.cxx
+++ b/sw/source/filter/html/SwAppletImpl.cxx
@@ -30,14 +30,6 @@
using namespace com::sun::star;
-namespace {
-
-static char const sHTML_O_archive[] = "ARCHIVE";
-static char const sHTML_O_Archives[] = "ARCHIVES";
-static char const sHTML_O_Object[] = "OBJECT";
-
-}
-
SwHtmlOptType SwApplet_Impl::GetOptionType( const OUString& rName, bool bApplet )
{
SwHtmlOptType nType = bApplet ? SwHtmlOptType::PARAM : SwHtmlOptType::TAG;
@@ -50,7 +42,7 @@ SwHtmlOptType SwApplet_Impl::GetOptionType( const OUString& rName, bool bApplet
rName.equalsIgnoreAsciiCase( OOO_STRING_SVTOOLS_HTML_O_alt ) )
nType = SwHtmlOptType::IGNORE;
else if( bApplet &&
- (rName == sHTML_O_archive || rName == sHTML_O_Archives ) )
+ (rName == "ARCHIVE" || rName == "ARCHIVES" ) )
nType = SwHtmlOptType::TAG;
break;
case 'C':
@@ -85,7 +77,7 @@ SwHtmlOptType SwApplet_Impl::GetOptionType( const OUString& rName, bool bApplet
break;
case 'O':
case 'o':
- if( bApplet && rName == sHTML_O_Object )
+ if( bApplet && rName == "OBJECT" )
nType = SwHtmlOptType::TAG;
break;
case 'S':