[Libreoffice-commits] core.git: sw/source
Stephan Bergmann
sbergman at redhat.com
Wed May 6 06:17:37 PDT 2015
sw/source/core/doc/DocumentStylePoolManager.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2c9b7e3304db9d571d15a4ba3732acf8cf40cffe
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 6 15:16:37 2015 +0200
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
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx
index 3276b9f4..8d4fe0e 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;
More information about the Libreoffice-commits
mailing list