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:
parent
dd58b893f0
commit
52942df312
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue