diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-01 23:34:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-06 10:33:04 +0000 |
commit | c3b54e6dd46797e798b586e4ca007ac72bf6d01b (patch) | |
tree | e9ff4570e950c29eebc3357b0c50970462c81267 /xmlhelp | |
parent | cd676159ca49756549fa81b29caf77a805cb4a5e (diff) |
callcatcher: remove some unused code
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.cxx | 23 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.hxx | 2 |
2 files changed, 0 insertions, 25 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.cxx b/xmlhelp/source/cxxhelp/provider/databases.cxx index 0aa4f5ab1973..63e0d8e46907 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.cxx +++ b/xmlhelp/source/cxxhelp/provider/databases.cxx @@ -395,28 +395,6 @@ void Databases::replaceName( rtl::OUString& oustring ) const } } - - - -rtl::OUString Databases::getInstallPathAsSystemPath() -{ - osl::MutexGuard aGuard( m_aMutex ); - - if( ! m_aInstallDirectoryAsSystemPath.getLength() ) - { -#ifdef DBG_UTIL - bool bla = - osl::FileBase::E_None == - osl::FileBase::getSystemPathFromFileURL( m_aInstallDirectory,m_aInstallDirectoryAsSystemPath ); - OSL_ENSURE( bla,"HelpProvider, no installpath" ); -#else - osl::FileBase::getSystemPathFromFileURL( m_aInstallDirectory,m_aInstallDirectoryAsSystemPath ); -#endif - } - - return m_aInstallDirectoryAsSystemPath; -} - rtl::OUString Databases::getInstallPathAsURL() { osl::MutexGuard aGuard( m_aMutex ); @@ -424,7 +402,6 @@ rtl::OUString Databases::getInstallPathAsURL() return m_aInstallDirectory; } - const std::vector< rtl::OUString >& Databases::getModuleList( const rtl::OUString& Language ) { if( m_avModules.empty() ) diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx index eeb6d006b2f5..dd95393f4468 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.hxx +++ b/xmlhelp/source/cxxhelp/provider/databases.hxx @@ -197,8 +197,6 @@ namespace chelp { rtl::OString getImagesZipFileURL(); - rtl::OUString getInstallPathAsSystemPath(); - rtl::OUString getInstallPathAsURL(); const std::vector< rtl::OUString >& getModuleList( const rtl::OUString& Language ); |