summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlbas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlbas.cxx')
-rw-r--r--sw/source/filter/html/htmlbas.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/html/htmlbas.cxx b/sw/source/filter/html/htmlbas.cxx
index b8aa98f72f68..f9b273d55501 100644
--- a/sw/source/filter/html/htmlbas.cxx
+++ b/sw/source/filter/html/htmlbas.cxx
@@ -254,7 +254,7 @@ void SwHTMLWriter::OutBasic()
if( !m_bCfgStarBasic )
return;
- BasicManager *pBasicMan = pDoc->GetDocShell()->GetBasicManager();
+ BasicManager *pBasicMan = m_pDoc->GetDocShell()->GetBasicManager();
OSL_ENSURE( pBasicMan, "Where is the Basic-Manager?" );
// Only write DocumentBasic
if( !pBasicMan || pBasicMan == SfxApplication::GetBasicManager() )
@@ -307,7 +307,7 @@ static const char* aEventNames[] =
void SwHTMLWriter::OutBasicBodyEvents()
{
- SwDocShell *pDocSh = pDoc->GetDocShell();
+ SwDocShell *pDocSh = m_pDoc->GetDocShell();
if( !pDocSh )
return;