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

Tor Lillqvist tml at collabora.com
Wed Mar 16 12:46:53 UTC 2016


 xmloff/source/text/txtflde.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 6eb7cd38e348e8a9d6498bfc2d41e91725eb34aa
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Mar 16 14:45:08 2016 +0200

    loplugin:defaultparams
    
    Change-Id: I6d973c5402317b99c1d0eed85d4bb1de83d35fe2

diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index 4964024..3ccef24 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -1280,7 +1280,7 @@ void XMLTextFieldExport::ExportFieldHelper(
             // adjust value given as integer in minutes
             ProcessDateTime(XML_TIME_ADJUST,
                             GetIntProperty(sPropertyAdjust, rPropSet),
-                            false, true, true);
+                            false, true);
         }
         ExportElement(XML_TIME, sPresentation);
         break;
@@ -1325,7 +1325,7 @@ void XMLTextFieldExport::ExportFieldHelper(
             // adjust value given as number of days
             ProcessDateTime(XML_DATE_ADJUST,
                             GetIntProperty(sPropertyAdjust, rPropSet),
-                            true, true, true);
+                            true, true);
         }
         ExportElement(XML_DATE, sPresentation);
         break;
@@ -2669,7 +2669,7 @@ void XMLTextFieldExport::ProcessDateTime(enum XMLTokenEnum eName,
     if (!(bIsDuration && (nMinutes==0)))
     {
         ProcessDateTime(eName, (double)nMinutes / (double)(24*60),
-                        bIsDate, bIsDuration, true/*bOmitDurationIfZero*/);
+                        bIsDate, bIsDuration);
     }
 }
 


More information about the Libreoffice-commits mailing list