From b0c0a074a2318a231f3f635784da494f1b713c53 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Apr 2016 11:03:43 +0200 Subject: clang-tidy clang-analyzer-deadcode.DeadStores suspect that some of these may reveal latent bugs.... Change-Id: I9de9aabbda9c8952715631577c29c1830df1eb71 Reviewed-on: https://gerrit.libreoffice.org/24200 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/dialogs/cuihyperdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/dialogs/cuihyperdlg.cxx') diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx index b423b1cc0627..57601d19cbfa 100644 --- a/cui/source/dialogs/cuihyperdlg.cxx +++ b/cui/source/dialogs/cuihyperdlg.cxx @@ -331,7 +331,7 @@ void SvxHpLinkDlg::SetPage ( SvxHyperlinkItem* pItem ) nPageId = RID_SVXPAGE_HYPERLINK_DOCUMENT; else { - eProtocolTyp = INetProtocol::NotValid; + // not valid nPageId = GetCurPageId(); } break; -- cgit