summaryrefslogtreecommitdiff
path: root/scaddins
diff options
context:
space:
mode:
Diffstat (limited to 'scaddins')
-rw-r--r--scaddins/qa/analysis.cxx2
-rw-r--r--scaddins/source/analysis/analysishelper.cxx3
2 files changed, 5 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))));
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx
index 7a0419c67fe9..721e23e28f87 100644
--- a/scaddins/source/analysis/analysishelper.cxx
+++ b/scaddins/source/analysis/analysishelper.cxx
@@ -2747,6 +2747,9 @@ bool ScaAnyConverter::getDouble(
}
break;
case uno::TypeClass_HYPER:
+ rfResult = rAny.get<sal_Int64>();
+ break;
+ case uno::TypeClass_UNSIGNED_HYPER:
rfResult = rAny.get<sal_uInt64>();
break;
default: