summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/edtwin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-24 16:05:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-25 09:07:48 +0200
commit025604bbfa093ec4c29280793d2230e3cc3534d7 (patch)
tree46769f77a5398f5b3c35fd1983e8209a094ab7b4 /sw/source/uibase/docvw/edtwin.cxx
parent11980815c782ebfa4003225fc5208e9f05225ba8 (diff)
replace URLLOAD constants with o3tl::typed_flags
Change-Id: Ief6cb3dfc53da8cbae0feded9e215905c7a8459c
Diffstat (limited to 'sw/source/uibase/docvw/edtwin.cxx')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index e8665d2466a7..8899e5bbfd61 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -4613,9 +4613,9 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
// Internetfield? --> call link (load doc!!)
if( !bInSel )
{
- sal_uInt16 nFilter = URLLOAD_NOFILTER;
+ LoadUrlFlags nFilter = LoadUrlFlags::NONE;
if( KEY_MOD1 == rMEvt.GetModifier() )
- nFilter |= URLLOAD_NEWVIEW;
+ nFilter |= LoadUrlFlags::NewView;
bool bExecHyperlinks = m_rView.GetDocShell()->IsReadOnly();
if ( !bExecHyperlinks )