diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-21 16:31:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-22 18:13:16 +0200 |
commit | 0dc168dfc3a693510e5776109e989ff5f956f7db (patch) | |
tree | fe734e443e3d8daa4119889aa82711ba0ec86446 /sw | |
parent | 25732d7f211ce51fcecbb15ce6d9c551c2715b6e (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 'sw')
-rw-r--r-- | sw/source/core/inc/swblocks.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/swg/swblocks.cxx | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/core/inc/swblocks.hxx b/sw/source/core/inc/swblocks.hxx index 0d7fdb294aba..620080e8b654 100644 --- a/sw/source/core/inc/swblocks.hxx +++ b/sw/source/core/inc/swblocks.hxx @@ -74,7 +74,6 @@ protected: enum class FileType { NoFile, // Not present None, // No TB file - SW3, // SW3 file XML // XML Block List }; static FileType GetFileType( const OUString& ); diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx index 8afeecea9432..d19786ac90e4 100644 --- a/sw/source/core/swg/swblocks.cxx +++ b/sw/source/core/swg/swblocks.cxx @@ -80,8 +80,6 @@ SwImpBlocks::FileType SwImpBlocks::GetFileType( const OUString& rFile ) return FileType::NoFile; if( SwXMLTextBlocks::IsFileUCBStorage( rFile ) ) return FileType::XML; - if( SotStorage::IsStorageFile( rFile ) ) - return FileType::SW3; //otherwise return NONE return FileType::None; } |