summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-12 00:31:08 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-13 10:10:38 +0200
commit6da43412281a74d67ac4f64222b5eb89793f5b95 (patch)
tree015b05ad43b8f751b749d07b2fc5de09866d0e77 /sc
parent24c35276a97a3140b9ac655f4d9f35373b1ad6d1 (diff)
warning C4242: 'initializing' : conversion from 'size_t' to 'sal_uInt16'
Change-Id: Ie5e64701a011768d861607a2e4267d75b995413e
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/optdlg/tpusrlst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx
index 1713aa0c75bf..a2b637dcb5e3 100644
--- a/sc/source/ui/optdlg/tpusrlst.cxx
+++ b/sc/source/ui/optdlg/tpusrlst.cxx
@@ -263,7 +263,7 @@ void ScTpUserLists::UpdateEntries( size_t nList )
if ( nList < pUserLists->size() )
{
const ScUserListData* pList = (*pUserLists)[nList];
- sal_uInt16 nSubCount = pList->GetSubCount();
+ std::size_t nSubCount = pList->GetSubCount();
OUString aEntryListStr;
for ( sal_uInt16 i=0; i<nSubCount; i++ )