From 5f2d57fb32bc47dad8ec38287db6627ea6273527 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 29 Mar 2017 08:43:55 +0200 Subject: convert EViewType to scoped enum Change-Id: I5b10aada64408897a56a5932aa28486d7562d617 Reviewed-on: https://gerrit.libreoffice.org/35822 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/dialogs/hlmarkwn.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source/dialogs/hlmarkwn.cxx') diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx index ce43046d61e9..ce7009ec76b2 100644 --- a/cui/source/dialogs/hlmarkwn.cxx +++ b/cui/source/dialogs/hlmarkwn.cxx @@ -257,7 +257,7 @@ void SvxHlinkDlgMarkWnd::RestoreLastSelection() OUString sLastSelectedMark; std::deque aLastSelectedPath; - SvtViewOptions aViewSettings( E_DIALOG, TG_SETTING_MANAGER ); + SvtViewOptions aViewSettings( EViewType::Dialog, TG_SETTING_MANAGER ); if (aViewSettings.Exists()) { //Maybe we might want to have some sort of mru list and keep a mapping @@ -611,7 +611,7 @@ IMPL_LINK_NOARG(SvxHlinkDlgMarkWnd, ClickCloseHdl_Impl, Button*, void) }; // write - SvtViewOptions aViewSettings( E_DIALOG, TG_SETTING_MANAGER ); + SvtViewOptions aViewSettings( EViewType::Dialog, TG_SETTING_MANAGER ); aViewSettings.SetUserData( aSettings ); } -- cgit