diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-30 15:25:57 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-30 23:20:15 +0200 |
commit | 94979c53514a34144c19aceb585eef73cf27b5c4 (patch) | |
tree | b0b23a7718d0fe8cf4189a41d8ac56a0f6c4ae73 /sw/source | |
parent | ab14c7e3a4c32715113bca171839a88193aa77b7 (diff) |
remove useless cast causing a warning
Change-Id: I802dd3d98d5f223d64c90f9020a6dc3eaa1f9c76
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/unocore/unotbl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index d6272295526e..f27e2e2b6477 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -4434,7 +4434,7 @@ uno::Any SwXTableColumns::getByIndex(sal_Int32 nIndex) throw( lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException, std::exception ) { SolarMutexGuard aGuard; - if(nIndex < 0 || getCount() <= static_cast<size_t>(nIndex)) + if(nIndex < 0 || getCount() <= nIndex) throw lang::IndexOutOfBoundsException(); return uno::makeAny(uno::Reference<uno::XInterface>()); // i#21699 not supported } |