diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-09-08 10:00:28 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-09-08 10:12:28 +0200 |
commit | 46be75d73b534f88486806c7152cb2436894595a (patch) | |
tree | 8a0655db95a64b718c8b6f6d11697a2a44071052 /sw/source | |
parent | 481cd6368bd1af2b4a51be57bcedfb8fc631bf0e (diff) |
sal_Int16 -> FlyProcessingState
Change-Id: Ibbc48711e656a804a5ac6a5651091131bbf81c4f
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/filter/ww8/attributeoutputbase.hxx | 3 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.hxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtww8.hxx | 2 |
5 files changed, 8 insertions, 7 deletions
diff --git a/sw/source/filter/ww8/attributeoutputbase.hxx b/sw/source/filter/ww8/attributeoutputbase.hxx index 93b6aaa85963..a823b5f89afb 100644 --- a/sw/source/filter/ww8/attributeoutputbase.hxx +++ b/sw/source/filter/ww8/attributeoutputbase.hxx @@ -22,6 +22,7 @@ #include "fields.hxx" #include "WW8TableInfo.hxx" +#include "wrtww8.hxx" #include <rtl/textenc.h> #include <editeng/svxenum.hxx> @@ -310,7 +311,7 @@ public: virtual void SectionTitlePage() = 0; /// Set the state of the Fly at current position - virtual void SetStateOfFlyFrame( sal_Int16 /*nStateOfFlyFrame*/ ){}; + virtual void SetStateOfFlyFrame( FlyProcessingState /*nStateOfFlyFrame*/ ){}; /// If the node has an anchor linked. virtual void SetAnchorIsLinkedToNode( bool /*bAnchorLinkedToNode*/){}; diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 518ce24aa3bc..dd242027ecf6 100644 --- a/sw/source/filter/ww8/docxattributeoutput.cxx +++ b/sw/source/filter/ww8/docxattributeoutput.cxx @@ -969,7 +969,7 @@ void DocxAttributeOutput::EndParagraphProperties( const SfxItemSet* pParagraphMa m_pSerializer->mergeTopMarks( sax_fastparser::MERGE_MARKS_PREPEND ); } -void DocxAttributeOutput::SetStateOfFlyFrame( sal_Int16 nStateOfFlyFrame ) +void DocxAttributeOutput::SetStateOfFlyFrame( FlyProcessingState nStateOfFlyFrame ) { m_nStateOfFlyFrame = nStateOfFlyFrame; } diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index 51f775c5c41b..f860f2d4d049 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -215,7 +215,7 @@ public: /// End of the tag that encloses the run. void EndRedline( const SwRedlineData * pRedlineData ); - virtual void SetStateOfFlyFrame( sal_Int16 nStateOfFlyFrame ) SAL_OVERRIDE; + virtual void SetStateOfFlyFrame( FlyProcessingState nStateOfFlyFrame ) SAL_OVERRIDE; virtual void SetAnchorIsLinkedToNode( bool bAnchorLinkedToNode = false ) SAL_OVERRIDE; virtual bool IsFlyProcessingPostponed() SAL_OVERRIDE; virtual void ResetFlyProcessingFlag() SAL_OVERRIDE; @@ -909,7 +909,7 @@ private: /// members to control the existence of grabbagged SDT properties in the text run sal_Int32 m_nRunSdtPrToken; /// State of the Fly at current position - sal_Int16 m_nStateOfFlyFrame; + FlyProcessingState m_nStateOfFlyFrame; ::sax_fastparser::FastAttributeList *m_pRunSdtPrTokenChildren; ::sax_fastparser::FastAttributeList *m_pRunSdtPrDataBindingAttrs; /// Value of the <w:alias> paragraph SDT element. diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index d03b1b43b93b..b7da8b6cf1a5 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -560,7 +560,7 @@ bool SwWW8AttrIter::IsAnchorLinkedToThisNode( sal_uLong nNodePos ) return false ; } -sal_Int16 SwWW8AttrIter::OutFlys(sal_Int32 nSwPos) +FlyProcessingState SwWW8AttrIter::OutFlys(sal_Int32 nSwPos) { /* #i2916# @@ -2051,7 +2051,7 @@ void MSWordExportBase::OutputTextNode( const SwTxtNode& rNode ) do { const SwRedlineData* pRedlineData = aAttrIter.GetRunLevelRedline( nAktPos ); - sal_Int16 nStateOfFlyFrame = 0; + FlyProcessingState nStateOfFlyFrame = FLY_PROCESSED; bool bPostponeWritingText = false ; OUString aSavedSnippet ; diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx index d2ca234b5409..a1621ac12946 100644 --- a/sw/source/filter/ww8/wrtww8.hxx +++ b/sw/source/filter/ww8/wrtww8.hxx @@ -1548,7 +1548,7 @@ public: int OutAttrWithRange(sal_Int32 nPos); const SwRedlineData* GetParagraphLevelRedline( ); const SwRedlineData* GetRunLevelRedline( sal_Int32 nPos ); - sal_Int16 OutFlys(sal_Int32 nSwPos); + FlyProcessingState OutFlys(sal_Int32 nSwPos); sal_Int32 WhereNext() const { return nAktSwPos; } sal_uInt16 GetScript() const { return mnScript; } |