diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-29 09:08:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-29 10:40:08 +0000 |
commit | 836023dedc36cbfe946c42d629ece34174c6bd2b (patch) | |
tree | 4348c53ae2e8e3af5cc3f50264ecad1703bbb1ad /sc | |
parent | 9b8f91d348a51b0f0cd1bedb5168c2ca0888505a (diff) |
coverity#1242433 SdrMakeOutliner alway derefs pMod
so change from a pointer to a reference
Change-Id: I81eb2c9e4df8353fbbdad7058c6ca7ea22286e62
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/drawfunc/futext2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/futext2.cxx b/sc/source/ui/drawfunc/futext2.cxx index 4e0e9368e43e..124c770f9c98 100644 --- a/sc/source/ui/drawfunc/futext2.cxx +++ b/sc/source/ui/drawfunc/futext2.cxx @@ -27,7 +27,7 @@ SdrOutliner* FuText::MakeOutliner() { ScViewData& rViewData = pViewShell->GetViewData(); - SdrOutliner* pOutl = SdrMakeOutliner(OUTLINERMODE_OUTLINEOBJECT, pDrDoc); + SdrOutliner* pOutl = SdrMakeOutliner(OUTLINERMODE_OUTLINEOBJECT, *pDrDoc); rViewData.UpdateOutlinerFlags(*pOutl); |