diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-25 11:40:07 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-26 14:25:30 +0200 |
commit | 196fcbd842d7e8bc0ea3f720f8b35930d27ad9e5 (patch) | |
tree | 535e50861305ec1414d16902d56f4b45b3306e63 /sw | |
parent | 3df44c3c53b845c1d2d0082b51b590d5953141c6 (diff) |
Remove unuseful member variable
Change-Id: I618242aa496a18dc656c6a4ffa4cbf3032eeae4a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 5 | ||||
-rw-r--r-- | sw/source/uibase/table/tablepg.hxx | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index 207d8f4d265e..db393fab76f2 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -67,7 +67,6 @@ SwFormatTablePage::SwFormatTablePage(Window* pParent, const SfxItemSet& rSet) , pTblData(0) , nSaveWidth(0) , nMinTableWidth(MINLAY) - , nOldAlign(0) , bModified(false) , bFull(false) , bHtmlMode(false) @@ -485,10 +484,8 @@ void SwFormatTablePage::Reset( const SfxItemSet* ) m_aLeftMF.SaveValue(); m_aRightMF.SaveValue(); - nOldAlign = pTblData->GetAlign(); - bool bSetRight = false, bSetLeft = false; - switch( nOldAlign ) + switch( pTblData->GetAlign() ) { case text::HoriOrientation::NONE: m_pFreeBtn->Check(); diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx index f8d207af61e6..47d5b67660d3 100644 --- a/sw/source/uibase/table/tablepg.hxx +++ b/sw/source/uibase/table/tablepg.hxx @@ -64,7 +64,6 @@ class SwFormatTablePage : public SfxTabPage SwTableRep* pTblData; SwTwips nSaveWidth; SwTwips nMinTableWidth; - sal_uInt16 nOldAlign; bool bModified; bool bFull:1; bool bHtmlMode : 1; |