summaryrefslogtreecommitdiff
path: root/filter/source/graphic
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-09-19 18:55:19 +0200
committerEike Rathke <erack@redhat.com>2017-09-19 18:56:29 +0200
commit179da6befe2181e276a12de350e3dd80682c4b2f (patch)
treea71720a25c9f225af78b7f6f302d8de28d4a698d /filter/source/graphic
parentd915987bfcd99deb9446781408d475ff96b1df55 (diff)
Rename getCurrentPageWriter() to getCurrentPage()
... and let getCurrentPageWriter() be a private implementation detail. Change-Id: Iaa14d8eab81e5750fbaf45adc6aab66eee9018eb Reviewed-on: https://gerrit.libreoffice.org/42488 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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/graphic/GraphicExportFilter.cxx b/filter/source/graphic/GraphicExportFilter.cxx
index b6d468889569..de9d68646e27 100644
--- a/filter/source/graphic/GraphicExportFilter.cxx
+++ b/filter/source/graphic/GraphicExportFilter.cxx
@@ -115,7 +115,7 @@ sal_Bool SAL_CALL GraphicExportFilter::filter( const Sequence<PropertyValue>& rD
gatherProperties(rDescriptor);
DocumentToGraphicRenderer aRenderer( mxDocument, mbSelectionOnly );
- sal_Int32 nCurrentPage = aRenderer.getCurrentPageWriter();
+ sal_Int32 nCurrentPage = aRenderer.getCurrentPage();
Size aDocumentSizePixel = aRenderer.getDocumentSizeInPixels(nCurrentPage);
Size aTargetSizePixel(mTargetWidth, mTargetHeight);