diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-11-12 19:36:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-13 15:59:32 +0100 |
commit | 39f4fd491ca5abaa8a01b75eb500bb82248ff4aa (patch) | |
tree | 9ab668bdb597361e12c91e28a958a327c1e05af8 /include/oox | |
parent | 1b6e3efe964eec9110e656a8242f6f4d8b5e7f7e (diff) |
rtl::Static->thread-safe static
Change-Id: I3010494a750eee70ffe9c24c10417d0a3730dbd6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125120
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/token/tokenmap.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/oox/token/tokenmap.hxx b/include/oox/token/tokenmap.hxx index 60aeb8082001..db71c24c2371 100644 --- a/include/oox/token/tokenmap.hxx +++ b/include/oox/token/tokenmap.hxx @@ -28,7 +28,6 @@ #include <com/sun/star/uno/Sequence.hxx> #include <oox/token/tokens.hxx> #include <oox/dllapi.h> -#include <rtl/instance.hxx> #include <rtl/ustring.hxx> #include <sal/log.hxx> #include <sal/types.h> @@ -87,8 +86,7 @@ private: }; -struct StaticTokenMap : public ::rtl::Static< TokenMap, StaticTokenMap > {}; - +TokenMap& StaticTokenMap(); } // namespace oox |