From 8044acf2db9d125d5ed58ed25df5df4a90f37ac6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 11 Oct 2014 16:01:26 +0200 Subject: convert SFX_CALLMODE constants to SfxCallMode enum class and fix a couple of bugs in SC and SW where the call mode was being passed to the hints parameter by accident Change-Id: Ief805410b3f7035e012e229e77f92d5832430f58 Reviewed-on: https://gerrit.libreoffice.org/11916 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- cui/source/dialogs/cuihyperdlg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cui/source/dialogs/cuihyperdlg.cxx') diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx index 7224ed36c8da..c355fe0f5cfa 100644 --- a/cui/source/dialogs/cuihyperdlg.cxx +++ b/cui/source/dialogs/cuihyperdlg.cxx @@ -173,8 +173,8 @@ SvxHpLinkDlg::~SvxHpLinkDlg () bool SvxHpLinkDlg::Close() { GetDispatcher()->Execute( SID_HYPERLINK_DIALOG, - SFX_CALLMODE_ASYNCHRON | - SFX_CALLMODE_RECORD); + SfxCallMode::ASYNCHRON | + SfxCallMode::RECORD); return true; } @@ -194,8 +194,8 @@ void SvxHpLinkDlg::Apply() aItemSet.GetItem (SID_HYPERLINK_SETLINK); OUString aStrEmpty; if ( aItem->GetURL() != aStrEmpty ) - GetDispatcher()->Execute( SID_HYPERLINK_SETLINK, SFX_CALLMODE_ASYNCHRON | - SFX_CALLMODE_RECORD, aItem, 0L); + GetDispatcher()->Execute( SID_HYPERLINK_SETLINK, SfxCallMode::ASYNCHRON | + SfxCallMode::RECORD, aItem, 0L); ( (SvxHyperlinkTabPageBase*)GetTabPage ( GetCurPageId() ) )->DoApply(); } -- cgit