diff options
author | sj <sj@openoffice.org> | 2010-09-24 17:02:42 +0200 |
---|---|---|
committer | sj <sj@openoffice.org> | 2010-09-24 17:02:42 +0200 |
commit | 68f609b72d9cc7ec3afbe108fa91e3271a62f65f (patch) | |
tree | 94138ca15382c161b9f80f0729e85603867fec17 /sdext/source/minimizer/graphiccollector.hxx | |
parent | c257abf34ec2fd6e1814211fa01342dc843b671e (diff) |
impress201: #114741# reducing memory footprint if mimimizing very huge documents -> no more graphics lost
Diffstat (limited to 'sdext/source/minimizer/graphiccollector.hxx')
-rw-r--r-- | sdext/source/minimizer/graphiccollector.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sdext/source/minimizer/graphiccollector.hxx b/sdext/source/minimizer/graphiccollector.hxx index cf2c35e3ae92..f7cd6dd06674 100644 --- a/sdext/source/minimizer/graphiccollector.hxx +++ b/sdext/source/minimizer/graphiccollector.hxx @@ -76,14 +76,13 @@ class GraphicCollector struct GraphicEntity { - com::sun::star::uno::Reference< com::sun::star::graphic::XGraphic > mxGraphic; // the corresponding XGraphic of the Shape com::sun::star::awt::Size maLogicalSize; // the biggest logical size the graphic will be displayed sal_Bool mbRemoveCropArea; // com::sun::star::text::GraphicCrop maGraphicCropLogic; std::vector< GraphicUser > maUser; - GraphicEntity( const com::sun::star::uno::Reference< com::sun::star::graphic::XGraphic >& xGraphic, const GraphicUser& rUser ) - : mxGraphic( xGraphic ), maLogicalSize( rUser.maLogicalSize ), mbRemoveCropArea( sal_False ), maGraphicCropLogic( 0, 0, 0, 0 ) { maUser.push_back( rUser ); }; + GraphicEntity( const GraphicUser& rUser ) + : maLogicalSize( rUser.maLogicalSize ), mbRemoveCropArea( sal_False ), maGraphicCropLogic( 0, 0, 0, 0 ) { maUser.push_back( rUser ); }; }; static const com::sun::star::awt::DeviceInfo& GetDeviceInfo( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxFact ); |