summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-21 16:31:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-22 18:13:16 +0200
commit0dc168dfc3a693510e5776109e989ff5f956f7db (patch)
treefe734e443e3d8daa4119889aa82711ba0ec86446 /fpicker
parent25732d7f211ce51fcecbb15ce6d9c551c2715b6e (diff)
loplugin:unusedenumconstants
Change-Id: I76aadeefce66df93f21b7e45c0e87ab92df45131 Reviewed-on: https://gerrit.libreoffice.org/81324 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/fileview.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx
index b87548cc5a6a..719ea9232592 100644
--- a/fpicker/source/office/fileview.cxx
+++ b/fpicker/source/office/fileview.cxx
@@ -91,14 +91,13 @@ using ::svt::FolderDescriptor;
enum class FileViewFlags
{
NONE = 0x00,
- ONLYFOLDER = 0x01,
MULTISELECTION = 0x02,
SHOW_TYPE = 0x04,
SHOW_NONE = 0x20,
};
namespace o3tl
{
- template<> struct typed_flags<FileViewFlags> : is_typed_flags<FileViewFlags, 0x27> {};
+ template<> struct typed_flags<FileViewFlags> : is_typed_flags<FileViewFlags, 0x26> {};
}
namespace
@@ -809,8 +808,6 @@ SvtFileView::SvtFileView( vcl::Window* pParent, WinBits nBits,
Control( pParent, nBits )
{
FileViewFlags nFlags = FileViewFlags::NONE;
- if ( bOnlyFolder )
- nFlags |= FileViewFlags::ONLYFOLDER;
if ( bMultiSelection )
nFlags |= FileViewFlags::MULTISELECTION;
if ( bShowType )