summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-29 10:21:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-29 10:30:28 +0100
commit947feaa896168430c78dd08dabee1447133f2740 (patch)
treed009b8eb5d965f1302fbba7692a44fa3903c050c /sfx2
parentfcfdadc2cb45b6c7903bc54638cce6ec8887e7ac (diff)
pTemplateCommon is never set, so always NULL
Change-Id: I2311b33034c281cba66d7cce80a6556e27b2b322
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appdata.cxx1
-rw-r--r--sfx2/source/appl/appmisc.cxx2
-rw-r--r--sfx2/source/inc/appdata.hxx1
3 files changed, 0 insertions, 4 deletions
diff --git a/sfx2/source/appl/appdata.cxx b/sfx2/source/appl/appdata.cxx
index 81d8e60f4bcb..a062e746a020 100644
--- a/sfx2/source/appl/appdata.cxx
+++ b/sfx2/source/appl/appdata.cxx
@@ -99,7 +99,6 @@ SfxAppData_Impl::SfxAppData_Impl( SfxApplication* )
, pSaveOptions( 0 )
, pHelpOptions( 0 )
, pProgress(0)
- , pTemplateCommon( 0 )
, nDocModalMode(0)
, nAutoTabPageId(0)
, nRescheduleLocks(0)
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx
index a301d0ba29dc..62c7fb96f8c7 100644
--- a/sfx2/source/appl/appmisc.cxx
+++ b/sfx2/source/appl/appmisc.cxx
@@ -137,8 +137,6 @@ SfxModule* SfxApplication::GetModule_Impl()
ISfxTemplateCommon* SfxApplication::GetCurrentTemplateCommon( SfxBindings& rBindings )
{
- if( pAppData_Impl->pTemplateCommon )
- return pAppData_Impl->pTemplateCommon;
SfxChildWindow *pChild = rBindings.GetWorkWindow_Impl()->GetChildWindow_Impl(
SfxTemplateDialogWrapper::GetChildWindowId() );
if ( pChild )
diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx
index 87226020cfe1..8a5acb6b6260 100644
--- a/sfx2/source/inc/appdata.hxx
+++ b/sfx2/source/inc/appdata.hxx
@@ -106,7 +106,6 @@ public:
// "current" functionality
SfxProgress* pProgress;
- ISfxTemplateCommon* pTemplateCommon;
sal_uInt16 nDocModalMode; // counts documents in modal mode
sal_uInt16 nAutoTabPageId;