[Libreoffice-commits] core.git: include/sfx2
Stephan Bergmann
sbergman at redhat.com
Thu Mar 9 15:35:19 UTC 2017
include/sfx2/bindings.hxx | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit e5b98fd9c29fe427c4babe368c17d8c609b5325e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Mar 9 16:34:43 2017 +0100
Fix "specialization in different namespace" error with old GCCs
Change-Id: I8b2c678ec70de3432bb335d7e76487ef44cd72a6
diff --git a/include/sfx2/bindings.hxx b/include/sfx2/bindings.hxx
index ea67658..c39d075 100644
--- a/include/sfx2/bindings.hxx
+++ b/include/sfx2/bindings.hxx
@@ -64,8 +64,12 @@ enum class SfxCallMode : sal_uInt16
MODAL = 0x10 // despite ModalMode
};
-template<> struct o3tl::typed_flags<SfxCallMode>:
- o3tl::is_typed_flags<SfxCallMode, 0x1F> {};
+namespace o3tl {
+
+template<> struct typed_flags<SfxCallMode>: is_typed_flags<SfxCallMode, 0x1F>
+{};
+
+}
class SFX2_DLLPUBLIC SfxBindings: public SfxBroadcaster
More information about the Libreoffice-commits
mailing list