[Libreoffice-commits] core.git: writerfilter/source

Stephan Bergmann sbergman at redhat.com
Mon Nov 17 00:51:56 PST 2014


 writerfilter/source/rtftok/rtfdocumentimpl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 394ba4a68b618fb8bd3e76886648c559d90b8ba4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 17 09:51:21 2014 +0100

    loplugin:implicitboolconversion
    
    Change-Id: I389fa692e4a8f99d8de21cf0af3f2a7f0ac1a6f5

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index a7045db..a48553c 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3008,7 +3008,7 @@ int RTFDocumentImpl::dispatchFlag(RTFKeyword nKeyword)
     break;
     case RTF_LTRROW:
     case RTF_RTLROW:
-        m_aStates.top().aTableRowSprms.set(NS_ooxml::LN_CT_TblPrBase_bidiVisual, RTFValue::Pointer_t(new RTFValue(nKeyword == RTF_RTLROW)));
+        m_aStates.top().aTableRowSprms.set(NS_ooxml::LN_CT_TblPrBase_bidiVisual, RTFValue::Pointer_t(new RTFValue(int(nKeyword == RTF_RTLROW))));
         break;
     case RTF_LTRCH:
         // dmapper does not support this.


More information about the Libreoffice-commits mailing list