drawinglayer/source/processor2d/SDPRProcessor2dTools.cxx | 2 +- include/drawinglayer/processor2d/SDPRProcessor2dTools.hxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit b63afb3c74d4285a7d46917354eafc0087a73f8f Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Jan 18 07:54:00 2023 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed Jan 18 07:45:51 2023 +0000 Fix typo ...which happened to go largely unnoticed (the would-be additional overload, as seen when including drawinglayer/processor2d/SDPRProcessor2dTools.hxx first thing in drawinglayer/source/processor2d/SDPRProcessor2dTools.cxx, was just never defined nor used), but caused > drawinglayer/source/processor2d/SDPRProcessor2dTools.cxx(140,6): error: externally available entity 'prepareBitmapForDirectRender' is not previously declared in an included file (if it is only used in this translation unit, make it static; otherwise, provide a declaration of it in an included file) [loplugin:external] > bool prepareBitmapForDirectRender( > ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ with clang-cl Change-Id: I9f338dd998b66fe3223af045206a423b016b93f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145696 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/drawinglayer/source/processor2d/SDPRProcessor2dTools.cxx b/drawinglayer/source/processor2d/SDPRProcessor2dTools.cxx index 01abd9ff9af1..981e52dc55c4 100644 --- a/drawinglayer/source/processor2d/SDPRProcessor2dTools.cxx +++ b/drawinglayer/source/processor2d/SDPRProcessor2dTools.cxx @@ -139,7 +139,7 @@ void takeCareOfOffsetXY( bool prepareBitmapForDirectRender( const drawinglayer::primitive2d::FillGraphicPrimitive2D& rFillGraphicPrimitive2D, - const geometry::ViewInformation2D& rViewInformation2D, BitmapEx& rTarget, + const drawinglayer::geometry::ViewInformation2D& rViewInformation2D, BitmapEx& rTarget, basegfx::B2DRange& rFillUnitRange, double fBigDiscreteArea) { const attribute::FillGraphicAttribute& rFillGraphicAttribute( diff --git a/include/drawinglayer/processor2d/SDPRProcessor2dTools.hxx b/include/drawinglayer/processor2d/SDPRProcessor2dTools.hxx index 4b8b6c6c4347..e7bdbceffcd2 100644 --- a/include/drawinglayer/processor2d/SDPRProcessor2dTools.hxx +++ b/include/drawinglayer/processor2d/SDPRProcessor2dTools.hxx @@ -26,7 +26,7 @@ namespace drawinglayer::primitive2d class FillGraphicPrimitive2D; } -namespace geometry +namespace drawinglayer::geometry { class ViewInformation2D; } @@ -82,7 +82,7 @@ namespace drawinglayer::processor2d */ bool prepareBitmapForDirectRender( const drawinglayer::primitive2d::FillGraphicPrimitive2D& rFillGraphicPrimitive2D, - const geometry::ViewInformation2D& rViewInformation2D, BitmapEx& rTarget, + const drawinglayer::geometry::ViewInformation2D& rViewInformation2D, BitmapEx& rTarget, basegfx::B2DRange& rFillUnitRange, double fBigDiscreteArea = 300.0 * 300.0); /** helper to react/process if OffsetX/OffsetY of the FillGraphicAttribute is used.