summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-19 15:10:59 +0200
committerNoel Grandin <noel@peralex.com>2014-02-20 09:31:13 +0200
commit8f6a8be4ffe7c4c287528e5399767929c7712183 (patch)
treeb3879b6684053b682a1f0af02e25e04717dc13d7 /svx
parentbce04e519356a445489acd016c1c65a66d2f5fa6 (diff)
cid#1103724 Dereference before null check
Change-Id: Ie90dbddc72224c014792f27ef98e6300d5225b7a
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdxcgv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdxcgv.cxx b/svx/source/svdraw/svdxcgv.cxx
index b437f5835064..9c6d7ff95153 100644
--- a/svx/source/svdraw/svdxcgv.cxx
+++ b/svx/source/svdraw/svdxcgv.cxx
@@ -201,7 +201,7 @@ sal_Bool SdrExchangeView::Paste(SvStream& rInput, const OUString& rBaseURL, sal_
ImpPasteObject(pObj,*pLst,aPos,aSiz,MapMode(eMap,Point(0,0),aMap,aMap),nOptions);
// b4967543
- if(pObj && pObj->GetModel() && pObj->GetOutlinerParaObject())
+ if(pObj->GetModel() && pObj->GetOutlinerParaObject())
{
SdrOutliner& rOutliner = pObj->GetModel()->GetHitTestOutliner();
rOutliner.SetText(*pObj->GetOutlinerParaObject());