summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-12 14:07:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-12 14:08:11 +0200
commita17f715102a368d98f41c7f2dcdb7f5379393d9f (patch)
tree486ead9d2451337e9ee356b071a5ee73eb878761
parent75bcafb4957980c005a793b3f319990854fa8f51 (diff)
Massage code to avoid warnings
Change-Id: I51eacdae13f86e6d51e54b990152d273bf49eedf
-rw-r--r--sc/source/ui/condformat/condformathelper.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/condformat/condformathelper.cxx b/sc/source/ui/condformat/condformathelper.cxx
index 8d44ec43f721..b9377faed563 100644
--- a/sc/source/ui/condformat/condformathelper.cxx
+++ b/sc/source/ui/condformat/condformathelper.cxx
@@ -60,8 +60,7 @@ OUString getExpression(sal_Int32 nIndex)
return ScGlobal::GetRscString(STR_COND_DUPLICATE);
case 9:
return ScGlobal::GetRscString(STR_COND_UNIQUE);
- case 10:
- assert(false);
+
case 11:
return ScGlobal::GetRscString(STR_COND_TOP10);
case 12:
@@ -90,6 +89,9 @@ OUString getExpression(sal_Int32 nIndex)
return ScGlobal::GetRscString(STR_COND_CONTAINS);
case 24:
return ScGlobal::GetRscString(STR_COND_NOT_CONTAINS);
+
+ case 10:
+ assert(false);
}
return OUString();
}