summaryrefslogtreecommitdiffstats
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-30 20:52:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-03-30 21:21:29 +0100
commitcbedb5a64229dc3a7b6528fd1486e47f6233be71 (patch)
treefbf804654502fa72a2df4de5b0c1afb277520c31 /sc/source
parentcoverity#1194913 Overflowed return value (diff)
downloadcore-cbedb5a64229dc3a7b6528fd1486e47f6233be71.tar.gz
core-cbedb5a64229dc3a7b6528fd1486e47f6233be71.zip
coverity#1194916 Overflowed return value
Change-Id: I26614f6d95276ec2b3b57301bd38ac53ea8f225d
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/miscdlgs/mvtabdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/mvtabdlg.cxx b/sc/source/ui/miscdlgs/mvtabdlg.cxx
index 54453fa97321..1e6a40eaa838 100644
--- a/sc/source/ui/miscdlgs/mvtabdlg.cxx
+++ b/sc/source/ui/miscdlgs/mvtabdlg.cxx
@@ -205,7 +205,7 @@ void ScMoveTableDlg::CheckNewTabName()
ScDocument* ScMoveTableDlg::GetSelectedDoc()
{
- sal_uInt16 nPos = pLbDoc->GetSelectEntryPos();
+ sal_Int32 nPos = pLbDoc->GetSelectEntryPos();
return static_cast<ScDocument*>(pLbDoc->GetEntryData(nPos));
}