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
commit24046e0b2625c3ed2da1ad5955771a09fe5f2b36 (patch)
tree385e2c48ea75f4f9e7a431f9b6e6f04ce18281b3 /sc/source
parent557814474f7c73b386fa25a189c5139ac854f616 (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 dcad0cbce885..996625e0491b 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;
}