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 | 91e635b2f8a56c6debc51eab00ded7ca91d4014b (patch) | |
tree | 59c50aef2ae2aaa7942daef31b36019260125a43 /xmlhelp | |
parent | c916ac645285d58c96bb6374fcb73bb2ea00e34c (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 a7461cecb3..fac8b15c94 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 |