summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/sfxhelp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index b9ff344a1513..7484d96b0c98 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -87,8 +87,6 @@ using namespace ::com::sun::star::lang;
#define ERROR_TAG String( DEFINE_CONST_UNICODE("Error: ") )
#define PATH_TAG String( DEFINE_CONST_UNICODE("\nPath: ") )
-// class NoHelpErrorBox --------------------------------------------------
-
class NoHelpErrorBox : public ErrorBox
{
public:
@@ -109,8 +107,6 @@ void NoHelpErrorBox::RequestHelp( const HelpEvent& )
// do nothing, because no help available
}
-// -----------------------------------------------------------------------
-
#define STARTERLIST 0
rtl::OUString HelpLocaleString()
@@ -177,17 +173,11 @@ void AppendConfigToken_Impl( String& rURL, sal_Bool bQuestionMark )
}
-// -----------------------------------------------------------------------
-
sal_Bool GetHelpAnchor_Impl( const String& _rURL, String& _rAnchor )
{
sal_Bool bRet = sal_False;
::rtl::OUString sAnchor;
- // --> OD 2009-07-01 #159496#
- // do not release solar mutex due to crash regarding accessibility
-// ULONG nSolarCount = Application::ReleaseSolarMutex();
- // <--
try
{
::ucbhelper::Content aCnt( INetURLObject( _rURL ).GetMainURL( INetURLObject::NO_DECODE ),
@@ -209,15 +199,10 @@ sal_Bool GetHelpAnchor_Impl( const String& _rURL, String& _rAnchor )
catch( ::com::sun::star::uno::Exception& )
{
}
- // --> OD 2009-07-01 #159496#
-// Application::AcquireSolarMutex( nSolarCount );
- // <--
return bRet;
}
-// -----------------------------------------------------------------------
-
class SfxHelpOptions_Impl : public utl::ConfigItem
{
private:
@@ -250,8 +235,6 @@ static Sequence< ::rtl::OUString > GetPropertyNames()
return aNames;
}
-// -----------------------------------------------------------------------
-
SfxHelpOptions_Impl::SfxHelpOptions_Impl()
: ConfigItem( ::rtl::OUString::createFromAscii("Office.SFX/Help") )
, m_pIds( NULL )
@@ -311,8 +294,6 @@ void SfxHelpOptions_Impl::Commit()
{
}
-// class SfxHelp_Impl ----------------------------------------------------
-
class SfxHelp_Impl
{
private:
@@ -412,8 +393,6 @@ sal_Bool SfxHelp_Impl::IsHelpInstalled()
return ( m_aModulesList.begin() != m_aModulesList.end() );
}
-// class SfxHelp ---------------------------------------------------------
-
SfxHelp::SfxHelp() :
bIsDebug( sal_False ),
@@ -966,9 +945,6 @@ void SfxHelp::OpenHelpAgent( ULONG nHelpId )
{
if ( SvtHelpOptions().IsHelpAgentAutoStartMode() )
{
-// SfxHelp* pHelp = SAL_STATIC_CAST( SfxHelp*, Application::GetHelp() );
-// if ( pHelp )
-// {
SfxHelpOptions_Impl *pOpt = pImp->GetOptions();
if ( !pOpt->HasId( nHelpId ) )
return;
@@ -1002,7 +978,6 @@ void SfxHelp::OpenHelpAgent( ULONG nHelpId )
{
DBG_ERRORFILE( "OpenHelpAgent: caught an exception while executing the dispatch!" );
}
-// }
}
}