sw/source/filter/html/SwAppletImpl.cxx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-)
New commits: commit cd7ebd853ff8999060745fb10c89a1b0565a0c07 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sun Mar 27 21:07:55 2016 +0200 Remove vars used once Change-Id: Iee5c87e6bd2153062072238e6f833493c298dae6 Reviewed-on: https://gerrit.libreoffice.org/23555 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sw/source/filter/html/SwAppletImpl.cxx b/sw/source/filter/html/SwAppletImpl.cxx index 9c562d2..7d6d9c8 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': _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits