[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sw/source

Stephan Bergmann sbergman at redhat.com
Wed Jan 15 12:56:06 PST 2014


 sw/source/ui/shells/tabsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 97531f23406c810ca9486b6609a394da96d27566
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jan 15 17:43:21 2014 +0100

    Fix brace position
    
    Presumably a typo during conflict resolution for
    d02f75a8c36705924ddd6a5921fe3012fafce812 "Resolves: #i121420# merge sidebar
    feature."
    
    Change-Id: Id328c2d2dd0e1a3bb60b7ffd34842fd789da332a
    (cherry picked from commit f86084ea6cc72ac282e3d262ec230d49807cd70f)
    Reviewed-on: https://gerrit.libreoffice.org/7446
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/sw/source/ui/shells/tabsh.cxx b/sw/source/ui/shells/tabsh.cxx
index 17d7a31..44ddfca 100644
--- a/sw/source/ui/shells/tabsh.cxx
+++ b/sw/source/ui/shells/tabsh.cxx
@@ -1243,7 +1243,7 @@ void SwTableShell::GetState(SfxItemSet &rSet)
             case SID_TABLE_VERT_BOTTOM:
             {
                 sal_uInt16 nAlign = rSh.GetBoxAlign();
-                sal_Bool bSet = nSlot == (SID_TABLE_VERT_NONE && nAlign == text::VertOrientation::NONE) ||
+                sal_Bool bSet = (nSlot == SID_TABLE_VERT_NONE && nAlign == text::VertOrientation::NONE) ||
                             (nSlot == SID_TABLE_VERT_CENTER && nAlign == text::VertOrientation::CENTER) ||
                             (nSlot == SID_TABLE_VERT_BOTTOM && nAlign == text::VertOrientation::BOTTOM);
                 rSet.Put(SfxBoolItem(nSlot, bSet));


More information about the Libreoffice-commits mailing list