summaryrefslogtreecommitdiff
path: root/sw/source/uibase/web
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-14 12:00:19 +0200
committerNoel Grandin <noel@peralex.com>2015-05-14 12:00:41 +0200
commit68041a0546fc6a05608411365c8382937aafac79 (patch)
treec0676833d41c491956c71b946f7c69ca0a34f734 /sw/source/uibase/web
parent741d9990bf9d9dfcba1166a12ffb1d846c912181 (diff)
convert INPUTCONTEXT_ constants to scoped enum
Change-Id: I5b99e42a3e85527b27d515c468d2ed66386fc9df
Diffstat (limited to 'sw/source/uibase/web')
-rw-r--r--sw/source/uibase/web/wview.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/web/wview.cxx b/sw/source/uibase/web/wview.cxx
index ecd15c64109a..1a4e702ec1a8 100644
--- a/sw/source/uibase/web/wview.cxx
+++ b/sw/source/uibase/web/wview.cxx
@@ -260,11 +260,11 @@ void SwWebView::SelectShell()
InputContext aCntxt( GetEditWin().GetInputContext() );
aCntxt.SetOptions( bSetExtInpCntxt
? (aCntxt.GetOptions() |
- ( INPUTCONTEXT_TEXT |
- INPUTCONTEXT_EXTTEXTINPUT ))
+ ( InputContextFlags::Text |
+ InputContextFlags::ExtText ))
: (aCntxt.GetOptions() & ~
- ( INPUTCONTEXT_TEXT |
- INPUTCONTEXT_EXTTEXTINPUT )) );
+ InputContextFlags( InputContextFlags::Text |
+ InputContextFlags::ExtText )) );
GetEditWin().SetInputContext( aCntxt );
}