summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8graf2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8graf2.cxx')
-rw-r--r--sw/source/filter/ww8/ww8graf2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8graf2.cxx b/sw/source/filter/ww8/ww8graf2.cxx
index dbcfdc32aedd..dead560dfb6f 100644
--- a/sw/source/filter/ww8/ww8graf2.cxx
+++ b/sw/source/filter/ww8/ww8graf2.cxx
@@ -457,11 +457,11 @@ void SwWW8ImplReader::PicRead(SvStream *pDataStream, WW8_PIC *pPic,
namespace
{
- sal_uInt8 GetNodeType(SwFrameFormat &rSource)
+ SwNodeType GetNodeType(SwFrameFormat &rSource)
{
const SwNodeIndex* pNodeIndex = rSource.GetContent().GetContentIdx();
if (!pNodeIndex)
- return 0;
+ return SwNodeType::NONE;
const SwNode& rCSttNd = pNodeIndex->GetNode();
SwNodeRange aRg(rCSttNd, 1, *rCSttNd.EndOfSectionNode());
return aRg.aStart.GetNode().GetNodeType();