sw/source/filter/ww8/ww8par.cxx |   14 --------------
 1 file changed, 14 deletions(-)

New commits:
commit 11a1b66554dbd8b05319a0d18008932057e41f17
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Sun Oct 20 11:54:37 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Sun Oct 20 19:55:03 2024 +0200

    tdf#163486: PVS: Identical branches
    
    V1037 Two or more case-branches perform the same actions. Check lines: 871, 
879
    V1037 Two or more case-branches perform the same actions. Check lines: 891, 
899
    
    Change-Id: I027615d9acef9aae4c554f2dcbb033edac01940e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175239
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index c3a73e67490f..0d36189dd034 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -867,13 +867,6 @@ rtl::Reference<SdrObject> 
SwMSDffManager::ProcessObj(SvStream& rSt,
             switch( eTextAnchor )
             {
                 case mso_anchorTop:
-                {
-                    if ( bVerticalText )
-                        eTHA = SDRTEXTHORZADJUST_RIGHT;
-                    else
-                        eTVA = SDRTEXTVERTADJUST_TOP;
-                }
-                break;
                 case mso_anchorTopCentered:
                 {
                     if ( bVerticalText )
@@ -887,13 +880,6 @@ rtl::Reference<SdrObject> 
SwMSDffManager::ProcessObj(SvStream& rSt,
                 case mso_anchorMiddleCentered:
                 break;
                 case mso_anchorBottom:
-                {
-                    if ( bVerticalText )
-                        eTHA = SDRTEXTHORZADJUST_LEFT;
-                    else
-                        eTVA = SDRTEXTVERTADJUST_BOTTOM;
-                }
-                break;
                 case mso_anchorBottomCentered:
                 {
                     if ( bVerticalText )

Reply via email to