summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas/source/mtfrenderer')
-rw-r--r--cppcanvas/source/mtfrenderer/emfplus.cxx6
-rw-r--r--cppcanvas/source/mtfrenderer/emfppath.cxx2
-rw-r--r--cppcanvas/source/mtfrenderer/emfppath.hxx2
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.cxx6
4 files changed, 8 insertions, 8 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index c63f85928182..3550e3ace05f 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -297,7 +297,7 @@ namespace cppcanvas
x & 0xff), \
rCanvas->getUNOCanvas()->getDevice()->getDeviceColorSpace());
- void ImplRenderer::EMFPPlusFillPolygon (::basegfx::B2DPolyPolygon& polygon, const ActionFactoryParameters& rParms,
+ void ImplRenderer::EMFPPlusFillPolygon (::basegfx::B2DPolyPolygon const & polygon, const ActionFactoryParameters& rParms,
OutDevState& rState, const CanvasSharedPtr& rCanvas, bool isColor, sal_uInt32 brushIndexOrColor)
{
::basegfx::B2DPolyPolygon localPolygon (polygon);
@@ -815,7 +815,7 @@ namespace cppcanvas
return cellSize;
}
- void ImplRenderer::GraphicStatePush(GraphicStateMap& map, sal_Int32 index, OutDevState& rState)
+ void ImplRenderer::GraphicStatePush(GraphicStateMap& map, sal_Int32 index, OutDevState const & rState)
{
GraphicStateMap::iterator iter = map.find( index );
@@ -852,7 +852,7 @@ namespace cppcanvas
}
}
- void ImplRenderer::processEMFPlus( MetaCommentAction* pAct, const ActionFactoryParameters& rFactoryParms,
+ void ImplRenderer::processEMFPlus( MetaCommentAction const * pAct, const ActionFactoryParameters& rFactoryParms,
OutDevState& rState, const CanvasSharedPtr& rCanvas )
{
sal_uInt32 length = pAct->GetDataSize ();
diff --git a/cppcanvas/source/mtfrenderer/emfppath.cxx b/cppcanvas/source/mtfrenderer/emfppath.cxx
index 749bc900cc62..4a90f1e9c4c6 100644
--- a/cppcanvas/source/mtfrenderer/emfppath.cxx
+++ b/cppcanvas/source/mtfrenderer/emfppath.cxx
@@ -60,7 +60,7 @@ namespace cppcanvas
}
// TODO: remove rR argument when debug code is no longer needed
- void EMFPPath::Read (SvStream& s, sal_uInt32 pathFlags, ImplRenderer& rR)
+ void EMFPPath::Read (SvStream& s, sal_uInt32 pathFlags, ImplRenderer const & rR)
{
for (int i = 0; i < nPoints; i ++) {
if (pathFlags & 0x800) {
diff --git a/cppcanvas/source/mtfrenderer/emfppath.hxx b/cppcanvas/source/mtfrenderer/emfppath.hxx
index f4e92937e432..7f60a76f896f 100644
--- a/cppcanvas/source/mtfrenderer/emfppath.hxx
+++ b/cppcanvas/source/mtfrenderer/emfppath.hxx
@@ -38,7 +38,7 @@ namespace cppcanvas
virtual ~EMFPPath() override;
// TODO: remove rR argument when debug code is no longer needed
- void Read(SvStream& s, sal_uInt32 pathFlags, ImplRenderer& rR);
+ void Read(SvStream& s, sal_uInt32 pathFlags, ImplRenderer const & rR);
::basegfx::B2DPolyPolygon& GetPolygon(ImplRenderer& rR, bool bMapIt = true, bool bAddLineToCloseShape = false);
};
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 );