Kaydet (Commit) 947feaa8 authored tarafından Caolán McNamara's avatar Caolán McNamara

pTemplateCommon is never set, so always NULL

Change-Id: I2311b33034c281cba66d7cce80a6556e27b2b322
üst fcfdadc2
...@@ -99,7 +99,6 @@ SfxAppData_Impl::SfxAppData_Impl( SfxApplication* ) ...@@ -99,7 +99,6 @@ SfxAppData_Impl::SfxAppData_Impl( SfxApplication* )
, pSaveOptions( 0 ) , pSaveOptions( 0 )
, pHelpOptions( 0 ) , pHelpOptions( 0 )
, pProgress(0) , pProgress(0)
, pTemplateCommon( 0 )
, nDocModalMode(0) , nDocModalMode(0)
, nAutoTabPageId(0) , nAutoTabPageId(0)
, nRescheduleLocks(0) , nRescheduleLocks(0)
......
...@@ -137,8 +137,6 @@ SfxModule* SfxApplication::GetModule_Impl() ...@@ -137,8 +137,6 @@ SfxModule* SfxApplication::GetModule_Impl()
ISfxTemplateCommon* SfxApplication::GetCurrentTemplateCommon( SfxBindings& rBindings ) ISfxTemplateCommon* SfxApplication::GetCurrentTemplateCommon( SfxBindings& rBindings )
{ {
if( pAppData_Impl->pTemplateCommon )
return pAppData_Impl->pTemplateCommon;
SfxChildWindow *pChild = rBindings.GetWorkWindow_Impl()->GetChildWindow_Impl( SfxChildWindow *pChild = rBindings.GetWorkWindow_Impl()->GetChildWindow_Impl(
SfxTemplateDialogWrapper::GetChildWindowId() ); SfxTemplateDialogWrapper::GetChildWindowId() );
if ( pChild ) if ( pChild )
......
...@@ -106,7 +106,6 @@ public: ...@@ -106,7 +106,6 @@ public:
// "current" functionality // "current" functionality
SfxProgress* pProgress; SfxProgress* pProgress;
ISfxTemplateCommon* pTemplateCommon;
sal_uInt16 nDocModalMode; // counts documents in modal mode sal_uInt16 nDocModalMode; // counts documents in modal mode
sal_uInt16 nAutoTabPageId; sal_uInt16 nAutoTabPageId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment