Kaydet (Commit) b1b6f163 authored tarafından Noel Grandin's avatar Noel Grandin

inline ISurfaceProxySharedPtr typedef

some places were not using the typedef anyhow

Change-Id: Idf92ad63b05101832827113701a85eca48c084c6
üst 857ff938
......@@ -104,7 +104,7 @@ namespace dxcanvas
// access point to the surface proxy which handles
// the hardware-dependent rendering stuff.
canvas::ISurfaceProxySharedPtr mpSurfaceProxy;
std::shared_ptr< canvas::ISurfaceProxy > mpSurfaceProxy;
// container for pixel data, we need to use a directx
// surface since GDI+ sucks...
......
......@@ -48,7 +48,7 @@ namespace canvas
texture may be distributed to several real hardware
surfaces.
*/
virtual ISurfaceProxySharedPtr createSurfaceProxy( const IColorBufferSharedPtr& pBuffer ) const SAL_OVERRIDE
virtual std::shared_ptr<ISurfaceProxy> createSurfaceProxy( const IColorBufferSharedPtr& pBuffer ) const SAL_OVERRIDE
{
// not much to do for now, simply allocate a new surface
// proxy from our internal pool and initialize this thing
......
......@@ -97,8 +97,6 @@ namespace canvas
const ::basegfx::B2DPolyPolygon& rClipPoly,
const ::basegfx::B2DHomMatrix& rTransform ) = 0;
};
typedef std::shared_ptr< ISurfaceProxy > ISurfaceProxySharedPtr;
}
#endif // INCLUDED_CANVAS_RENDERING_ISURFACEPROXY_HXX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment