[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Sun Nov 15 04:00:20 PST 2015
sw/source/uibase/docvw/SidebarWin.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 35f5833ca35dc170b67ed9f8e288302eb06eb972
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Sun Nov 15 12:59:55 2015 +0100
loplugin:nullptr
Change-Id: Ie59472fb9c58561fad46dff08cfcdcb8a96e7032
diff --git a/sw/source/uibase/docvw/SidebarWin.cxx b/sw/source/uibase/docvw/SidebarWin.cxx
index 867cd2b..99f4c39 100644
--- a/sw/source/uibase/docvw/SidebarWin.cxx
+++ b/sw/source/uibase/docvw/SidebarWin.cxx
@@ -565,8 +565,8 @@ void SwSidebarWin::InitControls()
{
// If there is a callback already registered, inform the new outliner view about it.
SwDrawModel* pDrawModel = mrView.GetWrtShellPtr()->getIDocumentDrawModelAccess().GetDrawModel();
- LibreOfficeKitCallback pCallback = 0;
- void* pData = 0;
+ LibreOfficeKitCallback pCallback = nullptr;
+ void* pData = nullptr;
pDrawModel->getLibreOfficeKitCallback(pCallback, pData);
mpOutlinerView->setTiledRendering(mrView.GetWrtShellPtr()->isTiledRendering());
mpOutlinerView->registerLibreOfficeKitCallback(pCallback, pData);
More information about the Libreoffice-commits
mailing list