From 2c9b7e3304db9d571d15a4ba3732acf8cf40cffe Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 6 May 2015 15:16:37 +0200 Subject: SvxOpaqueItem takes a sal_uInt16 nId as first argument This code was like that ever since 84a3db80b4fd66c6854b3135b5f69b61fd828e62 "initial import." From other uses of SvxOpaqueItem, the best bet appears to be RES_OPAQUE. Change-Id: I19de8fac4f41716d9c2a73bda4a8cea200ae99f8 --- sw/source/core/doc/DocumentStylePoolManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx index 3276b9f4db46..8d4fe0e1b7ae 100644 --- a/sw/source/core/doc/DocumentStylePoolManager.cxx +++ b/sw/source/core/doc/DocumentStylePoolManager.cxx @@ -1318,7 +1318,7 @@ SwFmt* DocumentStylePoolManager::GetFmtFromPool( sal_uInt16 nId ) aSet.Put( SwFmtAnchor( FLY_AT_PAGE )); aSet.Put( SwFmtHoriOrient( 0, text::HoriOrientation::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 )); } break; -- cgit