]> git.lyx.org Git - features.git/commitdiff
Remove confusing parentheses
authorGeorg Baum <baum@lyx.org>
Sat, 17 Oct 2015 17:53:59 +0000 (19:53 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 18 Oct 2015 13:26:12 +0000 (15:26 +0200)
src/insets/InsetBox.cpp

index 2d0cf53c5448ba42aca7eac26fcc69fa28b98af1..21d7feb9951da235f751bfbbaad4d1e76b3fc1ec 100644 (file)
@@ -163,7 +163,7 @@ void InsetBox::setButtonLabel()
        if (btype == Boxed)
                setFrameColor(lcolor.getFromLaTeXName(params_.framecolor));
        else
-               setFrameColor(Color_collapsableframe);  
+               setFrameColor(Color_collapsableframe);
 }
 
 
@@ -510,7 +510,7 @@ void InsetBox::latex(otexstream & os, OutputParams const & runparams) const
 
        // \framebox and \makebox handle hor_pos their own way
        // hor_pos is senseless for \mbox and \fbox
-       if (!(params_.use_makebox)
+       if (!params_.use_makebox
                && !(btype == Boxed && !params_.inner_box)) {
                        switch (params_.hor_pos) {
                        case 'l':