[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Thu May 12 12:08:39 UTC 2016
sc/source/ui/condformat/condformathelper.cxx | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit a17f715102a368d98f41c7f2dcdb7f5379393d9f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu May 12 14:07:46 2016 +0200
Massage code to avoid warnings
Change-Id: I51eacdae13f86e6d51e54b990152d273bf49eedf
diff --git a/sc/source/ui/condformat/condformathelper.cxx b/sc/source/ui/condformat/condformathelper.cxx
index 8d44ec4..b9377fa 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();
}
More information about the Libreoffice-commits
mailing list