summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewdata.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:31 +0200
commit1c5613e108b4fe98a415296a5b6c0bc7636548ef (patch)
tree331ae13fdbc03859091ec3d78b9614d9dd57dcf3 /sc/source/ui/view/viewdata.cxx
parent2c2bafeedf6a7ce99f8c30d1f69ef9d0a0bf8587 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I700b727c048aff5c19411fb9d5bd9601b296cb06
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r--sc/source/ui/view/viewdata.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 8795afe9539a..65e9fd10dcbb 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -476,7 +476,7 @@ void ScViewData::InsertTab( SCTAB nTab )
if( nTab >= static_cast<SCTAB>(maTabData.size()))
maTabData.resize(nTab+1, NULL);
else
- maTabData.insert( maTabData.begin() + nTab, (ScViewDataTable *)NULL );
+ maTabData.insert( maTabData.begin() + nTab, nullptr );
CreateTabData( nTab );
UpdateCurrentTab();
@@ -539,7 +539,7 @@ void ScViewData::CopyTab( SCTAB nSrcTab, SCTAB nDestTab )
if ( maTabData[nSrcTab] )
maTabData.insert(maTabData.begin() + nDestTab, new ScViewDataTable( *maTabData[nSrcTab] ));
else
- maTabData.insert(maTabData.begin() + nDestTab, (ScViewDataTable *)NULL);
+ maTabData.insert(maTabData.begin() + nDestTab, nullptr);
UpdateCurrentTab();
mpMarkData->InsertTab( nDestTab );