From 81fbf1386a36972be7d3eff3f7a0c6bab80be764 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 31 Mar 2016 09:06:20 +0200 Subject: tdf#84938 convert VIEWOPT_ constants to scoped enum Change-Id: I7d72ed66ea2cf920a0a03a2aa71b5de079f0cf6e --- sw/source/uibase/uiview/view0.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/uiview/view0.cxx') diff --git a/sw/source/uibase/uiview/view0.cxx b/sw/source/uibase/uiview/view0.cxx index 37631c6480a0..297189b7ef3a 100644 --- a/sw/source/uibase/uiview/view0.cxx +++ b/sw/source/uibase/uiview/view0.cxx @@ -591,7 +591,7 @@ void SwView::ExecViewOptions(SfxRequest &rReq) if( !bModified ) rSh.ResetModified(); - pModule->ApplyUsrPref( *pOpt, this, bWebView ? VIEWOPT_DEST_WEB : VIEWOPT_DEST_TEXT ); + pModule->ApplyUsrPref( *pOpt, this, bWebView ? SvViewOpt::DestWeb : SvViewOpt::DestText ); // #i6193# let postits know about new spellcheck setting if ( nSlot == SID_AUTOSPELL_CHECK ) -- cgit