summaryrefslogtreecommitdiff
path: root/scaddins/qa/analysis.cxx
diff options
context:
space:
mode:
authorLuv Sharma <luvsharma.del@gmail.com>2024-02-05 19:36:14 +0530
committerMike Kaganski <mike.kaganski@collabora.com>2024-02-09 13:38:03 +0100
commit5fef3ebe9efd4d4e8569e620e82771f5560c5524 (patch)
treebe9ef2a76222c2d56fe4eb0f4dff040d996dd355 /scaddins/qa/analysis.cxx
parent41192a36796155f8cd6ac733f5ef84767edf300f (diff)
tdf#148645 getDec2Hex now takes integer 'places' value (updated)
Change-Id: Ibc793f7654c9ec9b1a96b3caf2c16f2fde14c030 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163005 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'scaddins/qa/analysis.cxx')
-rw-r--r--scaddins/qa/analysis.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/scaddins/qa/analysis.cxx b/scaddins/qa/analysis.cxx
index 5a8cec506e91..1afe4837e276 100644
--- a/scaddins/qa/analysis.cxx
+++ b/scaddins/qa/analysis.cxx
@@ -52,6 +52,8 @@ CPPUNIT_TEST_FIXTURE(Test, test_getDec2Hex)
CPPUNIT_ASSERT_EQUAL(u"000000006E"_ustr,
mxAnalysis->getDec2Hex({}, 110, css::uno::Any(sal_Int64(10))));
CPPUNIT_ASSERT_EQUAL(u"000000006E"_ustr,
+ mxAnalysis->getDec2Hex({}, 110, css::uno::Any(sal_uInt64(10))));
+ CPPUNIT_ASSERT_EQUAL(u"000000006E"_ustr,
mxAnalysis->getDec2Hex({}, 110, css::uno::Any(double(10))));
CPPUNIT_ASSERT_EQUAL(u"000000006E"_ustr,
mxAnalysis->getDec2Hex({}, 110, css::uno::Any(float(10))));