Kaydet (Commit) 40478226 authored tarafından Michael Stahl's avatar Michael Stahl

sw: SwAccessiblePortionData::m_aAttrFieldType is dead

Remove this IA2 appendix, it's also dead in aoo/trunk...

Change-Id: Id13835fb20e13f5f84a289f6a94c99c3b55409df
üst 8f294d9f
......@@ -75,7 +75,6 @@ SwAccessiblePortionData::SwAccessiblePortionData(
m_aModelPositions(),
m_aAccessiblePositions(),
m_aFieldPosition(),
m_aAttrFieldType(),
m_aPortionAttrs(),
m_nBeforePortions( 0 ),
m_bFinished( false )
......@@ -120,11 +119,6 @@ void SwAccessiblePortionData::Text(TextFrameIndex const nLength,
m_nModelPosition += nLength;
}
void SwAccessiblePortionData::SetAttrFieldType( sal_uInt16 nAttrFieldType )
{
m_aAttrFieldType.push_back(nAttrFieldType);
}
void SwAccessiblePortionData::Special(
TextFrameIndex const nLength, const OUString& rText, sal_uInt16 nType,
sal_Int32 /*nHeight*/, sal_Int32 /*nWidth*/, const SwFont* /*pFont*/)
......
......@@ -59,7 +59,6 @@ class SwAccessiblePortionData : public SwPortionHandler
Positions_t m_aModelPositions; /// position of portion breaks in the model
Positions_t m_aAccessiblePositions; /// portion breaks in sAccessibleString
Positions_t m_aFieldPosition;
Positions_t m_aAttrFieldType;
std::vector<sal_uInt8> m_aPortionAttrs; /// additional portion attributes
......@@ -101,7 +100,6 @@ public:
virtual void Skip(TextFrameIndex nLength) override;
virtual void Finish() override;
virtual void SetAttrFieldType( sal_uInt16 nAttrFieldType ) override;
bool FillBoundaryIFDateField( css::i18n::Boundary& rBound, const sal_Int32 nPos );
bool IsIndexInFootnode(sal_Int32 nIndex);
bool IsInGrayPortion( sal_Int32 nPos );
......
......@@ -96,8 +96,6 @@ public:
* paragraph's portions have been processed.
*/
virtual void Finish() = 0;
virtual void SetAttrFieldType( sal_uInt16 )
{ return; }
};
#endif
......
......@@ -458,10 +458,6 @@ void SwFieldPortion::HandlePortion( SwPortionHandler& rPH ) const
nW = m_pFont->GetSize(m_pFont->GetActual()).Width();
}
rPH.Special( GetLen(), m_aExpand, GetWhichPor(), nH, nW, m_pFont.get() );
if( GetWhichPor() == POR_FLD )
{
rPH.SetAttrFieldType(m_nAttrFieldType);
}
}
SwPosSize SwFieldPortion::GetTextSize( const SwTextSizeInfo &rInf ) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment