diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/align.cxx | 13 | ||||
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 21 |
2 files changed, 17 insertions, 17 deletions
diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx index 142a229f92eb..5ca1e49c8178 100644 --- a/cui/source/tabpages/align.cxx +++ b/cui/source/tabpages/align.cxx @@ -398,7 +398,6 @@ namespace rTriState.bTriStateEnabled = false; break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: rBtn.set_sensitive(false); rTriState.bTriStateEnabled = false; break; @@ -437,7 +436,7 @@ void AlignmentTabPage::Reset(const SfxItemSet* pCoreAttrs) m_xLbHorAlign->hide(); break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_xLbHorAlign->set_sensitive(false); break; case SfxItemState::DONTCARE: @@ -481,7 +480,7 @@ void AlignmentTabPage::Reset(const SfxItemSet* pCoreAttrs) m_xFtIndent->hide(); break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_xEdIndent->set_sensitive(false); break; case SfxItemState::DONTCARE: @@ -505,7 +504,7 @@ void AlignmentTabPage::Reset(const SfxItemSet* pCoreAttrs) m_xFtVerAlign->hide(); break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_xLbVerAlign->set_sensitive(false); break; case SfxItemState::DONTCARE: @@ -546,7 +545,7 @@ void AlignmentTabPage::Reset(const SfxItemSet* pCoreAttrs) m_xCtrlDialWin->hide(); break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_xNfRotate->set_sensitive(false); m_xCtrlDialWin->set_sensitive(false); break; @@ -570,7 +569,7 @@ void AlignmentTabPage::Reset(const SfxItemSet* pCoreAttrs) m_xVsRefEdge->hide(); break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_xVsRefEdge->set_sensitive(false); break; case SfxItemState::DONTCARE: @@ -609,7 +608,7 @@ void AlignmentTabPage::Reset(const SfxItemSet* pCoreAttrs) m_xLbFrameDir->hide(); break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_xLbFrameDir->set_sensitive(false); break; case SfxItemState::DONTCARE: diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 5a40fed3fc00..9755bb7024af 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -770,7 +770,7 @@ void SvxCharNamePage::Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp else { pSizeBox->set_active_or_entry_text(OUString()); - if ( eState <= SfxItemState::READONLY ) + if ( eState <= SfxItemState::DISABLED ) { pSizeBox->set_sensitive(false); pSizeLabel->set_sensitive(false); @@ -794,7 +794,7 @@ void SvxCharNamePage::Reset_Impl( const SfxItemSet& rSet, LanguageGroup eLangGrp break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: pLangFT->set_sensitive(false); pLangBox->set_sensitive(false); break; @@ -1521,7 +1521,7 @@ void SvxCharEffectsPage::ResetColor_Impl( const SfxItemSet& rSet ) break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_xFontColorFT->set_sensitive(false); m_xFontColorLB->set_sensitive(false); break; @@ -1806,7 +1806,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet ) break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_aIndividualWordsState.bTriStateEnabled = false; m_xIndividualWordsBtn->set_sensitive(false); break; @@ -1860,7 +1860,8 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet ) m_xEmphasisFT->hide(); m_xEmphasisLB->hide(); } - else // SfxItemState::DISABLED or SfxItemState::READONLY +// else // SfxItemState::DISABLED or SfxItemState::READONLY + else // SfxItemState::DISABLED { m_xEmphasisFT->set_sensitive(false); m_xEmphasisLB->set_sensitive(false); @@ -1884,7 +1885,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet ) break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_xEffectsFT->set_sensitive(false); m_xEffectsLB->set_sensitive(false); break; @@ -1914,7 +1915,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet ) break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_xReliefFT->set_sensitive(false); m_xReliefLB->set_sensitive(false); break; @@ -1944,7 +1945,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet ) break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_aOutlineState.bTriStateEnabled = false; m_xOutlineBtn->set_sensitive(false); break; @@ -1976,7 +1977,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet ) break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_aShadowState.bTriStateEnabled = false; m_xShadowBtn->set_sensitive(false); break; @@ -2008,7 +2009,7 @@ void SvxCharEffectsPage::Reset( const SfxItemSet* rSet ) break; case SfxItemState::DISABLED: - case SfxItemState::READONLY: +// case SfxItemState::READONLY: m_aHiddenState.bTriStateEnabled = false; m_xHiddenBtn->set_sensitive(false); break; |