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 @@ -51,6 +51,8 @@ CPPUNIT_TEST_FIXTURE(Test, test_getDec2Hex) mxAnalysis->getDec2Hex({}, 110, css::uno::Any(sal_uInt32(10)))); 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, 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(); + break; + case uno::TypeClass_UNSIGNED_HYPER: rfResult = rAny.get(); break; default: