include/vcl/svtabbx.hxx | 2 +- svtools/source/contnr/fileview.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 3915570a7e245283e97a8ab349247ee7d056c7c6 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Dec 3 16:42:41 2018 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Dec 4 08:40:02 2018 +0100 convert SvTabJustify to scoped enum Change-Id: If72ad4f44b327880942f62cd0b3793f7d7a153fb Reviewed-on: https://gerrit.libreoffice.org/64481 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/include/vcl/svtabbx.hxx b/include/vcl/svtabbx.hxx index 066bbb929158..8eebb84ce8af 100644 --- a/include/vcl/svtabbx.hxx +++ b/include/vcl/svtabbx.hxx @@ -26,7 +26,7 @@ #include <memory> #include <vector> -enum SvTabJustify +enum class SvTabJustify { AdjustRight = static_cast<int>(SvLBoxTabFlags::ADJUST_RIGHT), AdjustLeft = static_cast<int>(SvLBoxTabFlags::ADJUST_LEFT), diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 0260a67480ad..72a42bcd3b56 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -394,7 +394,7 @@ ViewTabListBox_Impl::ViewTabListBox_Impl( vcl::Window* pParentWin, long aTabPositions[] = { 20, 180, 320, 400, 600 }; SetTabs(SAL_N_ELEMENTS(aTabPositions), aTabPositions, MapUnit::MapPixel); - SetTabJustify(2, AdjustRight); // column "Size" + SetTabJustify(2, SvTabJustify::AdjustRight); // column "Size" mpHeaderBar->InsertItem(COLUMN_TITLE, SvtResId(STR_SVT_FILEVIEW_COLUMN_TITLE), 180, nBits | HeaderBarItemBits::UPARROW); if (nFlags & FileViewFlags::SHOW_TYPE) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits