diff options
author | Noel Grandin <noel@peralex.com> | 2012-07-19 14:07:52 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-26 14:30:09 +0200 |
commit | a236f8318a0e05caeec53ccbee8b134f44a98008 (patch) | |
tree | e8e25865b99cd8f89c1077ceda74e1c4867ee571 /sw/source/filter/ww8 | |
parent | db9274645596be84d449fdc6e224ddd0959b8ea4 (diff) |
Convert SV_DECL_PTRARR_SORT(_SwFtnIdxs) to o3tl::sorted_vector
Change-Id: I84c4cd5686ea0649ad9ca6c879d51bffe6d693c2
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r-- | sw/source/filter/ww8/wrtw8sty.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par2.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index 2a1d4bbdbdf5..54cc347dd9da 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -139,7 +139,7 @@ MSWordStyles::MSWordStyles( MSWordExportBase& rExport ) { // if exist any Foot-/End-Notes then get from the EndNoteInfo struct // the CharFormats. They will create it! - if ( m_rExport.pDoc->GetFtnIdxs().Count() ) + if ( !m_rExport.pDoc->GetFtnIdxs().empty() ) { m_rExport.pDoc->GetEndNoteInfo().GetAnchorCharFmt( *m_rExport.pDoc ); m_rExport.pDoc->GetEndNoteInfo().GetCharFmt( *m_rExport.pDoc ); diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index 2eb6cd75decf..0e3b08a87670 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -382,7 +382,7 @@ sal_uInt16 SwWW8ImplReader::End_Ftn() const SwNodeIndex* pSttIdx = ((SwTxtFtn*)pFN)->GetStartNode(); OSL_ENSURE(pSttIdx, "Probleme beim Anlegen des Fussnoten-Textes"); - ((SwTxtFtn*)pFN)->SetSeqNo( rDoc.GetFtnIdxs().Count() ); + ((SwTxtFtn*)pFN)->SetSeqNo( rDoc.GetFtnIdxs().size() ); bool bOld = bFtnEdn; bFtnEdn = true; |