[Libreoffice-commits] core.git: sc/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Thu Dec 12 16:36:50 UTC 2019


 sc/source/filter/excel/xistyle.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4781ba436f72b5b763833c3c036e7f1c0e4d9e3b
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Dec 12 16:38:39 2019 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Dec 12 17:35:31 2019 +0100

    This shall presumably be ScVerticalStackCell
    
    (changed from SfxBoolItem(ATTR_STACKED,...) in
    2579895f2c18fd7d606715f91b1463900f6d6937 "Related: tdf#129300 add
    ScVerticalStackCell to provide a description")
    
    Change-Id: I665f5c0a7f5059721e38330e06ce52bd18eae362
    Reviewed-on: https://gerrit.libreoffice.org/85062
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx
index 3a2cd52c03cf..b1c308673cd7 100644
--- a/sc/source/filter/excel/xistyle.cxx
+++ b/sc/source/filter/excel/xistyle.cxx
@@ -830,7 +830,7 @@ void XclImpCellAlign::FillToItemSet( SfxItemSet& rItemSet, const XclImpFont* pFo
     // text orientation/rotation (BIFF2-BIFF7 sets mnOrient)
     sal_uInt8 nXclRot = (mnOrient == EXC_ORIENT_NONE) ? mnRotation : XclTools::GetXclRotFromOrient( mnOrient );
     bool bStacked = (nXclRot == EXC_ROT_STACKED);
-    ScfTools::PutItem( rItemSet, ScShrinkToFitCell( bStacked ), bSkipPoolDefs );
+    ScfTools::PutItem( rItemSet, ScVerticalStackCell( bStacked ), bSkipPoolDefs );
     // set an angle in the range from -90 to 90 degrees
     sal_Int32 nAngle = XclTools::GetScRotation( nXclRot, 0 );
     ScfTools::PutItem( rItemSet, ScRotateValueItem( nAngle ), bSkipPoolDefs );


More information about the Libreoffice-commits mailing list