summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-11 14:20:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-11 16:43:25 +0000
commit5e1a877170d336b9d055122ea5ed1adee7aed631 (patch)
tree8d3acd355babd56de6a201c420b55ee1137d85cd /sfx2/source
parentf00b77c856067b77a6dc5c2d90cc1205d87de03a (diff)
pLeftBox and pRightBox unused, GetOther doesn't exist
Change-Id: Ibc4034cf4eb2d610fdb6dcabb3d547bf2f9f1172
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/doc/docvor.cxx2
-rw-r--r--sfx2/source/view/orgmgr.cxx7
2 files changed, 2 insertions, 7 deletions
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;
}
//-------------------------------------------------------------------------