summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/table
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:25:48 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:53 +0100
commit01b49802c7cda7fd4d5ba71263cef7bc95234b89 (patch)
treeb8d92f1c6abf5ac548d0bcb0c581ebfcffd8bfac /sw/source/uibase/table
parentloplugin:nullptr (automatic rewrite) (diff)
downloadcore-01b49802c7cda7fd4d5ba71263cef7bc95234b89.tar.gz
core-01b49802c7cda7fd4d5ba71263cef7bc95234b89.zip
loplugin:nullptr (automatic rewrite)
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
Diffstat (limited to 'sw/source/uibase/table')
-rw-r--r--sw/source/uibase/table/chartins.cxx4
-rw-r--r--sw/source/uibase/table/tablemgr.cxx2
-rw-r--r--sw/source/uibase/table/tablepg.hxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx
index c28c18675c45..eb2931965c71 100644
--- a/sw/source/uibase/table/chartins.cxx
+++ b/sw/source/uibase/table/chartins.cxx
@@ -162,7 +162,7 @@ void SwInsertChart(vcl::Window* pParent, SfxBindings* pBindings )
}
}
- SwFlyFrameFormat *pFlyFrameFormat = 0;
+ SwFlyFrameFormat *pFlyFrameFormat = nullptr;
xChartModel.set( SwTableFUNC( &rWrtShell, false ).InsertChart( xDataProvider, xDataProvider.is(), aRangeString, &pFlyFrameFormat ));
//open wizard
@@ -181,7 +181,7 @@ void SwInsertChart(vcl::Window* pParent, SfxBindings* pBindings )
uno::Reference< lang::XInitialization > xInit( xDialog, uno::UNO_QUERY );
if( xInit.is() )
{
- uno::Reference< awt::XWindow > xDialogParentWindow(0);
+ uno::Reference< awt::XWindow > xDialogParentWindow(nullptr);
// initialize dialog
uno::Sequence<uno::Any> aSeq(2);
uno::Any* pArray = aSeq.getArray();
diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx
index e0a9894b7d51..96d1090138a3 100644
--- a/sw/source/uibase/table/tablemgr.cxx
+++ b/sw/source/uibase/table/tablemgr.cxx
@@ -229,7 +229,7 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart(
if ( xObj.is() )
{
- SwFlyFrameFormat* pTmp = 0;
+ SwFlyFrameFormat* pTmp = nullptr;
pSh->InsertOleObject( aEmbObjRef, &pTmp );
if (ppFlyFrameFormat)
*ppFlyFrameFormat = pTmp;
diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx
index f28c524af776..d832099a4b45 100644
--- a/sw/source/uibase/table/tablepg.hxx
+++ b/sw/source/uibase/table/tablepg.hxx
@@ -89,7 +89,7 @@ public:
virtual bool FillItemSet( SfxItemSet* rSet ) override;
virtual void Reset( const SfxItemSet* rSet ) override;
virtual void ActivatePage( const SfxItemSet& rSet ) override;
- virtual sfxpg DeactivatePage( SfxItemSet* pSet = 0 ) override;
+ virtual sfxpg DeactivatePage( SfxItemSet* pSet = nullptr ) override;
};
// TabPage Format/Table/Columns
@@ -140,7 +140,7 @@ public:
virtual bool FillItemSet( SfxItemSet* rSet ) override;
virtual void Reset( const SfxItemSet* rSet ) override;
virtual void ActivatePage( const SfxItemSet& rSet ) override;
- virtual sfxpg DeactivatePage( SfxItemSet* pSet = 0 ) override;
+ virtual sfxpg DeactivatePage( SfxItemSet* pSet = nullptr ) override;
};
@@ -179,7 +179,7 @@ class SwTextFlowPage : public SfxTabPage
DECL_LINK_TYPED( PageBreakTypeHdl_Impl, Button*, void );
DECL_LINK_TYPED( SplitHdl_Impl, Button*, void );
DECL_STATIC_LINK_TYPED( SwTextFlowPage, SplitRowHdl_Impl, Button*, void );
- DECL_LINK_TYPED( HeadLineCBClickHdl, Button* = 0, void );
+ DECL_LINK_TYPED( HeadLineCBClickHdl, Button* = nullptr, void );
public:
SwTextFlowPage( vcl::Window* pParent, const SfxItemSet& rSet );