diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-11-23 15:45:58 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-11-24 14:46:56 +0100 |
commit | 485331b1cdf588f3d2da657723c88ed243367f55 (patch) | |
tree | e407362140d707215d59e19e1b1002f4b4bd6d00 /sw | |
parent | 3f23236dbd3fbfa4fdedde4b8867772d4330a87f (diff) |
Remove unneeded xub_StrLen cast
Change-Id: Ia26f220fa7857f14dfc89b2929f60669ade3b4ea
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/fields/ddefld.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/fields/ddefld.cxx b/sw/source/core/fields/ddefld.cxx index 9b0bf972161a..981997cbb014 100644 --- a/sw/source/core/fields/ddefld.cxx +++ b/sw/source/core/fields/ddefld.cxx @@ -63,8 +63,7 @@ public: { uno::Sequence< sal_Int8 > aSeq; rValue >>= aSeq; - OUString sStr( (sal_Char*)aSeq.getConstArray(), static_cast<xub_StrLen>(aSeq.getLength()), - DDE_TXT_ENCODING ); + OUString sStr( (sal_Char*)aSeq.getConstArray(), aSeq.getLength(), DDE_TXT_ENCODING ); // remove not needed CR-LF at the end sal_Int32 n = sStr.getLength(); |