[Libreoffice-commits] .: writerfilter/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Feb 22 04:16:52 PST 2011


 writerfilter/source/dmapper/DomainMapper.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 2c7b025ae45c0e278d91cde321c98796cf069853
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Feb 22 12:01:51 2011 +0000

    silence these warnings

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx b/writerfilter/source/dmapper/DomainMapper.cxx
index f3bcf5f..beaa003 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -687,6 +687,8 @@ void DomainMapper::attribute(Id nName, Value & val)
             //todo: where to put the border properties
             //rContext->Insert(eBorderId, uno::makeAny( aBorderLine ));
             //rContext->Insert(eBorderDistId, uno::makeAny( nLineDistance ));
+            (void)eBorderId;
+            (void)eBorderDistId;
         }
         break;
         case NS_rtf::LN_ITCFIRST:
@@ -2144,6 +2146,8 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
                     eFontPitch =    PROP_CHAR_FONT_PITCH_COMPLEX;
                     break;
                 }
+                (void)eFontFamily;
+                (void)eFontStyle;
                 const FontEntry::Pointer_t pFontEntry(pFontTable->getFontEntry(sal_uInt32(nIntValue)));
                 rContext->Insert(eFontName, true, uno::makeAny( pFontEntry->sFontName  ));
                 rContext->Insert(eFontCharSet, true, uno::makeAny( (sal_Int16)pFontEntry->nTextEncoding  ));


More information about the Libreoffice-commits mailing list