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/uibase/dochdl/swdtflvr.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/uibase/dochdl/swdtflvr.cxx')
-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 61da23c2ca1f..9e8a3f8cefcb 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -329,7 +329,7 @@ uno::Reference < embed::XEmbeddedObject > SwTransferable::FindOLEObj( sal_Int64& { SwIterator<SwContentNode,SwFormatColl> aIter( *m_pClpDocFac->GetDoc()->GetDfltGrfFormatColl() ); for( SwContentNode* pNd = aIter.First(); pNd; pNd = aIter.Next() ) - if( ND_OLENODE == pNd->GetNodeType() ) + if( SwNodeType::Ole == pNd->GetNodeType() ) { xObj = static_cast<SwOLENode*>(pNd)->GetOLEObj().GetOleRef(); nAspect = static_cast<SwOLENode*>(pNd)->GetAspect(); @@ -345,7 +345,7 @@ const Graphic* SwTransferable::FindOLEReplacementGraphic() const { SwIterator<SwContentNode,SwFormatColl> aIter( *m_pClpDocFac->GetDoc()->GetDfltGrfFormatColl() ); for( SwContentNode* pNd = aIter.First(); pNd; pNd = aIter.Next() ) - if( ND_OLENODE == pNd->GetNodeType() ) + if( SwNodeType::Ole == pNd->GetNodeType() ) { return static_cast<SwOLENode*>(pNd)->GetGraphic(); } |