summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/textaction.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-19 14:35:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 09:19:33 +0200
commitc0565f7011fa6d6b295e522c023127970ccce822 (patch)
tree205dcde2c25dc1e62fdbe870a36d67621b1642da /cppcanvas/source/mtfrenderer/textaction.cxx
parent3cb3a809230d1b3de22ab8addcf10e840dcde0e3 (diff)
loplugin:constparams in cppcanvas
Change-Id: Ic440819b5a1c71d2e4503b9a3b1e961c4ce123af Reviewed-on: https://gerrit.libreoffice.org/40205 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas/source/mtfrenderer/textaction.cxx')
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/textaction.cxx b/cppcanvas/source/mtfrenderer/textaction.cxx
index 442a09b6170a..312550eac166 100644
--- a/cppcanvas/source/mtfrenderer/textaction.cxx
+++ b/cppcanvas/source/mtfrenderer/textaction.cxx
@@ -185,7 +185,7 @@ namespace cppcanvas
uno::Sequence< double > setupDXArray( const OUString& rText,
sal_Int32 nStartPos,
sal_Int32 nLen,
- VirtualDevice& rVDev,
+ VirtualDevice const & rVDev,
const OutDevState& rState )
{
// no external DX array given, create one from given
@@ -261,7 +261,7 @@ namespace cppcanvas
o_rTextLayout->applyLogicalAdvancements( rOffsets );
}
- double getLineWidth( ::VirtualDevice& rVDev,
+ double getLineWidth( ::VirtualDevice const & rVDev,
const OutDevState& rState,
const rendering::StringContext& rStringContext )
{
@@ -1585,7 +1585,7 @@ namespace cppcanvas
};
double calcOutlineWidth( const OutDevState& rState,
- VirtualDevice& rVDev )
+ VirtualDevice const & rVDev )
{
const ::basegfx::B2DSize aFontSize( 0,
rVDev.GetFont().GetFontHeight() / 64.0 );