From 1002675c64315b75d5a2ff75431d8de8d52459d9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 21 Oct 2020 20:47:31 +0100 Subject: rename SfxThumbnailView back to ThumbnailView MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I07251905c3bf5bccb23c684d47ed34e79dde55fb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104645 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- dbaccess/source/ui/app/AppIconControl.cxx | 12 ++++++------ dbaccess/source/ui/app/AppIconControl.hxx | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'dbaccess') diff --git a/dbaccess/source/ui/app/AppIconControl.cxx b/dbaccess/source/ui/app/AppIconControl.cxx index 29a1c35a8d84..261855982604 100644 --- a/dbaccess/source/ui/app/AppIconControl.cxx +++ b/dbaccess/source/ui/app/AppIconControl.cxx @@ -57,7 +57,7 @@ public: }; OApplicationIconControl::OApplicationIconControl(std::unique_ptr xScroll) - : SfxThumbnailView(std::move(xScroll), nullptr) + : ThumbnailView(std::move(xScroll), nullptr) , m_pActionListener(nullptr) , m_nMaxWidth(0) , m_nMaxHeight(0) @@ -126,7 +126,7 @@ void OApplicationIconControl::Resize() // fill the full width of the allocated area and give two lines of space to // center the title in setItemDimensions(GetOutputSizePixel().Width(), m_nMaxHeight, GetTextHeight() * 2, 0); - SfxThumbnailView::Resize(); + ThumbnailView::Resize(); } bool OApplicationIconControl::IsMnemonicChar(sal_Unicode cChar, ElementType& rType) const @@ -165,12 +165,12 @@ bool OApplicationIconControl::DoKeyShortCut(const KeyEvent& rKEvt) bool OApplicationIconControl::KeyInput(const KeyEvent& rKEvt) { - return DoKeyShortCut(rKEvt) || SfxThumbnailView::KeyInput(rKEvt); + return DoKeyShortCut(rKEvt) || ThumbnailView::KeyInput(rKEvt); } void OApplicationIconControl::SetDrawingArea(weld::DrawingArea* pDrawingArea) { - SfxThumbnailView::SetDrawingArea(pDrawingArea); + ThumbnailView::SetDrawingArea(pDrawingArea); m_xDropTarget.reset(new OApplicationIconControlDropTarget(*this)); } @@ -203,13 +203,13 @@ OApplicationIconControl::~OApplicationIconControl() void OApplicationIconControl::GetFocus() { - SfxThumbnailView::GetFocus(); + ThumbnailView::GetFocus(); Invalidate(); // redraw focus rect } void OApplicationIconControl::LoseFocus() { - SfxThumbnailView::LoseFocus(); + ThumbnailView::LoseFocus(); Invalidate(); // redraw focus rect } diff --git a/dbaccess/source/ui/app/AppIconControl.hxx b/dbaccess/source/ui/app/AppIconControl.hxx index 7ca11cef2659..91f81b71a038 100644 --- a/dbaccess/source/ui/app/AppIconControl.hxx +++ b/dbaccess/source/ui/app/AppIconControl.hxx @@ -33,7 +33,7 @@ namespace dbaui class IconControl; class OApplicationIconControlDropTarget; - class OApplicationIconControl final : public SfxThumbnailView + class OApplicationIconControl final : public ThumbnailView { std::unique_ptr m_xDropTarget; IControlActionListener* m_pActionListener; -- cgit