diff options
author | Jay Berkenbilt <ejb@ql.org> | 2012-06-27 16:43:27 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2012-06-27 16:43:27 +0200 |
commit | 5f59c32f876556a031dd2536b5c7f0fb0b58968d (patch) | |
tree | 1067aa2e6ddafcd0fcd0b7715c693ce7d4f58f0e /include | |
parent | a167ce8120e171308b2388b1c50dd8cc7d007f84 (diff) | |
download | qpdf-5f59c32f876556a031dd2536b5c7f0fb0b58968d.tar.zst |
Add a few minor enhancements to recent work
Test coverage case for new newStream method
Expose decimal_places argument for double-based newReal
All enhancements suggested by Tobias.
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 8cfe56f3..a61277a9 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -102,7 +102,7 @@ class QPDFObjectHandle QPDF_DLL static QPDFObjectHandle newReal(std::string const& value); QPDF_DLL - static QPDFObjectHandle newReal(double value); + static QPDFObjectHandle newReal(double value, int decimal_places = 0); QPDF_DLL static QPDFObjectHandle newName(std::string const& name); QPDF_DLL |