Kaydet (Commit) 36275b61 authored tarafından Miklos Vajna's avatar Miklos Vajna

loplugin:literaltoboolconversion

Change-Id: Iea5209473632891b2015ac2df493e307972867e8
üst 5b7d51af
...@@ -2493,7 +2493,7 @@ void Dxf::finalizeImport() ...@@ -2493,7 +2493,7 @@ void Dxf::finalizeImport()
void Dxf::fillToItemSet( SfxItemSet& rSet ) const void Dxf::fillToItemSet( SfxItemSet& rSet ) const
{ {
if (mxFont) if (mxFont)
mxFont->fillToItemSet(rSet, FONT_PROPTYPE_CELL); mxFont->fillToItemSet(rSet, false);
if (mxNumFmt) if (mxNumFmt)
mxNumFmt->fillToItemSet(rSet); mxNumFmt->fillToItemSet(rSet);
if (mxAlignment) if (mxAlignment)
...@@ -3134,7 +3134,7 @@ OUString StylesBuffer::createDxfStyle( sal_Int32 nDxfId ) const ...@@ -3134,7 +3134,7 @@ OUString StylesBuffer::createDxfStyle( sal_Int32 nDxfId ) const
void StylesBuffer::writeFontToItemSet( SfxItemSet& rItemSet, sal_Int32 nFontId, bool bSkipPoolDefs ) const void StylesBuffer::writeFontToItemSet( SfxItemSet& rItemSet, sal_Int32 nFontId, bool bSkipPoolDefs ) const
{ {
if( Font* pFont = maFonts.get( nFontId ).get() ) 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 void StylesBuffer::writeFontToPropertyMap( PropertyMap& rPropMap, sal_Int32 nFontId ) const
......
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