summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-08 13:49:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-09 07:20:44 +0100
commit75c604a4ecd61322285f4139621e14166a8db1f2 (patch)
tree995ac51e5c7310e310ce096c14784cac6b357ad0 /store
parentc0847dc7b7a311d19b73d4943d1b0466b10cde4f (diff)
loplugin:convertlong in ucb,sot
Change-Id: I6fa355448834701f11b84584649dfcdecd0f7b2c Reviewed-on: https://gerrit.libreoffice.org/47596 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'store')
-rw-r--r--store/source/stordir.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/store/source/stordir.cxx b/store/source/stordir.cxx
index bbfe71876e39..c1d70ef7a84b 100644
--- a/store/source/stordir.cxx
+++ b/store/source/stordir.cxx
@@ -179,8 +179,8 @@ storeError OStoreDirectory_Impl::iterate (storeFindData &rFindData)
// Setup FindData.
sal_Char *p = xNode->m_aNameBlock.m_pData;
- sal_Size n = rtl_str_getLength (p);
- sal_Size k = rFindData.m_nLength;
+ sal_Int32 n = rtl_str_getLength (p);
+ sal_Int32 k = rFindData.m_nLength;
n = convertTextToUnicode (
m_hTextCvt, p, n,
@@ -191,7 +191,7 @@ storeError OStoreDirectory_Impl::iterate (storeFindData &rFindData)
memset (&rFindData.m_pszName[n], 0, k);
}
- rFindData.m_nLength = static_cast<sal_Int32>(n);
+ rFindData.m_nLength = n;
rFindData.m_nAttrib |= aPage.attrib();
// Leave.