summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2017-09-20 10:15:47 +0200
committerSzymon Kłos <szymon.klos@collabora.com>2017-09-25 09:38:02 +0200
commit6676193b9fadea85c08d3e9783e023ffdfa1e682 (patch)
tree4d53065a301a6def9aaf748b746e9ff14572612a /include/oox
parentd383d0e9852ac52c36b138c33ce3b3ede8df9215 (diff)
tdf#112086 PPTX export fltValue, ppt_w, ppt_h
Change-Id: Ie77a2f5d9b0179d81c81704d7d760fdceecaa6e1 Reviewed-on: https://gerrit.libreoffice.org/42521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/export/utils.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/oox/export/utils.hxx b/include/oox/export/utils.hxx
index 371cf6a956bf..6bca2edcbd16 100644
--- a/include/oox/export/utils.hxx
+++ b/include/oox/export/utils.hxx
@@ -33,10 +33,12 @@ inline OString I32SHEX_(sal_Int32 x)
return aStr.getStr();
}
inline OString I64S_(sal_Int64 x) { return OString::number(x); }
+inline OString DS_(double x) { return OString::number(x); }
#define I32S(x) I32S_(x).getStr()
#define I32SHEX(x) I32SHEX_(x).getStr()
#define I64S(x) I64S_(x).getStr()
#define IS(x) OString::number( x ).getStr()
+#define DS(x) DS_(x).getStr()
/**
* @return const char* literal "true" for true value, or literal "false"