[Libreoffice-commits] core.git: oox/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Aug 1 13:05:23 UTC 2018
oox/source/export/chartexport.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 61ebd4fac9da6a56ae89beeb850a719820a87920
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Wed Aug 1 12:20:28 2018 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Aug 1 15:04:57 2018 +0200
Use temporaries for dummy arguments
Change-Id: Idd91a4dedc3a37aac572343580da9587d58b0810
Reviewed-on: https://gerrit.libreoffice.org/58405
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 2a2223c813ca..142f8528c2f4 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -105,6 +105,7 @@
#include <unordered_set>
#include <rtl/math.hxx>
+#include <o3tl/temporary.hxx>
using namespace css;
using namespace css::uno;
@@ -2336,9 +2337,8 @@ void ChartExport::exportTextProps(const Reference<XPropertySet>& xPropSet, bool
pFS->startElement(FSNS(XML_a, XML_p), FSEND);
pFS->startElement(FSNS(XML_a, XML_pPr), FSEND);
- bool bOverrideCharHeight = false;
- sal_Int32 nCharHeight;
- WriteRunProperties(xPropSet, false, XML_defRPr, true, bOverrideCharHeight, nCharHeight);
+ WriteRunProperties(xPropSet, false, XML_defRPr, true, o3tl::temporary(false),
+ o3tl::temporary(sal_Int32()));
pFS->endElement(FSNS(XML_a, XML_pPr));
pFS->endElement(FSNS(XML_a, XML_p));
More information about the Libreoffice-commits
mailing list