From cfb09a460d236861c88380cbf6d5ebbf5c84cf71 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 22 Nov 2018 11:01:26 +0200 Subject: [PATCH] remove unused SpriteChangeRecord::ChangeType::none Change-Id: I66d6a8824df0430a560e4aabed0f829e51399467 Reviewed-on: https://gerrit.libreoffice.org/63904 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/unusedenumconstants.untouched.results | 2 -- include/canvas/spriteredrawmanager.hxx | 2 +- 2 files changed, 1 insertion(+), 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,