diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-05-23 21:39:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-05-24 09:09:10 +0100 |
commit | 482ac12a7438ebf74d64cedc228b40903287273c (patch) | |
tree | 0a402bd40b5a1940edb5e96170c57516e5dbe975 /sc/source/ui/drawfunc/futext2.cxx | |
parent | 4f75ad50619bac31e9037fc0ff148b3d8257d262 (diff) |
member can be a ref instead of a pointer
Change-Id: Idb0c27933b42f3aef65f0bce098f9bd7a81dc034
Diffstat (limited to 'sc/source/ui/drawfunc/futext2.cxx')
-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 e986099cce7a..51b1e3879246 100644 --- a/sc/source/ui/drawfunc/futext2.cxx +++ b/sc/source/ui/drawfunc/futext2.cxx @@ -26,7 +26,7 @@ std::unique_ptr<SdrOutliner> FuText::MakeOutliner() { - ScViewData& rViewData = pViewShell->GetViewData(); + ScViewData& rViewData = rViewShell.GetViewData(); std::unique_ptr<SdrOutliner> pOutl = SdrMakeOutliner(OutlinerMode::OutlineObject, *pDrDoc); rViewData.UpdateOutlinerFlags(*pOutl); |