diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-29 09:22:43 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-29 08:20:23 +0000 |
commit | b8aa1def37b62091f15bf09529104ca38333d5f5 (patch) | |
tree | c9e61d8b33d24283a8639ac3d4269801d5e7e69f /sw/source/core/edit/edws.cxx | |
parent | 53a156fc3b500f5647493319acb264ba24b2b3fb (diff) |
convert ND constants to o3tl::typed_flags
Change-Id: I5fe3df5515017ec24db1184e8aca823714fcfdb3
Reviewed-on: https://gerrit.libreoffice.org/31343
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/edit/edws.cxx')
-rw-r--r-- | sw/source/core/edit/edws.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx index 25c890628e11..f96fd03d14cf 100644 --- a/sw/source/core/edit/edws.cxx +++ b/sw/source/core/edit/edws.cxx @@ -116,9 +116,10 @@ sal_uInt16 SwEditShell::GetCntType() const else switch( GetCursor()->GetNode().GetNodeType() ) { - case ND_TEXTNODE: nRet = CNT_TXT; break; - case ND_GRFNODE: nRet = CNT_GRF; break; - case ND_OLENODE: nRet = CNT_OLE; break; + case SwNodeType::Text: nRet = CNT_TXT; break; + case SwNodeType::Grf: nRet = CNT_GRF; break; + case SwNodeType::Ole: nRet = CNT_OLE; break; + default: break; } OSL_ASSERT( nRet ); |