From f7965b0bcd559451c471a26bf5fd6f542887d95e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 14 Mar 2016 08:41:57 +0200 Subject: remove some unused typedefs, and inline some use-once Change-Id: I5ada1cff98c0a3e065d126444f8052f444323743 Reviewed-on: https://gerrit.libreoffice.org/23234 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/control/shell.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index 5e80b2858f68..007a8bfb97eb 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -48,18 +48,16 @@ #include #include -// Maps the Which() field to a pointer to a SfxPoolItem -typedef std::map> SfxItemPtrMap; - - using namespace com::sun::star; struct SfxShell_Impl: public SfxBroadcaster { OUString aObjectName; // Name of Sbx-Objects - SfxItemPtrMap m_Items; // Data exchange on Item level + // Maps the Which() field to a pointer to a SfxPoolItem + std::map> + m_Items; // Data exchange on Item level SfxViewShell* pViewSh; // SfxViewShell if Shell is - // ViewFrame/ViewShell/SubShell list + // ViewFrame/ViewShell/SubShell list SfxViewFrame* pFrame; // Frame, if SfxRepeatTarget* pRepeatTarget; // SbxObjectRef xParent; bool bActive; -- cgit