summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/orgmgr.hxx8
-rw-r--r--sfx2/source/doc/docvor.cxx2
-rw-r--r--sfx2/source/view/orgmgr.cxx7
3 files changed, 3 insertions, 14 deletions
diff --git a/sfx2/inc/orgmgr.hxx b/sfx2/inc/orgmgr.hxx
index 48c3ae3da397..17b396ed2c8a 100644
--- a/sfx2/inc/orgmgr.hxx
+++ b/sfx2/inc/orgmgr.hxx
@@ -52,17 +52,11 @@ class SfxOrganizeMgr
private:
SfxOrganizeMgr_Impl* pImpl;
SfxDocumentTemplates* pTemplates;
- SfxOrganizeListBox_Impl* pLeftBox;
- SfxOrganizeListBox_Impl* pRightBox;
sal_Bool bDeleteTemplates :1;
sal_Bool bModified :1;
- SfxOrganizeListBox_Impl* GetOther( SfxOrganizeListBox_Impl* );
-
public:
- SfxOrganizeMgr( SfxOrganizeListBox_Impl* pLeft,
- SfxOrganizeListBox_Impl* pRight,
- SfxDocumentTemplates* pTempl = NULL );
+ SfxOrganizeMgr(SfxDocumentTemplates* pTempl = NULL);
~SfxOrganizeMgr();
sal_Bool Copy( sal_uInt16 nTargetRegion, sal_uInt16 nTargetIdx, sal_uInt16 nSourceRegion, sal_uInt16 nSourceIdx );
diff --git a/sfx2/source/doc/docvor.cxx b/sfx2/source/doc/docvor.cxx
index 18da27288722..11b164b9c552 100644
--- a/sfx2/source/doc/docvor.cxx
+++ b/sfx2/source/doc/docvor.cxx
@@ -200,7 +200,7 @@ SfxOrganizeDlg_Impl::SfxOrganizeDlg_Impl( SfxTemplateOrganizeDlg* pParent,
aFilesBtn ( pParent, SfxResId( BTN_FILES ) ),
aEditAcc ( SfxResId( ACC_EDIT ) ),
- aMgr ( &aLeftLb, &aRightLb, pTempl ),
+ aMgr ( pTempl ),
pFileDlg ( NULL )
{
diff --git a/sfx2/source/view/orgmgr.cxx b/sfx2/source/view/orgmgr.cxx
index 0c4bb72a65fd..798731bc6558 100644
--- a/sfx2/source/view/orgmgr.cxx
+++ b/sfx2/source/view/orgmgr.cxx
@@ -201,13 +201,9 @@ const String &SfxObjectList::GetBaseName(const _FileListEntry* p) const
//-------------------------------------------------------------------------
-SfxOrganizeMgr::SfxOrganizeMgr( SfxOrganizeListBox_Impl *pLeft,
- SfxOrganizeListBox_Impl *pRight,
- SfxDocumentTemplates *pTempl) :
+SfxOrganizeMgr::SfxOrganizeMgr(SfxDocumentTemplates *pTempl) :
pImpl(new SfxOrganizeMgr_Impl),
pTemplates(pTempl? pTempl: new SfxDocumentTemplates),
- pLeftBox(pLeft),
- pRightBox(pRight),
bDeleteTemplates(pTempl == 0),
bModified(0)
@@ -241,7 +237,6 @@ SfxOrganizeMgr::~SfxOrganizeMgr()
delete pImpl->pDocList;
delete pImpl->pIntlWrapper;
delete pImpl;
- pLeftBox = pRightBox = NULL;
}
//-------------------------------------------------------------------------