summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-03 15:58:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-04 08:36:11 +0200
commitfb0644e8f0a944c10b654233813ab40792e78e0a (patch)
tree411696fe0ee42747fb0c131a6ff80ff3d16e48a6 /cui
parentb3499a00fc7c1ce3393577c592b9ac6771d2a922 (diff)
loplugin:unusedfields in sfx2
Change-Id: I9f57545ca4ee5159a095f9b35267d298ccc7fb4e Reviewed-on: https://gerrit.libreoffice.org/39476 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/linkdlg.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index bcbc7919d9dd..50d6bd047ca2 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -303,9 +303,7 @@ IMPL_LINK_NOARG(SvBaseLinksDlg, UpdateNowClickHdl, Button*, void)
for(const auto & i : pLinkMgr->GetLinks())
if( xLink == i )
{
- xLink->SetUseCache( false );
SetType( *xLink, aPosArr[ n ], xLink->GetUpdateMode() );
- xLink->SetUseCache( true );
break;
}
}