summaryrefslogtreecommitdiff
path: root/include/comphelper/sequenceasvector.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-18 14:38:54 +0200
committerNoel Grandin <noel@peralex.com>2014-09-22 12:24:23 +0200
commit5139fad429cc70c5c235714e1e9530c28f9b722d (patch)
tree619ca6750576d2a10d7e3d12ff1f431b7bfe4d20 /include/comphelper/sequenceasvector.hxx
parent4e0744b002af73475b5088aec1e6350974ba1673 (diff)
loplugin: cstylecast
Change-Id: I84873c9f84651dc8a1337f37c63020b461314e1b
Diffstat (limited to 'include/comphelper/sequenceasvector.hxx')
-rw-r--r--include/comphelper/sequenceasvector.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/comphelper/sequenceasvector.hxx b/include/comphelper/sequenceasvector.hxx
index 01d6b5cbb2d4..48b9e1a16f01 100644
--- a/include/comphelper/sequenceasvector.hxx
+++ b/include/comphelper/sequenceasvector.hxx
@@ -177,7 +177,7 @@ class SequenceAsVector : public ::std::vector< TElementType >
*/
void operator>>(::com::sun::star::uno::Sequence< TElementType >& lDestination) const
{
- sal_Int32 c = (sal_Int32)this->size();
+ sal_Int32 c = static_cast<sal_Int32>(this->size());
lDestination.realloc(c);
TElementType* pDestination = lDestination.getArray();
@@ -201,7 +201,7 @@ class SequenceAsVector : public ::std::vector< TElementType >
*/
void operator>>(::com::sun::star::uno::Any& aDestination) const
{
- sal_Int32 c = (sal_Int32)this->size();
+ sal_Int32 c = static_cast<sal_Int32>(this->size());
::com::sun::star::uno::Sequence< TElementType > lDestination(c);
TElementType* pDestination = lDestination.getArray();