summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
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.