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

New commits:
commit 7ad83656484db970a9539f0fd73c387cda15d40b
Author: Noel Grandin <n...@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();
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to