remove some dead code

ever since
        commit 9c92eb6800
        Author: Noel Grandin <noel.grandin@collabora.co.uk>
        Date:   Mon May 13 15:42:27 2024 +0200
        createFromAscii -> OUString literals in OLimitedFormats

Change-Id: Ic0ab48b13be3799ca5b3b20b9aa8289d8bee03f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174353
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2024-10-01 15:40:50 +02:00
parent dd58b893f0
commit 52942df312

View file

@ -280,6 +280,7 @@ namespace frm
_rConvertedValue.clear();
_rOldValue <<= pFormats[nOldEnumValue].nKey;
bool bModified = false;
bool bFoundIt = false;
// look for the entry with the given format key
@ -296,12 +297,6 @@ namespace frm
++nTablePosition;
}
if (!_rOldValue.hasValue())
{ // did not reach the end of the table (means we found nNewFormat)
// -> go to the end to ensure that _rOldValue is set
_rOldValue <<= pFormats[nOldEnumValue].nKey;
}
OSL_ENSURE(_rOldValue.hasValue(), "OLimitedFormats::convertFormatKeyPropertyValue: did not find the old enum value in the table!");
if (!bFoundIt)