summaryrefslogtreecommitdiff
path: root/svx/source/unodraw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-09 14:58:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-09 14:58:29 +0100
commitfa7c24e0e7b300fb7ac6ff7202a57eb1c60eb0b6 (patch)
treeb3a17006666dc90654059f41027ead3e22795b52 /svx/source/unodraw
parent8a8981c603d2f45d0fac656e5b4b31bcabfabc92 (diff)
implicit conversion of NULL constant to 'bool' [-Werror,-Wnull-conversion]
...after 8a8981c603d2f45d0fac656e5b4b31bcabfabc92 "GetBasic and m_pBasic are unused." Change-Id: I7ccfcdcc3a7b005185a1de3050f3cccbc741f073
Diffstat (limited to 'svx/source/unodraw')
-rw-r--r--svx/source/unodraw/unomod.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index 150e2cca0e56..0bf65e5b4ff3 100644
--- a/svx/source/unodraw/unomod.cxx
+++ b/svx/source/unodraw/unomod.cxx
@@ -680,7 +680,7 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SvxUnoDrawPagesAccess::insertNewBy
SdrPage* pPage;
if( PTR_CAST( FmFormModel, mrModel.mpDoc ) )
- pPage = new FmFormPage(*(FmFormModel*)mrModel.mpDoc, NULL);
+ pPage = new FmFormPage(*(FmFormModel*)mrModel.mpDoc);
else
pPage = new SdrPage(*mrModel.mpDoc);