diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-21 14:29:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-23 12:36:15 +0200 |
commit | e2548315bfa103f114cc629a5b99b48f7542e9ac (patch) | |
tree | ae419aa521163ccaa56e15ea3c0c754036e32e0e /filter | |
parent | d4ca0cc293e060e68237f251173d951eceb7898f (diff) |
loplugin: cstylecast
Change-Id: Iad39bce8e7562821bc8fbf8156ea56aedc19c7d6
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/svg/svgexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx index 7a1f4e8712e0..a71e4700350b 100644 --- a/filter/source/svg/svgexport.cxx +++ b/filter/source/svg/svgexport.cxx @@ -1312,7 +1312,7 @@ bool SVGFilter::implExportTextEmbeddedBitmaps() sId = "bitmap(" + OUString::number( nId ) + ")"; mpSVGExport->AddAttribute( XML_NAMESPACE_NONE, "id", sId ); - const Reference< XShape >& rxShape = (const Reference< XShape >&)( it->GetObject() ); + const Reference< XInterface >& rxShape = it->GetObject(); Reference< XPropertySet > xShapePropSet( rxShape, UNO_QUERY ); ::com::sun::star::awt::Rectangle aBoundRect; if( xShapePropSet.is() && ( xShapePropSet->getPropertyValue( "BoundRect" ) >>= aBoundRect ) ) |