summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/viewdata.cxx')
-rw-r--r--sc/source/ui/view/viewdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx
index 0068209e7a46..7a4863bbbd36 100644
--- a/sc/source/ui/view/viewdata.cxx
+++ b/sc/source/ui/view/viewdata.cxx
@@ -992,7 +992,7 @@ void ScViewData::SetEditEngine( ScSplitPos eWhich,
//! should be limited to whole cells in both directions
long nLeft = aPixRect.Left();
long nRight = pView->GetGridWidth(eHWhich) - aPixRect.Right();
- nSizeXPix = aPixRect.GetWidth() + 2 * Min( nLeft, nRight );
+ nSizeXPix = aPixRect.GetWidth() + 2 * std::min( nLeft, nRight );
}
else if ( bGrowToLeft )
nSizeXPix = aPixRect.Right(); // space that's available in the window when growing to the left