summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-14 08:41:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-14 11:06:32 +0000
commitf7965b0bcd559451c471a26bf5fd6f542887d95e (patch)
treef6b1a30faeba1e6f16393dd4ea34bc75293a5655 /sfx2
parent03637a75c1bebf8b35b520139b9ddfa3238ee53f (diff)
remove some unused typedefs, and inline some use-once
Change-Id: I5ada1cff98c0a3e065d126444f8052f444323743 Reviewed-on: https://gerrit.libreoffice.org/23234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/shell.cxx10
1 files changed, 4 insertions, 6 deletions
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 <vector>
#include <map>
-// Maps the Which() field to a pointer to a SfxPoolItem
-typedef std::map<sal_uInt16, std::unique_ptr<SfxPoolItem>> 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<sal_uInt16, std::unique_ptr<SfxPoolItem>>
+ 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 <UI-active>
SfxRepeatTarget* pRepeatTarget; // SbxObjectRef xParent;
bool bActive;