summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2022-07-29 00:08:46 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2022-08-30 13:07:36 +0200
commit2958e4c92f15652c424765f02c87518011eb2406 (patch)
tree788c66ebf5f6fee2921fbc1a4bab773645e7390a /framework
parent1f6918b458e5edee8daa7c81675b30d50533249f (diff)
tdf#149956 Remove previous vcl only solution
Change-Id: Id67b75856a230e175ccc6328ec0838c78589191b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139020 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/uielement/toolbarmanager.hxx1
-rw-r--r--framework/source/uielement/toolbarmanager.cxx9
2 files changed, 0 insertions, 10 deletions
diff --git a/framework/inc/uielement/toolbarmanager.hxx b/framework/inc/uielement/toolbarmanager.hxx
index 162e14aca4e3..865a1b54d5b4 100644
--- a/framework/inc/uielement/toolbarmanager.hxx
+++ b/framework/inc/uielement/toolbarmanager.hxx
@@ -82,7 +82,6 @@ public:
virtual void Clear() = 0;
virtual void SetName(const OUString& rName) = 0;
virtual void SetHelpId(const OString& rHelpId) = 0;
- virtual void TrackImageOrientation(const css::uno::Reference<css::frame::XFrame>& rFrame) = 0;
virtual bool WillUsePopupMode() = 0;
virtual bool IsReallyVisible() = 0;
virtual void SetIconSize(ToolBoxButtonSize eSize) = 0;
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index 86a6c161900d..d1251f96cb84 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -292,11 +292,6 @@ public:
m_pToolBar->SetHelpId( rHelpId );
}
- virtual void TrackImageOrientation(const css::uno::Reference<css::frame::XFrame>& rFrame) override
- {
- m_pToolBar->TrackImageOrientation(rFrame);
- }
-
virtual bool WillUsePopupMode() override
{
return m_pToolBar->WillUsePopupMode();
@@ -483,8 +478,6 @@ public:
virtual void SetHelpId(const OString& /*rHelpId*/) override {}
- virtual void TrackImageOrientation(const css::uno::Reference<css::frame::XFrame>&) override {}
-
virtual bool WillUsePopupMode() override { return true; }
virtual bool IsReallyVisible() override { return true; }
@@ -1669,8 +1662,6 @@ void ToolBarManager::RequestImages()
++pIter;
++i;
}
-
- m_pImpl->TrackImageOrientation(m_xFrame);
}
void ToolBarManager::notifyRegisteredControllers( const OUString& aUIElementName, const OUString& aCommand )