diff options
-rw-r--r-- | sw/source/filter/html/SwAppletImpl.cxx | 12 |
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': |