[Libreoffice-commits] core.git: compilerplugins/clang framework/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Sep 28 06:24:27 UTC 2018
compilerplugins/clang/unusedenumconstants.writeonly.results | 2 +-
framework/source/services/autorecovery.cxx | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 2a7fe9b08d6b99fbb294b0bcd0a5f91d80e35c98
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Wed Sep 26 18:03:26 2018 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Sep 28 08:24:01 2018 +0200
Fix E_SUCCEDED -> E_SUCCEEDED
It passed "make check" on Linux.
Change-Id: I96b34c818f6d4170c110ecd1fb93af79c3279e57
Reviewed-on: https://gerrit.libreoffice.org/61028
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/compilerplugins/clang/unusedenumconstants.writeonly.results b/compilerplugins/clang/unusedenumconstants.writeonly.results
index b57a679aa1d8..13c5fd812195 100644
--- a/compilerplugins/clang/unusedenumconstants.writeonly.results
+++ b/compilerplugins/clang/unusedenumconstants.writeonly.results
@@ -1401,7 +1401,7 @@ framework/source/services/autorecovery.cxx:188
framework/source/services/autorecovery.cxx:196
enum (anonymous namespace)::AutoRecovery::EDocStates E_TRY_SAVE
framework/source/services/autorecovery.cxx:207
- enum (anonymous namespace)::AutoRecovery::EDocStates E_SUCCEDED
+ enum (anonymous namespace)::AutoRecovery::EDocStates E_SUCCEEDED
framework/source/services/autorecovery.cxx:218
enum (anonymous namespace)::AutoRecovery::EFailureSafeResult E_COPIED
framework/source/services/autorecovery.cxx:219
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index f0ca35e9f894..14c9148fd92c 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -208,7 +208,7 @@ public:
/// the Auto/Emergency saved document is not really up-to-date (some changes can be missing)
E_INCOMPLETE = 128,
/// the Auto/Emergency saved document was processed successfully
- E_SUCCEDED = 512
+ E_SUCCEEDED = 512
};
/** @short indicates the results of a FAILURE_SAFE operation
@@ -3103,7 +3103,7 @@ void AutoRecovery::implts_saveOneDoc(const OUString&
// ... you know the reason: to know it on recovery time if next line crash .-)
rInfo.DocumentState &= ~AutoRecovery::E_TRY_SAVE;
rInfo.DocumentState |= AutoRecovery::E_HANDLED;
- rInfo.DocumentState |= AutoRecovery::E_SUCCEDED;
+ rInfo.DocumentState |= AutoRecovery::E_SUCCEEDED;
}
else
{
@@ -3145,7 +3145,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_openDocs(const DispatchParams& aPa
for (auto & info : m_lDocCache)
{
// Such documents are already loaded by the last loop.
- // Don't check E_SUCCEDED here! It may be the final state of an AutoSave
+ // Don't check E_SUCCEEDED here! It may be the final state of an AutoSave
// operation before!!!
if ((info.DocumentState & AutoRecovery::E_HANDLED) == AutoRecovery::E_HANDLED)
continue;
@@ -3296,7 +3296,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_openDocs(const DispatchParams& aPa
info.DocumentState &= ~AutoRecovery::E_TRY_LOAD_BACKUP;
info.DocumentState &= ~AutoRecovery::E_TRY_LOAD_ORIGINAL;
info.DocumentState |= AutoRecovery::E_HANDLED;
- info.DocumentState |= AutoRecovery::E_SUCCEDED;
+ info.DocumentState |= AutoRecovery::E_SUCCEEDED;
implts_flushConfigItem(info);
implts_informListener(eJob,
More information about the Libreoffice-commits
mailing list