diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2009-01-23 12:03:41 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2009-01-23 12:03:41 +0000 |
commit | 0f0677a5e907deb8c625a790bed01ada8678dff6 (patch) | |
tree | ce31a050f41bab2b7d22b873201d96400aeed57b /sc/source/ui/docshell/externalrefmgr.cxx | |
parent | a66f1274225e8a12252e0b3493606ee56a9090d9 (diff) |
#i10000# get rid of warnings on windows
Diffstat (limited to 'sc/source/ui/docshell/externalrefmgr.cxx')
-rw-r--r-- | sc/source/ui/docshell/externalrefmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index 10552789e..58d5c0cc1 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -622,7 +622,7 @@ SCsTAB ScExternalRefCache::getTabSpan( sal_uInt16 nFileId, const String& rStartT size_t nStartDist = ::std::distance( itrBeg, itrStartTab); size_t nEndDist = ::std::distance( itrBeg, itrEndTab); - return nStartDist <= nEndDist ? nEndDist - nStartDist + 1 : -(nStartDist - nEndDist + 1); + return nStartDist <= nEndDist ? (SCsTAB)(nEndDist - nStartDist + 1) : -(SCsTAB)(nStartDist - nEndDist + 1); } void ScExternalRefCache::getAllNumberFormats(vector<sal_uInt32>& rNumFmts) const |