summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-06 15:16:37 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-06 15:17:10 +0200
commit2c9b7e3304db9d571d15a4ba3732acf8cf40cffe (patch)
tree9181bc3d6f883578bbd1bc6fa57c021786f772f0
parent8c4bbc0a0ddb1ea8051f0be5a42ef128cf7d891e (diff)
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
-rw-r--r--sw/source/core/doc/DocumentStylePoolManager.cxx2
1 files changed, 1 insertions, 1 deletions
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;