summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-03-27 21:37:06 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-27 21:37:06 +0100
commit36275b61fe0f9ecb57a609ab47aa2246649cc21f (patch)
tree00809ca31cf907466718a7338466ace5390c780f /sc
parent5b7d51af074aa1c4616a6f411892974cc28d2e00 (diff)
loplugin:literaltoboolconversion
Change-Id: Iea5209473632891b2015ac2df493e307972867e8
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/stylesbuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index ab0c16ad9fcc..7cf7158c3239 100644
--- a/sc/source/filter/oox/stylesbuffer.cxx
+++ b/sc/source/filter/oox/stylesbuffer.cxx
@@ -2493,7 +2493,7 @@ void Dxf::finalizeImport()
void Dxf::fillToItemSet( SfxItemSet& rSet ) const
{
if (mxFont)
- mxFont->fillToItemSet(rSet, FONT_PROPTYPE_CELL);
+ mxFont->fillToItemSet(rSet, false);
if (mxNumFmt)
mxNumFmt->fillToItemSet(rSet);
if (mxAlignment)
@@ -3134,7 +3134,7 @@ OUString StylesBuffer::createDxfStyle( sal_Int32 nDxfId ) const
void StylesBuffer::writeFontToItemSet( SfxItemSet& rItemSet, sal_Int32 nFontId, bool bSkipPoolDefs ) const
{
if( Font* pFont = maFonts.get( nFontId ).get() )
- pFont->fillToItemSet( rItemSet, FONT_PROPTYPE_CELL, bSkipPoolDefs );
+ pFont->fillToItemSet( rItemSet, false, bSkipPoolDefs );
}
void StylesBuffer::writeFontToPropertyMap( PropertyMap& rPropMap, sal_Int32 nFontId ) const