diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-23 15:30:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 09:36:58 +0200 |
commit | b2125ae811c2fc2233026e5218a03bc24210a5c1 (patch) | |
tree | 3945a55c8d008a41645f4c05a8f53d93629710f1 /sfx2/source/dialog | |
parent | ecec9afe852d3bca019b6b44a40d8be39e0f58f4 (diff) |
convert FILTER_APPLICATION to enum class
Change-Id: I9ad1d1c9a2d9d538a4cc95f0b65f45f631116916
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index e0074b55abae..e7162427aab6 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -322,7 +322,7 @@ void BackingWindow::initializeLocalView() mbLocalViewInitialized = true; mpLocalView->Populate(); mpLocalView->showRootRegion(); - mpLocalView->filterItems(ViewFilter_Application(FILTER_APP_NONE)); + mpLocalView->filterItems(ViewFilter_Application(FILTER_APPLICATION::NONE)); } } @@ -564,7 +564,7 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton ) { mpAllRecentThumbnails->Hide(); initializeLocalView(); - mpLocalView->filterItems(ViewFilter_Application(FILTER_APP_NONE)); + mpLocalView->filterItems(ViewFilter_Application(FILTER_APPLICATION::NONE)); mpLocalView->Show(); mpLocalView->reload(); mpLocalView->GrabFocus(); @@ -580,19 +580,19 @@ IMPL_LINK( BackingWindow, MenuSelectHdl, MenuButton*, pButton ) if( sId == "filter_writer" ) { - mpLocalView->filterItems(ViewFilter_Application(FILTER_APP_WRITER)); + mpLocalView->filterItems(ViewFilter_Application(FILTER_APPLICATION::WRITER)); } else if( sId == "filter_calc" ) { - mpLocalView->filterItems(ViewFilter_Application(FILTER_APP_CALC)); + mpLocalView->filterItems(ViewFilter_Application(FILTER_APPLICATION::CALC)); } else if( sId == "filter_impress" ) { - mpLocalView->filterItems(ViewFilter_Application(FILTER_APP_IMPRESS)); + mpLocalView->filterItems(ViewFilter_Application(FILTER_APPLICATION::IMPRESS)); } else if( sId == "filter_draw" ) { - mpLocalView->filterItems(ViewFilter_Application(FILTER_APP_DRAW)); + mpLocalView->filterItems(ViewFilter_Application(FILTER_APPLICATION::DRAW)); } else if( sId == "edit" ) { |