summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-07-05 11:44:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-07-05 14:21:51 +0200
commitf98296117b2c27af73c093525ad828909fd8fb31 (patch)
tree608ad74b729b0aea7c772cf32cae452e428f8c09 /vcl
parentd2742b30968037a40eeb4679192c1706124965a5 (diff)
loplugin:unusedenumconstants
Change-Id: I53817a6b017203d8694032320869d11412c57ee9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154027 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/sessioninhibitor.hxx2
-rw-r--r--vcl/source/filter/graphicfilter2.cxx14
2 files changed, 0 insertions, 16 deletions
diff --git a/vcl/inc/unx/sessioninhibitor.hxx b/vcl/inc/unx/sessioninhibitor.hxx
index 5385cde383cf..9d9fd7c9c58b 100644
--- a/vcl/inc/unx/sessioninhibitor.hxx
+++ b/vcl/inc/unx/sessioninhibitor.hxx
@@ -22,8 +22,6 @@
enum ApplicationInhibitFlags
{
APPLICATION_INHIBIT_LOGOUT = (1 << 0),
- APPLICATION_INHIBIT_SWITCH = (1 << 1),
- APPLICATION_INHIBIT_SUSPEND = (1 << 2),
APPLICATION_INHIBIT_IDLE = (1 << 3) // Inhibit the session being marked as idle
};
diff --git a/vcl/source/filter/graphicfilter2.cxx b/vcl/source/filter/graphicfilter2.cxx
index 1beeeaa3e8ac..f0f7950271d3 100644
--- a/vcl/source/filter/graphicfilter2.cxx
+++ b/vcl/source/filter/graphicfilter2.cxx
@@ -27,20 +27,6 @@
#include <unotools/ucbstreamhelper.hxx>
#include <graphic/GraphicFormatDetector.hxx>
-namespace
-{
-enum class MetafileType : sal_uInt16
-{
- Memory = 0x0001,
- Disk = 0x0002,
-};
-enum class MetafileVersion : sal_uInt16
-{
- Version100 = 0x0100,
- Version300 = 0x0300,
-};
-}
-
GraphicDescriptor::GraphicDescriptor( const INetURLObject& rPath ) :
pFileStm( ::utl::UcbStreamHelper::CreateStream( rPath.GetMainURL( INetURLObject::DecodeMechanism::NONE ), StreamMode::READ ).release() ),
aPathExt( rPath.GetFileExtension().toAsciiLowerCase() ),