diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-21 11:51:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-05-21 12:57:55 +0000 |
commit | cf991bf352d64021e872ab1f8d82cb0f3cea37f3 (patch) | |
tree | 11c77bf2230d74dc007308597e86f4c9981e81e7 /extensions | |
parent | cb0b7ff34dc193c37e89f4a968e1cb7502338230 (diff) |
convert SWIB constants to scoped enum
Change-Id: If64368f22e748cc646a726cb962e60ad29a66df9
Reviewed-on: https://gerrit.libreoffice.org/15840
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/bibbeam.cxx | 4 | ||||
-rw-r--r-- | extensions/source/bibliography/bibcont.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx index 1699b8ddbd28..ff1a73171875 100644 --- a/extensions/source/bibliography/bibbeam.cxx +++ b/extensions/source/bibliography/bibbeam.cxx @@ -226,7 +226,7 @@ namespace bib { pToolBar= VclPtr<BibToolBar>::Create(this, LINK( this, BibBeamer, RecalcLayout_Impl )); ::Size aSize=pToolBar->GetSizePixel(); - InsertItem(ID_TOOLBAR, pToolBar, aSize.Height(), 0, 0, SWIB_FIXED ); + InsertItem(ID_TOOLBAR, pToolBar, aSize.Height(), 0, 0, SplitWindowItemFlags::Fixed ); if ( m_xController.is() ) pToolBar->SetXController( m_xController ); } @@ -235,7 +235,7 @@ namespace bib { pGridWin = VclPtr<BibGridwin>::Create(this,0); - InsertItem(ID_GRIDWIN, pGridWin, 40, 1, 0, SWIB_RELATIVESIZE ); + InsertItem(ID_GRIDWIN, pGridWin, 40, 1, 0, SplitWindowItemFlags::RelativeSize ); pGridWin->createGridWin( pDatMan->updateGridModel() ); } diff --git a/extensions/source/bibliography/bibcont.cxx b/extensions/source/bibliography/bibcont.cxx index 5c75e528b515..bd1a0693f52b 100644 --- a/extensions/source/bibliography/bibcont.cxx +++ b/extensions/source/bibliography/bibcont.cxx @@ -186,7 +186,7 @@ void BibBookContainer::createTopFrame( BibShortCutHandler* pWin ) pTopWin->Show(); BibConfig* pConfig = BibModul::GetConfig(); long nSize = pConfig->getBeamerSize(); - InsertItem(TOP_WINDOW, pTopWin, nSize, 1, 0, SWIB_PERCENTSIZE ); + InsertItem(TOP_WINDOW, pTopWin, nSize, 1, 0, SplitWindowItemFlags::PercentSize ); } @@ -204,7 +204,7 @@ void BibBookContainer::createBottomFrame( BibShortCutHandler* pWin ) BibConfig* pConfig = BibModul::GetConfig(); long nSize = pConfig->getViewSize(); - InsertItem(BOTTOM_WINDOW, pBottomWin, nSize, 1, 0, SWIB_PERCENTSIZE ); + InsertItem(BOTTOM_WINDOW, pBottomWin, nSize, 1, 0, SplitWindowItemFlags::PercentSize ); } |