summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-22 11:01:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-24 07:05:29 +0100
commitcfb09a460d236861c88380cbf6d5ebbf5c84cf71 (patch)
tree35f8751807cf32b76eafd5fa6467387c49b7009e
parenta78118a94efb8a13be368f73fae3f567a2d2e1e4 (diff)
remove unused SpriteChangeRecord::ChangeType::none
Change-Id: I66d6a8824df0430a560e4aabed0f829e51399467 Reviewed-on: https://gerrit.libreoffice.org/63904 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--compilerplugins/clang/unusedenumconstants.untouched.results2
-rw-r--r--include/canvas/spriteredrawmanager.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.untouched.results b/compilerplugins/clang/unusedenumconstants.untouched.results
index eee40dba2f0a..6daa7bc07636 100644
--- a/compilerplugins/clang/unusedenumconstants.untouched.results
+++ b/compilerplugins/clang/unusedenumconstants.untouched.results
@@ -132,8 +132,6 @@ filter/source/msfilter/eschesdo.hxx:29
enum ImplEESdrPageType NOTICE
filter/source/msfilter/eschesdo.hxx:29
enum ImplEESdrPageType MASTER
-include/canvas/spriteredrawmanager.hxx:145
- enum canvas::SpriteRedrawManager::SpriteChangeRecord::ChangeType none
include/connectivity/dbtools.hxx:822
enum connectivity::dbase::DBFType dBaseIVMemo
include/desktop/exithelper.h:25
diff --git a/include/canvas/spriteredrawmanager.hxx b/include/canvas/spriteredrawmanager.hxx
index e7df64e81d93..4a3359d6d442 100644
--- a/include/canvas/spriteredrawmanager.hxx
+++ b/include/canvas/spriteredrawmanager.hxx
@@ -142,7 +142,7 @@ namespace canvas
*/
struct SpriteChangeRecord
{
- enum class ChangeType { none=0, move, update };
+ enum class ChangeType { move, update };
SpriteChangeRecord( const Sprite::Reference& rSprite,
const ::basegfx::B2DPoint& rOldPos,