summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorDaniel Rentz <dr@openoffice.org>2009-10-15 07:58:02 +0000
committerDaniel Rentz <dr@openoffice.org>2009-10-15 07:58:02 +0000
commitec3c6a40f01f298cf01e5557b597e446e53839e0 (patch)
treead91fabe6205352a49e04fd8726c4a524e326d52 /sc/source
parent1c4017e96d11831dbac12f7d316fb8318ba9a969 (diff)
wntmsci12 warning
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/view/dbfunc3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index 86fc703cd..b9183fa06 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -1788,7 +1788,7 @@ bool ScDBFunc::DataPilotSort( const ScAddress& rPos, bool bAscending, sal_uInt16
nRank = itrSub->second;
if (!bAscending)
- nRank = nMemberCount - nRank - 1;
+ nRank = static_cast< sal_uInt16 >( nMemberCount - nRank - 1 );
aRankedNames[nRank] = aName;
}