From c88d4ddfcdbf3fcaf7eddbfc56ec9e15392ecf85 Mon Sep 17 00:00:00 2001 From: Ivan Safonov Date: Mon, 24 Jul 2017 00:05:40 +0300 Subject: tdf#96099 Remove ActionSharedPtr typedef Replace ActionSharedPtr by its definition. Change-Id: Iedd14c85169230d961f0707671885451875529d7 Reviewed-on: https://gerrit.libreoffice.org/40340 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- cppcanvas/source/inc/action.hxx | 3 --- cppcanvas/source/inc/implrenderer.hxx | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'cppcanvas/source/inc') 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& rAction, sal_Int32 nOrigIndex ) : mpAction( rAction ), mnOrigIndex( nOrigIndex ) { } - ActionSharedPtr mpAction; + std::shared_ptr mpAction; sal_Int32 mnOrigIndex; }; -- cgit