loplugin:constparam in drawinglayer
Change-Id: I7921dc085e348945f8f14c12a15ed6c5414f298e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183294 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -374,7 +374,7 @@ TextLayouterDevice::getSalLayout(const OUString& rText, sal_uInt32 nIndex, sal_u
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TextLayouterDevice::createEmphasisMarks(
|
void TextLayouterDevice::createEmphasisMarks(
|
||||||
SalLayout& rSalLayout, TextEmphasisMark aTextEmphasisMark, bool bAbove,
|
const SalLayout& rSalLayout, TextEmphasisMark aTextEmphasisMark, bool bAbove,
|
||||||
const std::function<void(const basegfx::B2DPoint&, const basegfx::B2DPolyPolygon&, bool,
|
const std::function<void(const basegfx::B2DPoint&, const basegfx::B2DPolyPolygon&, bool,
|
||||||
const tools::Rectangle&, const tools::Rectangle&)>& rCallback) const
|
const tools::Rectangle&, const tools::Rectangle&)>& rCallback) const
|
||||||
{
|
{
|
||||||
|
@@ -351,7 +351,7 @@ void TextSimplePortionPrimitive2D::createTextLayouter(TextLayouterDevice& rTextL
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<SalLayout>
|
std::unique_ptr<SalLayout>
|
||||||
TextSimplePortionPrimitive2D::createSalLayout(TextLayouterDevice& rTextLayouter) const
|
TextSimplePortionPrimitive2D::createSalLayout(const TextLayouterDevice& rTextLayouter) const
|
||||||
{
|
{
|
||||||
// As mentioned above we can act in the
|
// As mentioned above we can act in the
|
||||||
// Text's local coordinate system without transformation at all
|
// Text's local coordinate system without transformation at all
|
||||||
|
@@ -122,7 +122,7 @@ public:
|
|||||||
const KernArray& rDXArray,
|
const KernArray& rDXArray,
|
||||||
std::span<const sal_Bool> pKashidaAry) const;
|
std::span<const sal_Bool> pKashidaAry) const;
|
||||||
void createEmphasisMarks(
|
void createEmphasisMarks(
|
||||||
SalLayout& rSalLayout, TextEmphasisMark aTextEmphasisMark, bool bAbove,
|
const SalLayout& rSalLayout, TextEmphasisMark aTextEmphasisMark, bool bAbove,
|
||||||
const std::function<void(const basegfx::B2DPoint&, const basegfx::B2DPolyPolygon&, bool,
|
const std::function<void(const basegfx::B2DPoint&, const basegfx::B2DPolyPolygon&, bool,
|
||||||
const tools::Rectangle&, const tools::Rectangle&)>& rCallback)
|
const tools::Rectangle&, const tools::Rectangle&)>& rCallback)
|
||||||
const;
|
const;
|
||||||
|
@@ -146,7 +146,7 @@ public:
|
|||||||
// and decompose. NOTE: the TextLayouterDevice is filled, but should always only
|
// and decompose. NOTE: the TextLayouterDevice is filled, but should always only
|
||||||
// be used temporary (do not try to buffer)
|
// be used temporary (do not try to buffer)
|
||||||
void createTextLayouter(TextLayouterDevice& rTextLayouter) const;
|
void createTextLayouter(TextLayouterDevice& rTextLayouter) const;
|
||||||
std::unique_ptr<SalLayout> createSalLayout(TextLayouterDevice& rTextLayouter) const;
|
std::unique_ptr<SalLayout> createSalLayout(const TextLayouterDevice& rTextLayouter) const;
|
||||||
|
|
||||||
/// constructor
|
/// constructor
|
||||||
TextSimplePortionPrimitive2D(basegfx::B2DHomMatrix aNewTransform, OUString aText,
|
TextSimplePortionPrimitive2D(basegfx::B2DHomMatrix aNewTransform, OUString aText,
|
||||||
|
Reference in New Issue
Block a user