summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-25 15:05:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-26 08:01:13 +0100
commitb9fe4f26eaf1099b8d0907b8d9cbf52c86914466 (patch)
treefd80c20323ce7c72303c98a11454f607888d6c86 /filter
parentde60c73db31ec34ffb2e008829083bb7ddcb3061 (diff)
rename some local variables
mostly to make the job of my very aggressive unused local vars plugin easier Change-Id: Ifc21a920841f8589f8b7e10de39dba6622a5d501 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87399 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgexport.cxx8
-rw-r--r--filter/source/xsltdialog/xmlfilterdialogcomponent.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index df77168765b6..731cb6d4561e 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -568,9 +568,9 @@ bool SVGFilter::implExportImpressOrDraw( const Reference< XOutputStream >& rxOSt
// mpSVGExport = new SVGExport( xDocHandler );
mpSVGExport = new SVGExport( xContext, xDocHandler, maFilterData );
- // xSVGExport is set up only to manage the life-time of the object pointed by mpSVGExport,
+ // xKeepAlive is set up only to manage the life-time of the object pointed by mpSVGExport,
// and in order to prevent that it is destroyed when passed to AnimationExporter.
- Reference< XInterface > xSVGExport = static_cast< css::document::XFilter* >( mpSVGExport );
+ Reference< XInterface > xKeepAlive = static_cast< css::document::XFilter* >( mpSVGExport );
// create an id for each draw page
for( const auto& rPage : mSelectedPages )
@@ -657,9 +657,9 @@ bool SVGFilter::implExportWriterOrCalc( const Reference< XOutputStream >& rxOStm
// mpSVGExport = new SVGExport( xDocHandler );
mpSVGExport = new SVGExport( xContext, xDocHandler, maFilterData );
- // xSVGExport is set up only to manage the life-time of the object pointed by mpSVGExport,
+ // xKeepAlive is set up only to manage the life-time of the object pointed by mpSVGExport,
// and in order to prevent that it is destroyed when passed to AnimationExporter.
- Reference< XInterface > xSVGExport = static_cast< css::document::XFilter* >( mpSVGExport );
+ Reference< XInterface > xKeepAlive = static_cast< css::document::XFilter* >( mpSVGExport );
try
{
diff --git a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
index 5ef1bb064193..6aad2f1f7323 100644
--- a/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
+++ b/filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
@@ -277,7 +277,7 @@ sal_Int16 SAL_CALL XMLFilterDialogComponent::execute()
bool bLaunch = false;
if (!mxDialog)
{
- Reference< XComponent > xComp( this );
+ Reference< XComponent > xKeepAlive( this );
mxDialog = std::make_shared<XMLFilterSettingsDialog>(Application::GetFrameWeld(mxParent), mxContext);
bLaunch = true;
}