summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx')
-rw-r--r--cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx b/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
index e5664cabfc1d..99f4f95ecc9a 100644
--- a/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
+++ b/cppcanvas/source/mtfrenderer/cachedprimitivebase.cxx
@@ -46,11 +46,11 @@ namespace cppcanvas::internal
SAL_INFO( "cppcanvas.emf", "::cppcanvas::internal::CachedPrimitiveBase::render()" );
SAL_INFO( "cppcanvas.emf", "::cppcanvas::internal::CachedPrimitiveBase: 0x" << std::hex << this );
- const rendering::ViewState& rViewState( mpCanvas->getViewState() );
+ const rendering::ViewState aViewState( mpCanvas->getViewState() );
::basegfx::B2DHomMatrix aTotalTransform;
::canvas::tools::getViewStateTransform( aTotalTransform,
- rViewState );
+ aViewState );
aTotalTransform *= rTransformation;
// can we use the cached primitive? For that, it must be
@@ -61,7 +61,7 @@ namespace cppcanvas::internal
(!mbOnlyRedrawWithSameTransform ||
maLastTransformation == aTotalTransform) )
{
- if( mxCachedPrimitive->redraw( rViewState ) ==
+ if( mxCachedPrimitive->redraw( aViewState ) ==
rendering::RepaintResult::REDRAWN )
{
// cached repaint succeeded, done.