diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-24 09:41:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-24 13:47:52 +0200 |
commit | 604bc943655b88994faa7f307d1c48e914965e95 (patch) | |
tree | 51d09183f93c02371f764a5d1e68c7c54abcb0b5 /sw/source/uibase | |
parent | a43187d9075c6347412a2584d764145127779df8 (diff) |
loplugin:unusedfields readonly fields
Change-Id: I6629926df06f71ff86e9fb23ae4fc1ae73bc9406
Reviewed-on: https://gerrit.libreoffice.org/40360
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/shells/basesh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx index e62f7a57e47b..79570ab3b9bc 100644 --- a/sw/source/uibase/shells/basesh.cxx +++ b/sw/source/uibase/shells/basesh.cxx @@ -165,7 +165,7 @@ static void lcl_UpdateIMapDlg( SwWrtShell& rSh ) void* pEditObj = GraphicType::NONE != nGrfType && GraphicType::Default != nGrfType ? rSh.GetIMapInventor() : nullptr; std::unique_ptr<TargetList> pList(new TargetList); - rSh.GetView().GetViewFrame()->GetFrame().GetTargetList(*pList); + SfxFrame::GetDefaultTargetList(*pList); SfxItemSet aSet( rSh.GetAttrPool(), svl::Items<RES_URL, RES_URL>{} ); rSh.GetFlyFrameAttr( aSet ); |