summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/inc/sdpage.hxx2
-rw-r--r--sd/source/core/drawdoc.cxx2
-rw-r--r--sd/source/core/sdpage.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx
index 178656b29272..7a042f64c1c9 100644
--- a/sd/inc/sdpage.hxx
+++ b/sd/inc/sdpage.hxx
@@ -156,7 +156,7 @@ protected:
public:
TYPEINFO();
- SdPage(SdDrawDocument& rNewDoc, StarBASIC* pBasic, sal_Bool bMasterPage=sal_False);
+ SdPage(SdDrawDocument& rNewDoc, sal_Bool bMasterPage=sal_False);
SdPage(const SdPage& rSrcPage);
~SdPage();
virtual SdrPage* Clone() const;
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index 21b8ae91d1f3..a3c8d9e8bd4c 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -502,7 +502,7 @@ SdrModel* SdDrawDocument::AllocModel() const
// not know, as they are _derivatives_ of SdrPage) when loading.
SdrPage* SdDrawDocument::AllocPage(bool bMasterPage)
{
- return new SdPage(*this, NULL, bMasterPage);
+ return new SdPage(*this, bMasterPage);
}
// When the model has changed
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 1856a54b9006..5c135ac965a5 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -89,8 +89,8 @@ TYPEINIT2( SdPage, FmFormPage, SdrObjUserCall );
|*
\************************************************************************/
-SdPage::SdPage(SdDrawDocument& rNewDoc, StarBASIC* pBasic, sal_Bool bMasterPage)
-: FmFormPage(rNewDoc, pBasic, bMasterPage)
+SdPage::SdPage(SdDrawDocument& rNewDoc, sal_Bool bMasterPage)
+: FmFormPage(rNewDoc, bMasterPage)
, SdrObjUserCall()
, mePageKind(PK_STANDARD)
, meAutoLayout(AUTOLAYOUT_NONE)