summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-12-09 13:19:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-09 13:43:01 +0000
commit8a8981c603d2f45d0fac656e5b4b31bcabfabc92 (patch)
treeebe7e84f71880b7655f6fd47913cdce81baa9695 /svx
parent826d133ccfdf20bb9e317715c726c4a562674b0b (diff)
GetBasic and m_pBasic are unused
which is probably a good thing because it is zeroed in the copy ctor which looks rather dubious Change-Id: Ia082601982aaea5df92cf7aa9724cbe187716e0c
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmmodel.cxx2
-rw-r--r--svx/source/form/fmpage.cxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/form/fmmodel.cxx b/svx/source/form/fmmodel.cxx
index 434c2138e91d..ce67f0f16d6b 100644
--- a/svx/source/form/fmmodel.cxx
+++ b/svx/source/form/fmmodel.cxx
@@ -131,7 +131,7 @@ FmFormModel::~FmFormModel()
\************************************************************************/
SdrPage* FmFormModel::AllocPage(bool bMasterPage)
{
- return new FmFormPage(*this, NULL, bMasterPage);
+ return new FmFormPage(*this, bMasterPage);
}
/*************************************************************************
diff --git a/svx/source/form/fmpage.cxx b/svx/source/form/fmpage.cxx
index ce44c6967b2a..4906f554d6f9 100644
--- a/svx/source/form/fmpage.cxx
+++ b/svx/source/form/fmpage.cxx
@@ -56,10 +56,9 @@ using com::sun::star::container::XNameContainer;
TYPEINIT1(FmFormPage, SdrPage);
//------------------------------------------------------------------
-FmFormPage::FmFormPage(FmFormModel& rModel, StarBASIC* _pBasic, bool bMasterPage)
+FmFormPage::FmFormPage(FmFormModel& rModel, bool bMasterPage)
:SdrPage(rModel, bMasterPage)
,m_pImpl( new FmFormPageImpl( *this ) )
- ,m_pBasic(_pBasic)
{
}
@@ -67,7 +66,6 @@ FmFormPage::FmFormPage(FmFormModel& rModel, StarBASIC* _pBasic, bool bMasterPage
FmFormPage::FmFormPage(const FmFormPage& rPage)
:SdrPage(rPage)
,m_pImpl(new FmFormPageImpl( *this ) )
- ,m_pBasic(0)
{
m_pImpl->initFrom( rPage.GetImpl() );
m_sPageName = rPage.m_sPageName;