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 /svx/source/sdr | |
parent | 9b8f91d348a51b0f0cd1bedb5168c2ca0888505a (diff) |
coverity#1242433 SdrMakeOutliner alway derefs pMod
so change from a pointer to a reference
Change-Id: I81eb2c9e4df8353fbbdad7058c6ca7ea22286e62
Diffstat (limited to 'svx/source/sdr')
-rw-r--r-- | svx/source/sdr/properties/textproperties.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sdr/properties/textproperties.cxx b/svx/source/sdr/properties/textproperties.cxx index d28b38822e14..96552fd6aa0d 100644 --- a/svx/source/sdr/properties/textproperties.cxx +++ b/svx/source/sdr/properties/textproperties.cxx @@ -405,7 +405,7 @@ namespace sdr && !rObj.IsTextEditActive() && !rObj.IsLinkedText()) { - Outliner* pOutliner = SdrMakeOutliner(OUTLINERMODE_OUTLINEOBJECT, rObj.GetModel()); + Outliner* pOutliner = SdrMakeOutliner(OUTLINERMODE_OUTLINEOBJECT, *rObj.GetModel()); const svx::ITextProvider& rTextProvider(getTextProvider()); sal_Int32 nText = rTextProvider.getTextCount(); |