diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2020-03-03 12:46:19 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2020-03-04 11:31:45 +0100 |
commit | ec85ed21a960a198a01778cdb89a91fabcb5d0c0 (patch) | |
tree | 93e9b167b5a986b49dc7f0533d2f24cb86a7602e /forms | |
parent | 3e0c5113a298d3ded705706193f8b6b909027b2f (diff) |
vcl: rename GetContext to GetReaderContext in Graphic
GetContext is a very generic method name, so rename it to a more
specific GetReaderContext name. It is easier to find references.
Change-Id: Ieb05ac63080598357107dc3e485b481910cd79cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89929
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/imgprod.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx index e95ce18fc1b9..930fa60c26df 100644 --- a/forms/source/component/imgprod.cxx +++ b/forms/source/component/imgprod.cxx @@ -241,7 +241,7 @@ void ImageProducer::setImage( css::uno::Reference< css::io::XInputStream > const void ImageProducer::NewDataAvailable() { - if( ( GraphicType::NONE == mpGraphic->GetType() ) || mpGraphic->GetContext() ) + if( ( GraphicType::NONE == mpGraphic->GetType() ) || mpGraphic->GetReaderContext() ) startProduction(); } @@ -257,7 +257,7 @@ void ImageProducer::startProduction() { // if we already have a graphic, we don't have to import again; // graphic is cleared if a new Stream is set - if( ( mpGraphic->GetType() == GraphicType::NONE ) || mpGraphic->GetContext() ) + if( ( mpGraphic->GetType() == GraphicType::NONE ) || mpGraphic->GetReaderContext() ) { if ( ImplImportGraphic( *mpGraphic ) ) maDoneHdl.Call( mpGraphic.get() ); |