summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/inc/tabview.hxx12
-rw-r--r--sc/source/ui/view/tabview3.cxx11
2 files changed, 14 insertions, 9 deletions
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index e12e53f65473..82b46318235b 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -100,15 +100,9 @@ public:
~ScExtraEditViewManager();
- void Add(SfxViewShell* pViewShell, ScSplitPos eWhich)
- {
- Apply<Adder>(pViewShell, eWhich);
- }
-
- void Remove(SfxViewShell* pViewShell, ScSplitPos eWhich)
- {
- Apply<Remover>(pViewShell, eWhich);
- }
+ void Add(SfxViewShell* pViewShell, ScSplitPos eWhich);
+
+ void Remove(SfxViewShell* pViewShell, ScSplitPos eWhich);
private:
template<ModifierTagType ModifierTag>
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index a14fb12b3fc1..fa68182b2399 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -99,6 +99,17 @@ ScExtraEditViewManager::~ScExtraEditViewManager()
DBG_ASSERT(nTotalWindows == 0, "ScExtraEditViewManager dtor: some out window has not yet been removed!");
}
+inline void ScExtraEditViewManager::Add(SfxViewShell* pViewShell, ScSplitPos eWhich)
+{
+ Apply<Adder>(pViewShell, eWhich);
+}
+
+inline void ScExtraEditViewManager::Remove(SfxViewShell* pViewShell, ScSplitPos eWhich)
+{
+ Apply<Remover>(pViewShell, eWhich);
+}
+
+
template<ScExtraEditViewManager::ModifierTagType ModifierTag>
void ScExtraEditViewManager::Apply(SfxViewShell* pViewShell, ScSplitPos eWhich)
{