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

Miklos Vajna vmiklos at collabora.co.uk
Sat Apr 18 11:03:06 PDT 2015


 sw/source/filter/ww8/rtfexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d9eefff51b29edb928a6770d90dbb6cf4654e3cf
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sat Apr 18 20:00:30 2015 +0200

    loplugin:implicitboolconversion
    
    Change-Id: I5c74d150d5e7e35ef9512e6f07bf370c521b0fec

diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx
index ab5e763..24d90be 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -512,7 +512,7 @@ void RtfExport::ExportDocument_Impl()
     if (pTxtFmtColl && pTxtFmtColl->GetItemState(RES_PARATR_HYPHENZONE, false, &pItem) == SfxItemState::SET)
     {
         Strm().WriteCharPtr(OOO_STRING_SVTOOLS_RTF_HYPHAUTO);
-        OutULong(static_cast<const SvxHyphenZoneItem*>(pItem)->IsHyphen());
+        OutULong(int(static_cast<const SvxHyphenZoneItem*>(pItem)->IsHyphen()));
     }
 
     // Zoom


More information about the Libreoffice-commits mailing list