diff options
author | Ivan Safonov <insafonov@gmail.com> | 2017-07-24 00:05:40 +0300 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-08-12 20:51:57 +0200 |
commit | c88d4ddfcdbf3fcaf7eddbfc56ec9e15392ecf85 (patch) | |
tree | ac8e4fd71668382cabb13edf4645459af98ed05c /cppcanvas/source/inc | |
parent | 1a4dd1fa2a851f678d728ed342a59d48f8cc74ea (diff) |
tdf#96099 Remove ActionSharedPtr typedef
Replace ActionSharedPtr by its definition.
Change-Id: Iedd14c85169230d961f0707671885451875529d7
Reviewed-on: https://gerrit.libreoffice.org/40340
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'cppcanvas/source/inc')
-rw-r--r-- | cppcanvas/source/inc/action.hxx | 3 | ||||
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/cppcanvas/source/inc/action.hxx b/cppcanvas/source/inc/action.hxx index aa63ffce01bd..ff1ccc8b6949 100644 --- a/cppcanvas/source/inc/action.hxx +++ b/cppcanvas/source/inc/action.hxx @@ -144,9 +144,6 @@ namespace cppcanvas */ virtual sal_Int32 getActionCount() const = 0; }; - - typedef std::shared_ptr< Action > ActionSharedPtr; - } } diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index d8752f544139..de215e0132ca 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -199,14 +199,14 @@ static float GetSwapFloat( SvStream& rSt ) // public, since some functors need it, too. struct MtfAction { - MtfAction( const ActionSharedPtr& rAction, + MtfAction( const std::shared_ptr<Action>& rAction, sal_Int32 nOrigIndex ) : mpAction( rAction ), mnOrigIndex( nOrigIndex ) { } - ActionSharedPtr mpAction; + std::shared_ptr<Action> mpAction; sal_Int32 mnOrigIndex; }; |