diff options
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 1 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwshd.cxx | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 9470e1697b0b..210cf689d2c1 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -226,7 +226,6 @@ public: virtual ~ScTabViewShell() override; weld::Window* GetDialogParent(); - vcl::Window* GetLegacyDialogParent(); bool IsRefInputMode() const; void ExecuteInputDirect(); diff --git a/sc/source/ui/view/tabvwshd.cxx b/sc/source/ui/view/tabvwshd.cxx index 15f35672c641..b86663900273 100644 --- a/sc/source/ui/view/tabvwshd.cxx +++ b/sc/source/ui/view/tabvwshd.cxx @@ -64,20 +64,4 @@ weld::Window* ScTabViewShell::GetDialogParent() return pWin ? pWin->GetFrameWeld() : nullptr; } -vcl::Window* ScTabViewShell::GetLegacyDialogParent() -{ - ScDocShell* pDocSh = GetViewData().GetDocShell(); - if ( pDocSh->IsOle() ) - { - // TODO/LATER: how to GetEditWindow in embedded document?! - // It should be OK to return the ViewShell Window! - return GetWindow(); - // SvInPlaceEnvironment* pEnv = pDocSh->GetIPEnv(); - // if (pEnv) - // return pEnv->GetEditWin(); - } - - return GetActiveWin(); // for normal views, too -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |