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

Noel Grandin noel at peralex.com
Tue Sep 9 04:32:02 PDT 2014


 chart2/source/controller/dialogs/tp_AxisLabel.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7ad83656484db970a9539f0fd73c387cda15d40b
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Sep 9 12:30:56 2014 +0200

    fix bitwise->logic conversion in SfxItemState commit
    
    88a874fc "convert SfxItemState constants to a proper enum"
    
    Change-Id: I979d5a859f0bbfd8797bfc5ba4ce5497eb777fe7

diff --git a/chart2/source/controller/dialogs/tp_AxisLabel.cxx b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
index 7a6cf63..3567639 100644
--- a/chart2/source/controller/dialogs/tp_AxisLabel.cxx
+++ b/chart2/source/controller/dialogs/tp_AxisLabel.cxx
@@ -153,7 +153,7 @@ void SchAxisLabelTabPage::Reset( const SfxItemSet* rInAttrs )
             bCheck = static_cast< const SfxBoolItem * >( pPoolItem )->GetValue();
         m_pCbShowDescription->Check( bCheck );
 
-        if( aState != SFX_ITEM_DEFAULT )
+        if( aState != SFX_ITEM_DEFAULT && aState != SFX_ITEM_SET)
             m_pCbShowDescription->Hide();
     }
 


More information about the Libreoffice-commits mailing list