summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-03 22:48:03 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-04 00:27:22 +0100
commit951910adf41d88bf12f916f5c5afcb48cc6be4f9 (patch)
tree199809e0c6b5cdf3239046920d99561d53767f47 /sc/source
parent97b6b6f4d0e6293759a02db089c9210b8c7287c1 (diff)
add strings for (no) error cond formats
Change-Id: I0479fe508b02590da80a7fda5e4f4374da2e0294
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/condformat/condformathelper.cxx4
-rw-r--r--sc/source/ui/src/globstr.src8
2 files changed, 12 insertions, 0 deletions
diff --git a/sc/source/ui/condformat/condformathelper.cxx b/sc/source/ui/condformat/condformathelper.cxx
index c6b3ecdbdb6b..3d8b5eeb2135 100644
--- a/sc/source/ui/condformat/condformathelper.cxx
+++ b/sc/source/ui/condformat/condformathelper.cxx
@@ -72,6 +72,10 @@ rtl::OUString getExpression(sal_Int32 nIndex)
return ScGlobal::GetRscString(STR_COND_ABOVE_AVERAGE);
case 16:
return ScGlobal::GetRscString(STR_COND_BELOW_AVERAGE);
+ case 17:
+ return ScGlobal::GetRscString(STR_COND_ERROR);
+ case 18:
+ return ScGlobal::GetRscString(STR_COND_NOERROR);
}
return rtl::OUString();
}
diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src
index bbb89a9cb398..2212b42f0bb6 100644
--- a/sc/source/ui/src/globstr.src
+++ b/sc/source/ui/src/globstr.src
@@ -1923,6 +1923,14 @@ Resource RID_GLOBSTR
{
Text [ en-US ] = "Below Average";
};
+ String STR_COND_ERROR
+ {
+ Text [ en-US ] = "an Error code";
+ };
+ String STR_COND_NOERROR
+ {
+ Text [ en-US ] = "not an Error code";
+ };
String STR_ERR_CONDFORMAT_PROTECTED
{
Text [ en-US ] = "Conditional Formats can not be created, deleted or changed in protected sheets!";