summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-09 16:34:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-09 16:34:43 +0100
commite5b98fd9c29fe427c4babe368c17d8c609b5325e (patch)
treed8d8378c5f171c51534d26a7bcc211bceb09e8a8 /include/sfx2
parentbad797db7fd26e5af97fe1c5b1f3a37fa94a10b2 (diff)
Fix "specialization in different namespace" error with old GCCs
Change-Id: I8b2c678ec70de3432bb335d7e76487ef44cd72a6
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/bindings.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sfx2/bindings.hxx b/include/sfx2/bindings.hxx
index ea67658f0530..c39d075f6398 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