diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-22 20:56:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-22 20:56:51 +0100 |
commit | efaabab96ab8f6b1b866f26e7c4478b846ac4a1d (patch) | |
tree | 1c4496ea4eb32bb68d939e0e7f5cac1bc51b0d94 /xmlhelp | |
parent | 00d7db406ac1d4ed6a5e0526c92b1b4f6db340de (diff) |
micro opt, move global
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index da791e24452d..4f55d7571910 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -82,7 +82,6 @@ using namespace com::sun::star::beans; static rtl::OUString aSlash( rtl::OUString::createFromAscii( "/" ) ); static rtl::OUString aHelpFilesBaseName( rtl::OUString::createFromAscii( "help" ) ); -static rtl::OUString aHelpMediaType( rtl::OUString::createFromAscii( "application/vnd.sun.star.help" ) ); rtl::OUString Databases::expandURL( const rtl::OUString& aURL ) { @@ -1545,6 +1544,7 @@ Reference< deployment::XPackage > ExtensionIteratorBase::implGetHelpPackageFromP } if( bRegistered ) { + rtl::OUString aHelpMediaType( RTL_CONSTASCII_USTRINGPARAM( "application/vnd.sun.star.help" ) ); if( xPackage->isBundle() ) { Sequence< Reference< deployment::XPackage > > aPkgSeq = xPackage->getBundle |