[Libreoffice-commits] core.git: sc/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Mar 27 13:48:01 PDT 2015
sc/source/filter/oox/stylesbuffer.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 36275b61fe0f9ecb57a609ab47aa2246649cc21f
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Mar 27 21:37:06 2015 +0100
loplugin:literaltoboolconversion
Change-Id: Iea5209473632891b2015ac2df493e307972867e8
diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index ab0c16a..7cf7158 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
More information about the Libreoffice-commits
mailing list