diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-27 09:22:13 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-28 09:31:16 +0000 |
commit | 43b4903db3e925c652e25c34362490f8adc9c5ec (patch) | |
tree | af12777b72d42280467e8cc19b914b2c7f4f3816 /oox | |
parent | 7d6308dad9f4a079d57719a6e3a9c4cebb47d051 (diff) |
teach stylepolice plugin about ref-counted-pointer naming
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752
Reviewed-on: https://gerrit.libreoffice.org/24459
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/fillpropertiesgroupcontext.cxx | 6 | ||||
-rw-r--r-- | oox/source/ole/olehelper.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/drawingml/fillpropertiesgroupcontext.cxx b/oox/source/drawingml/fillpropertiesgroupcontext.cxx index cca0752170f9..78d4b16ecc9b 100644 --- a/oox/source/drawingml/fillpropertiesgroupcontext.cxx +++ b/oox/source/drawingml/fillpropertiesgroupcontext.cxx @@ -157,9 +157,9 @@ BlipContext::BlipContext( ContextHandler2Helper& rParent, // code rework. OUString aRelId = rAttribs.getString( R_TOKEN( link ), OUString() ); OUString aTargetLink = getFilter().getAbsoluteUrl( getRelations().getExternalTargetFromRelId( aRelId ) ); - SfxMedium xMed( aTargetLink, STREAM_STD_READ ); - xMed.Download(); - Reference< io::XInputStream > xInStrm = xMed.GetInputStream(); + SfxMedium aMed( aTargetLink, STREAM_STD_READ ); + aMed.Download(); + Reference< io::XInputStream > xInStrm = aMed.GetInputStream(); if ( xInStrm.is() ) mrBlipProps.mxGraphic = getFilter().getGraphicHelper().importGraphic( xInStrm ); } diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx index 4068fa7661ea..e20e13fec539 100644 --- a/oox/source/ole/olehelper.cxx +++ b/oox/source/ole/olehelper.cxx @@ -550,8 +550,8 @@ bool MSConvertOCXControls::WriteOCXExcelKludgeStream( const css::uno::Reference< SvGlobalName aName; OUString sId = exportHelper.getGUID(); aName.MakeId(sId); - BinaryXOutputStream xOut( xOutStrm, false ); - OleHelper::exportGuid( xOut, aName ); + BinaryXOutputStream aOut( xOutStrm, false ); + OleHelper::exportGuid( aOut, aName ); exportHelper.exportControl( xOutStrm, rSize ); return true; } |