From a28f89581c0395f4af76161e1c99302d9f665a8f Mon Sep 17 00:00:00 2001 From: "Armin Le Grand (allotropia)" Date: Sat, 5 Nov 2022 14:51:14 +0100 Subject: Remove double functionality There was processorfromoutputdevice.cxx|hxx containing createBaseProcessor2DFromOutputDevice that does exactly the same thing as createProcessor2DFromOutputDevice in processor2dtools.cxx|hxx, so I removed one onf them to make handling of future changes easier. Change-Id: Id8d49d1572a1bc39f1d330a742d4697c8c030e75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142320 Tested-by: Jenkins Reviewed-by: Armin Le Grand --- sfx2/source/control/thumbnailview.cxx | 4 ++-- sfx2/source/dialog/infobar.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index 4371d6ab5eb8..8ec9b80ea6d4 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include #include @@ -895,7 +895,7 @@ void ThumbnailView::Paint(vcl::RenderContext& rRenderContext, const ::tools::Rec const drawinglayer::geometry::ViewInformation2D aNewViewInfos; std::unique_ptr pProcessor( - drawinglayer::processor2d::createBaseProcessor2DFromOutputDevice(rRenderContext, aNewViewInfos)); + drawinglayer::processor2d::createProcessor2DFromOutputDevice(rRenderContext, aNewViewInfos)); pProcessor->process(aSeq); // draw items diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx index 144a3cd85c6a..aca75bffadd1 100644 --- a/sfx2/source/dialog/infobar.cxx +++ b/sfx2/source/dialog/infobar.cxx @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include #include @@ -108,7 +108,7 @@ void SfxInfoBarWindow::SetCloseButtonImage() const ViewInformation2D aNewViewInfos; const std::unique_ptr pProcessor( - createBaseProcessor2DFromOutputDevice(*xDevice, aNewViewInfos)); + createProcessor2DFromOutputDevice(*xDevice, aNewViewInfos)); const ::tools::Rectangle aRect(aBtnPos, xDevice->PixelToLogic(aSize)); -- cgit