vcl: remove dead code

if (bOverflow)
    {
        const auto [n2, n3] = o3tl::getConversionMulDiv(eFrom, eTo);
        BigInt a4 = n1;
        a4 *= n2;
    }

this does... nothing at all.

Change-Id: Ia47a8f80d6de8a981d71301454f1ffe4feb587f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203681
Reviewed-by: Dan Williams <dcbw@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
Christopher Sherlock
2026-09-24 20:01:12 +02:00
committed by Dan Williams
parent fdad8a0460
commit 5bf98dd16c
-6
View File
@@ -957,12 +957,6 @@ static tools::Long lcl_convertLogicValue(const tools::Long n1, const o3tl::Lengt
bool bOverflow;
const auto nResult = o3tl::convert(n1, eFrom, eTo, bOverflow);
if (bOverflow)
{
const auto [n2, n3] = o3tl::getConversionMulDiv(eFrom, eTo);
BigInt a4 = n1;
a4 *= n2;
}
if (!bOverflow)
return nResult;