[Libreoffice-commits] core.git: cui/source include/svx
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 5 08:40:28 UTC 2018
cui/source/tabpages/tplnedef.cxx | 1 -
cui/source/tabpages/tplneend.cxx | 1 -
include/svx/tabarea.hxx | 5 ++---
3 files changed, 2 insertions(+), 5 deletions(-)
New commits:
commit 5a73599206916f87c1836af7c4e0a02c28cb9887
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Dec 4 10:00:12 2018 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Dec 5 09:40:02 2018 +0100
remove unused ChangeType enum value
Change-Id: I90f0fb281e59f60dbd3ec0aa088abd6e6caf0323
Reviewed-on: https://gerrit.libreoffice.org/64562
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx
index 5d822005f8ba..9d0a57943c09 100644
--- a/cui/source/tabpages/tplnedef.cxx
+++ b/cui/source/tabpages/tplnedef.cxx
@@ -773,7 +773,6 @@ IMPL_LINK_NOARG(SvxLineDefTabPage, ClickSaveHdl_Impl, weld::Button&, void)
if( pDashList->Save() )
{
- *pnDashListState |= ChangeType::SAVED;
*pnDashListState &= ~ChangeType::MODIFIED;
}
else
diff --git a/cui/source/tabpages/tplneend.cxx b/cui/source/tabpages/tplneend.cxx
index 38f42d51d71b..18282f52fa69 100644
--- a/cui/source/tabpages/tplneend.cxx
+++ b/cui/source/tabpages/tplneend.cxx
@@ -610,7 +610,6 @@ IMPL_LINK_NOARG(SvxLineEndDefTabPage, ClickSaveHdl_Impl, weld::Button&, void)
if( pLineEndList->Save() )
{
- *pnLineEndListState |= ChangeType::SAVED;
*pnLineEndListState &= ~ChangeType::MODIFIED;
}
else
diff --git a/include/svx/tabarea.hxx b/include/svx/tabarea.hxx
index d4d3c69fd604..b1307b4c41e6 100644
--- a/include/svx/tabarea.hxx
+++ b/include/svx/tabarea.hxx
@@ -25,12 +25,11 @@ enum class ChangeType
{
NONE = 0x00,
MODIFIED = 0x01,
- CHANGED = 0x02,
- SAVED = 0x04,
+ CHANGED = 0x02
};
namespace o3tl
{
- template<> struct typed_flags<ChangeType> : is_typed_flags<ChangeType, 0x07> {};
+ template<> struct typed_flags<ChangeType> : is_typed_flags<ChangeType, 0x03> {};
}
#endif // INCLUDED_SVX_TABAREA_HXX
More information about the Libreoffice-commits
mailing list