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

Noel Grandin noel.grandin at collabora.co.uk
Thu May 17 10:14:29 UTC 2018


 reportdesign/source/filter/xml/xmlControlProperty.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ef74b2ea5691ef9465b8f523030c039f6f0d8688
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Thu May 17 12:00:02 2018 +0200

    unreferenced local variable
    
    Change-Id: Ie212f26b88ed5cf08bbc72a278adce3cdf04c400

diff --git a/reportdesign/source/filter/xml/xmlControlProperty.cxx b/reportdesign/source/filter/xml/xmlControlProperty.cxx
index c232a44d6019..e14b86e0e6dc 100644
--- a/reportdesign/source/filter/xml/xmlControlProperty.cxx
+++ b/reportdesign/source/filter/xml/xmlControlProperty.cxx
@@ -275,6 +275,7 @@ Any OXMLControlProperty::convertString(const css::uno::Type& _rExpectedType, con
                             double dummy;
                             OSL_ENSURE(std::modf(nValue, &dummy) == 0,
                                 "OPropertyImport::convertString: a Date value with a fractional part?");
+                            (void)dummy;
                             aReturn <<= implGetDate(nValue);
                         }
                         break;


More information about the Libreoffice-commits mailing list