diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-02-18 17:48:46 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-02-18 23:17:40 +0900 |
commit | 0aeb5d4f28ba9beec366961f23c7381e4593b2cf (patch) | |
tree | 97065ce5d331c983ff02dc11a8266760fcda305d | |
parent | 8d4e51a599a02f2342f066dba4f2e700b4950c6a (diff) |
Both bLeftEnable and bRightEnable are always sal_False
Change-Id: Ie4d6f19bdcfdd30f0d2144963325b847003a9db5
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index 6ac857181a16..1fdc0e87d559 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -495,8 +495,7 @@ void SwFormatTablePage::Reset( const SfxItemSet& ) nOldAlign = pTblData->GetAlign(); - sal_Bool bSetRight = sal_False, bRightEnable = sal_False, - bSetLeft = sal_False, bLeftEnable = sal_False; + sal_Bool bSetRight = sal_False, bSetLeft = sal_False; switch( nOldAlign ) { case text::HoriOrientation::NONE: @@ -540,13 +539,13 @@ void SwFormatTablePage::Reset( const SfxItemSet& ) } if ( bSetRight ) { - m_aRightMF.Enable(bRightEnable); - m_pRightFT->Enable(bRightEnable); + m_aRightMF.Enable(sal_False); + m_pRightFT->Enable(sal_False); } if ( bSetLeft ) { - m_aLeftMF.Enable(bLeftEnable); - m_pLeftFT->Enable(bLeftEnable); + m_aLeftMF.Enable(sal_False); + m_pLeftFT->Enable(sal_False); } } |