diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-08-01 12:20:28 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-08-01 15:04:57 +0200 |
commit | 61ebd4fac9da6a56ae89beeb850a719820a87920 (patch) | |
tree | 236b703fe4ab8498cc9bc26efdcf4ba49d0dfec3 /oox | |
parent | f40ec956b65ba25eacb75f201ea039639a5d1297 (diff) |
Use temporaries for dummy arguments
Change-Id: Idd91a4dedc3a37aac572343580da9587d58b0810
Reviewed-on: https://gerrit.libreoffice.org/58405
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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)); |