diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-10 15:36:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 08:17:42 +0200 |
commit | 80d2fa87fdaf67615d7b8128f3c05b239a1f1c05 (patch) | |
tree | 86fbf89631b4c82228e48ffd04da9ba776c07cb0 /sw/source/uibase/dochdl | |
parent | f0c57266709509ae24cfb1615d136263fb1e8d60 (diff) |
convert IsAttrAtPos to scoped o3tl::typed_flags
Change-Id: Ie3a361a96201cb1a0ab446bcf77b7c0e79e05e89
Diffstat (limited to 'sw/source/uibase/dochdl')
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 8ddf1448c2bd..190afa612de4 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -453,7 +453,7 @@ bool SwTransferable::GetData( const DataFlavor& rFlavor, const OUString& rDestDo if( nSelectionType & nsSelectionType::SEL_TXT && !m_pWrtShell->HasMark() ) { - SwContentAtPos aContentAtPos( SwContentAtPos::SW_INETATTR ); + SwContentAtPos aContentAtPos( IsAttrAtPos::InetAttr ); Point aPos( SwEditWin::GetDDStartPosX(), SwEditWin::GetDDStartPosY()); @@ -3115,7 +3115,7 @@ void SwTransferable::SetDataForDragAndDrop( const Point& rSttPos ) else if( nSelection & nsSelectionType::SEL_TXT && !m_pWrtShell->HasMark() ) { // is only one field - selected? - SwContentAtPos aContentAtPos( SwContentAtPos::SW_INETATTR ); + SwContentAtPos aContentAtPos( IsAttrAtPos::InetAttr ); Point aPos( SwEditWin::GetDDStartPosX(), SwEditWin::GetDDStartPosY()); if( m_pWrtShell->GetContentAtPos( aPos, aContentAtPos ) ) |