summaryrefslogtreecommitdiff
path: root/sc/source/ui/condformat/condformathelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/condformat/condformathelper.cxx')
-rw-r--r--sc/source/ui/condformat/condformathelper.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/condformat/condformathelper.cxx b/sc/source/ui/condformat/condformathelper.cxx
index 09eaa24859df..67a175dfb837 100644
--- a/sc/source/ui/condformat/condformathelper.cxx
+++ b/sc/source/ui/condformat/condformathelper.cxx
@@ -27,6 +27,8 @@ rtl::OUString getTextForType(ScCondFormatEntryType eType)
return ScGlobal::GetRscString(STR_COND_FORMULA);
case ICONSET:
return ScGlobal::GetRscString(STR_COND_ICONSET);
+ case DATE:
+ return ScGlobal::GetRscString(STR_COND_DATE);
default:
break;
}
@@ -136,6 +138,9 @@ rtl::OUString ScCondFormatHelper::GetExpression(const ScConditionalFormat& rForm
case condformat::ICONSET:
aBuffer.append(getTextForType(ICONSET));
break;
+ case condformat::DATE:
+ aBuffer.append(getTextForType(DATE));
+ break;
}
}
return aBuffer.makeStringAndClear();