Kaydet (Commit) 2c9b7e33 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

SvxOpaqueItem takes a sal_uInt16 nId as first argument

This code was like that ever since 84a3db80
"initial import."  From other uses of SvxOpaqueItem, the best bet appears to be
RES_OPAQUE.

Change-Id: I19de8fac4f41716d9c2a73bda4a8cea200ae99f8
üst 8c4bbc0a
...@@ -1318,7 +1318,7 @@ SwFmt* DocumentStylePoolManager::GetFmtFromPool( sal_uInt16 nId ) ...@@ -1318,7 +1318,7 @@ SwFmt* DocumentStylePoolManager::GetFmtFromPool( sal_uInt16 nId )
aSet.Put( SwFmtAnchor( FLY_AT_PAGE )); aSet.Put( SwFmtAnchor( FLY_AT_PAGE ));
aSet.Put( SwFmtHoriOrient( 0, text::HoriOrientation::CENTER, text::RelOrientation::FRAME )); aSet.Put( SwFmtHoriOrient( 0, text::HoriOrientation::CENTER, text::RelOrientation::FRAME ));
aSet.Put( SwFmtVertOrient( 0, text::VertOrientation::CENTER, text::RelOrientation::FRAME )); aSet.Put( SwFmtVertOrient( 0, text::VertOrientation::CENTER, text::RelOrientation::FRAME ));
aSet.Put( SvxOpaqueItem( sal_False )); aSet.Put( SvxOpaqueItem( RES_OPAQUE, false ));
aSet.Put( SwFmtSurround( SURROUND_THROUGHT )); aSet.Put( SwFmtSurround( SURROUND_THROUGHT ));
} }
break; break;
......
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