diff options
author | Michael Stahl <mst@openoffice.org> | 2010-03-09 13:27:17 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-03-09 13:27:17 +0100 |
commit | 6ca446db78cc9724a343eef3ab4c8fc9068c735c (patch) | |
tree | db690eecf0cc5810fd6c8ec3f55b84e6c2a9540b /sw/source/filter/rtf/rtffly.cxx | |
parent | 7e12418df527339d4a78416596ea12ed3cd6133a (diff) |
odfmetadata4: #i109787#: make SwIndex constructor explicit
Diffstat (limited to 'sw/source/filter/rtf/rtffly.cxx')
-rw-r--r-- | sw/source/filter/rtf/rtffly.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/rtf/rtffly.cxx b/sw/source/filter/rtf/rtffly.cxx index 9d3e7bc1b47e..76adc1197305 100644 --- a/sw/source/filter/rtf/rtffly.cxx +++ b/sw/source/filter/rtf/rtffly.cxx @@ -1169,8 +1169,8 @@ void SwRTFParser::ReadFly( int nToken, SfxItemSet* pSet ) SwTxtNode* pTxtNd = pFlySave->nSttNd.GetNode().GetTxtNode(); SwTxtFlyCnt* pFlyCnt = 0; if( 1 == pTxtNd->GetTxt().Len() && - 0 != ( pFlyCnt = (SwTxtFlyCnt*)pTxtNd->GetTxtAttr( - 0, RES_TXTATR_FLYCNT )) && + 0 != (pFlyCnt = static_cast<SwTxtFlyCnt*>( + pTxtNd->GetTxtAttrForCharAt(0, RES_TXTATR_FLYCNT))) && pFlyCnt->GetFlyCnt().GetFrmFmt() ) { // then move the content into the surrounded fly |