summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/textaction.cxx
diff options
context:
space:
mode:
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 );