diff options
author | Mark Page <aptitude@btconnect.com> | 2016-06-09 10:41:10 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-06-09 12:56:27 +0000 |
commit | 8561f8bfccb73ce4ac834598c4c32ac5c81774e5 (patch) | |
tree | 989cee77c19aefcffe126881b238c0136ba317dd /canvas/source/tools/pagemanager.hxx | |
parent | bdd67652b6b60164220c259b5c4dbef1aba85102 (diff) |
tdf#96099 Remove various smart pointer typedefs in canvas
Change-Id: Ied6ec5f7830c53a339de985d173c1dec711ac8f7
Reviewed-on: https://gerrit.libreoffice.org/26092
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'canvas/source/tools/pagemanager.hxx')
-rw-r--r-- | canvas/source/tools/pagemanager.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/tools/pagemanager.hxx b/canvas/source/tools/pagemanager.hxx index 03a5470ea2af..d89754d51ec6 100644 --- a/canvas/source/tools/pagemanager.hxx +++ b/canvas/source/tools/pagemanager.hxx @@ -32,7 +32,7 @@ namespace canvas class PageManager { public: - explicit PageManager(const canvas::IRenderModuleSharedPtr& rRenderModule) + explicit PageManager(const std::shared_ptr<canvas::IRenderModule>& rRenderModule) : mpRenderModule(rRenderModule) { } @@ -41,7 +41,7 @@ namespace canvas // accelerated page, e.g. OpenGL texture. ::basegfx::B2ISize getPageSize() const; - const canvas::IRenderModuleSharedPtr& getRenderModule() const { return mpRenderModule; } + const std::shared_ptr<canvas::IRenderModule>& getRenderModule() const { return mpRenderModule; } FragmentSharedPtr allocateSpace( const ::basegfx::B2ISize& rSize ); void free( const FragmentSharedPtr& pFragment ); @@ -53,7 +53,7 @@ namespace canvas private: // the pagemanager needs access to the rendermodule // since we query for system resources from it. - canvas::IRenderModuleSharedPtr mpRenderModule; + std::shared_ptr<canvas::IRenderModule> mpRenderModule; // here we collect all fragments that will be created // since we need them for relocation purposes. |