Kaydet (Commit) 0aeb5d4f authored tarafından Takeshi Abe's avatar Takeshi Abe

Both bLeftEnable and bRightEnable are always sal_False

Change-Id: Ie4d6f19bdcfdd30f0d2144963325b847003a9db5
üst 8d4e51a5
...@@ -495,8 +495,7 @@ void SwFormatTablePage::Reset( const SfxItemSet& ) ...@@ -495,8 +495,7 @@ void SwFormatTablePage::Reset( const SfxItemSet& )
nOldAlign = pTblData->GetAlign(); nOldAlign = pTblData->GetAlign();
sal_Bool bSetRight = sal_False, bRightEnable = sal_False, sal_Bool bSetRight = sal_False, bSetLeft = sal_False;
bSetLeft = sal_False, bLeftEnable = sal_False;
switch( nOldAlign ) switch( nOldAlign )
{ {
case text::HoriOrientation::NONE: case text::HoriOrientation::NONE:
...@@ -540,13 +539,13 @@ void SwFormatTablePage::Reset( const SfxItemSet& ) ...@@ -540,13 +539,13 @@ void SwFormatTablePage::Reset( const SfxItemSet& )
} }
if ( bSetRight ) if ( bSetRight )
{ {
m_aRightMF.Enable(bRightEnable); m_aRightMF.Enable(sal_False);
m_pRightFT->Enable(bRightEnable); m_pRightFT->Enable(sal_False);
} }
if ( bSetLeft ) if ( bSetLeft )
{ {
m_aLeftMF.Enable(bLeftEnable); m_aLeftMF.Enable(sal_False);
m_pLeftFT->Enable(bLeftEnable); m_pLeftFT->Enable(sal_False);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment