libreoffice-online/kit
Ashod Nakashian 7a976488f0 wsd: cleanup the global flag accessors
The following flags are affected:
ShutdownRequestFlag
TerminationFlag
DumpGlobalState

Since it's common to grep for all places
that set or reset these global flags, it
makes more sense to have explicit functions
for each operation. Now we have set and reset
accessors where appropriate and get is reserved
for read-only access.

This changes the getters to only return
the boolean value of these flags rather than
a reference to the atomic object, now that
they are read-only.

Also, a few Mobile-specific cases were folded
either with other Mobile-specific sections, or
they were now identical to the non-Mobile case
and therefore deduplicated, making the code
cleaner and more readable.

Change-Id: Icc852aa43e86695d4e7d5962040a9b5086d9d08c
Reviewed-on: https://gerrit.libreoffice.org/81978
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2019-11-06 03:43:45 +01:00
..
ChildSession.cpp wsd: leaflet: Insert background 2019-11-06 03:43:02 +01:00
ChildSession.hpp Include normalizedViewId to TileCache 2019-10-15 18:13:03 +03:00
Delta.hpp DeltaBitmapRow: make members private 2018-11-08 09:16:57 +01:00
DummyLibreOfficeKit.cpp kit: make members private in DummyLibreOfficeKit 2019-01-18 09:07:20 +01:00
DummyLibreOfficeKit.hpp
ForKit.cpp wsd: cleanup the global flag accessors 2019-11-06 03:43:45 +01:00
Kit.cpp wsd: cleanup the global flag accessors 2019-11-06 03:43:45 +01:00
Kit.hpp wsd: improved kit thread naming 2019-09-22 20:23:27 +02:00
KitHelper.hpp wsd: leaflet: status now includes selected parts 2019-08-17 04:30:42 +02:00
TestStubs.cpp TestStubs: add more stubs for sanitizers 2019-05-28 09:10:45 +02:00
Watermark.hpp kit: also add missing modeline 2019-10-15 22:18:05 +02:00