diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-24 12:06:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-24 14:18:23 +0200 |
commit | a910081e0634120118d6f32996591928677d504f (patch) | |
tree | 186345c33254ca7b7a55e0ec664070acb69970bf /sw/source/uibase/docvw/edtwin.cxx | |
parent | 2be4afe53a94fc051aae9ba9b20443f7a350fb18 (diff) |
convert SwFillMode to scoped enum
Change-Id: I03230496aac57f8855ce8d3dcd8576d265060aa6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92845
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/docvw/edtwin.cxx')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index d039be4f2047..bdabfc6def76 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -4218,7 +4218,7 @@ void SwEditWin::MouseMove(const MouseEvent& _rMEvt) { SwRect aRect; sal_Int16 eOrient; - SwFillMode eMode = static_cast<SwFillMode>(rSh.GetViewOptions()->GetShdwCursorFillMode()); + SwFillMode eMode = rSh.GetViewOptions()->GetShdwCursorFillMode(); if( rSh.GetShadowCursorPos( aDocPt, eMode, aRect, eOrient )) { if( !m_pShadCursor ) @@ -4712,7 +4712,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt) rSh.Undo(); } } - SwFillMode eMode = static_cast<SwFillMode>(rSh.GetViewOptions()->GetShdwCursorFillMode()); + SwFillMode eMode = rSh.GetViewOptions()->GetShdwCursorFillMode(); rSh.SetShadowCursorPos( aDocPt, eMode ); } } |