summaryrefslogtreecommitdiff
path: root/filter/source/graphic
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-09-19 18:48:44 +0200
committerEike Rathke <erack@redhat.com>2017-09-19 18:52:29 +0200
commitd915987bfcd99deb9446781408d475ff96b1df55 (patch)
tree0db1282890f56e186ae1f58deceed8ff3cf574c2 /filter/source/graphic
parent9c90cf14cc200778e3689371e62fa4c19466f75c (diff)
'a'CurrentPage gets on my nerves
Change-Id: Ifb6137048d7206c1f3a718331ed8b42f746052bb Reviewed-on: https://gerrit.libreoffice.org/42487 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'filter/source/graphic')
-rw-r--r--filter/source/graphic/GraphicExportFilter.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/graphic/GraphicExportFilter.cxx b/filter/source/graphic/GraphicExportFilter.cxx
index bfc9e231ec72..b6d468889569 100644
--- a/filter/source/graphic/GraphicExportFilter.cxx
+++ b/filter/source/graphic/GraphicExportFilter.cxx
@@ -115,15 +115,15 @@ sal_Bool SAL_CALL GraphicExportFilter::filter( const Sequence<PropertyValue>& rD
gatherProperties(rDescriptor);
DocumentToGraphicRenderer aRenderer( mxDocument, mbSelectionOnly );
- sal_Int32 aCurrentPage = aRenderer.getCurrentPageWriter();
- Size aDocumentSizePixel = aRenderer.getDocumentSizeInPixels(aCurrentPage);
+ sal_Int32 nCurrentPage = aRenderer.getCurrentPageWriter();
+ Size aDocumentSizePixel = aRenderer.getDocumentSizeInPixels(nCurrentPage);
Size aTargetSizePixel(mTargetWidth, mTargetHeight);
if (mTargetWidth == 0 || mTargetHeight == 0)
aTargetSizePixel = aDocumentSizePixel;
- Graphic aGraphic = aRenderer.renderToGraphic(aCurrentPage, aDocumentSizePixel, aTargetSizePixel, COL_WHITE);
+ Graphic aGraphic = aRenderer.renderToGraphic(nCurrentPage, aDocumentSizePixel, aTargetSizePixel, COL_WHITE);
GraphicFilter& rFilter = GraphicFilter::GetGraphicFilter();