App: Prepare for clang-format

This commit is contained in:
wmayer
2024-06-03 10:34:17 +02:00
committed by wwmayer
parent fd7f6039b6
commit 6fb7c51c18
15 changed files with 55 additions and 11 deletions

View File

@@ -261,8 +261,9 @@ void Property::Paste(const Property& /*from*/)
}
void Property::setStatusValue(unsigned long status) {
// clang-format off
static const unsigned long mask =
(1<<PropDynamic)
(1<<PropDynamic)
|(1<<PropNoRecompute)
|(1<<PropReadOnly)
|(1<<PropTransient)
@@ -270,6 +271,7 @@ void Property::setStatusValue(unsigned long status) {
|(1<<PropHidden)
|(1<<PropNoPersist)
|(1<<Busy);
// clang-format on
status &= ~mask;
status |= StatusBits.to_ulong() & mask;