summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/view/tabview4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabview4.cxx')
-rw-r--r--sc/source/ui/view/tabview4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview4.cxx b/sc/source/ui/view/tabview4.cxx
index be95dcbab4b5..1fede34f367b 100644
--- a/sc/source/ui/view/tabview4.cxx
+++ b/sc/source/ui/view/tabview4.cxx
@@ -458,7 +458,7 @@ void ScTabView::UpdateScrollBars( HeaderType eHeaderType )
void ScTabView::InvertHorizontal( ScVSplitPos eWhich, long nDragPos )
{
for (sal_uInt16 i=0; i<4; i++)
- if (WhichV((ScSplitPos)i)==eWhich)
+ if (WhichV(static_cast<ScSplitPos>(i))==eWhich)
{
ScGridWindow* pWin = pGridWin[i].get();
if (pWin)
@@ -473,7 +473,7 @@ void ScTabView::InvertHorizontal( ScVSplitPos eWhich, long nDragPos )
void ScTabView::InvertVertical( ScHSplitPos eWhich, long nDragPos )
{
for (sal_uInt16 i=0; i<4; i++)
- if (WhichH((ScSplitPos)i)==eWhich)
+ if (WhichH(static_cast<ScSplitPos>(i))==eWhich)
{
ScGridWindow* pWin = pGridWin[i].get();
if (pWin)