summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/output2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/output2.cxx')
-rw-r--r--sc/source/ui/view/output2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index c4d47392f141..9105c30870ac 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -1250,7 +1250,7 @@ void ScOutputData::GetOutputArea( SCCOL nX, SCSIZE nArrY, long nPosX, long nPosY
rParam.maClipRect = rParam.maAlignRect;
if ( nNeeded > nMergeSizeX )
{
- SvxCellHorJustify eHorJust = (SvxCellHorJustify)nHorJustify;
+ SvxCellHorJustify eHorJust = static_cast<SvxCellHorJustify>(nHorJustify);
long nMissing = nNeeded - nMergeSizeX;
long nLeftMissing = 0;