diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-09 14:58:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-09 14:58:29 +0100 |
commit | fa7c24e0e7b300fb7ac6ff7202a57eb1c60eb0b6 (patch) | |
tree | b3a17006666dc90654059f41027ead3e22795b52 /svx | |
parent | 8a8981c603d2f45d0fac656e5b4b31bcabfabc92 (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')
-rw-r--r-- | svx/source/unodraw/unomod.cxx | 2 |
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); |