sw/source/core/unocore/unotbl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 50c33461201d9183e9304d064eb9669a7bad5b31 Author: Tor Lillqvist <t...@collabora.com> Date: Wed Apr 1 15:33:17 2015 +0300 WaE: comparison of integers of different signs Change-Id: Iae6be25962975f7db2226d4e5d58ce69eb23de57 diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index c9e3a81..cf56f1f 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -4018,7 +4018,7 @@ void SwXCellRange::setLabelDescriptions(const uno::Sequence<OUString>& rDesc, bo throw uno::RuntimeException("Table too complex", static_cast<cppu::OWeakObject*>(this)); auto xLabelRange(getCellRangeByPosition(nLeft, nTop, nRight, nBottom)); auto vCells(static_cast<SwXCellRange*>(xLabelRange.get())->getCells()); - if(rDesc.getLength() != vCells.size()) + if(rDesc.getLength() != (sal_Int32) vCells.size()) throw uno::RuntimeException("Too few or too many descriptions", static_cast<cppu::OWeakObject*>(this)); auto pDescIterator(rDesc.begin()); for(auto xCell : vCells) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits