| commit | af56ed1ca1e4d37bdef0875757bdee050c35cfef | [log] |
|---|---|---|
| author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | Sun Mar 29 23:01:10 2015 +0200 |
| committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | Mon Mar 30 04:34:24 2015 +0200 |
| tree | 3f437676f313d68078c8bfee9589d2d23eff2077 | |
| parent | e21e3b26646e9642d3e72269c44cbe3b781f9782 [diff] |
fix condition Change-Id: If8ad2361d6c0d838c39f8625f129fc326efd2cd4
diff --git a/sc/source/ui/unoobj/condformatuno.cxx b/sc/source/ui/unoobj/condformatuno.cxx index 1a5af16..88fd41a 100644 --- a/sc/source/ui/unoobj/condformatuno.cxx +++ b/sc/source/ui/unoobj/condformatuno.cxx
@@ -398,7 +398,7 @@ uno::Any ScCondFormatObj::getByIndex(sal_Int32 nIndex) throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if (getCoreObject()->size() >= size_t(nIndex)) if (getCoreObject()->size() <= size_t(nIndex)) throw lang::IllegalArgumentException(); const ScFormatEntry* pEntry = getCoreObject()->GetEntry(nIndex);