summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/condformat/condformatdlgentry.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index 0e6a55f7a023..d23b254829e2 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -1281,13 +1281,12 @@ ScIconSetFrmtDataEntry::ScIconSetFrmtDataEntry(weld::Container* pParent, ScIconS
, mxLbEntryType(mxBuilder->weld_combo_box(u"listbox"_ustr))
, mpContainer(pParent)
{
- // tdf#162948: Use ">" instead of ">=". Add some spaces to keep the alignment
- if (!pEntry->GetGreaterThanOrEqual())
- mxFtEntry->set_label(" > ");
-
mxImgIcon->set_from_icon_name(ScIconSetFormat::getIconName(eType, i));
if(pEntry)
{
+ // tdf#162948: Use ">" instead of ">=". Add some spaces to keep the alignment
+ if (!pEntry->GetGreaterThanOrEqual())
+ mxFtEntry->set_label(" > ");
switch(pEntry->GetType())
{
case COLORSCALE_VALUE: