summaryrefslogtreecommitdiff
path: root/vcl/source/window/debugevent.cxx
diff options
context:
space:
mode:
authorMark Page <aptitude@btconnect.com>2016-06-09 15:53:20 +0100
committerNoel Grandin <noelgrandin@gmail.com>2016-06-10 07:25:59 +0000
commit99200d7cc2a952f92074934c647db076aae5e48b (patch)
tree31fe35cd3e7997f116d64235913c41c958a34ea7 /vcl/source/window/debugevent.cxx
parentfc7e6d8445af39ffc6a753d7104167ee8f376b9c (diff)
tdf#96099 Remove various smart pointer typedefs in vcl
Change-Id: I4ac1bb25d3d63f150b42d9e1708efc344bbdb6a7 Reviewed-on: https://gerrit.libreoffice.org/26113 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/window/debugevent.cxx')
-rw-r--r--vcl/source/window/debugevent.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/source/window/debugevent.cxx b/vcl/source/window/debugevent.cxx
index cff4d023dfdd..4bdc65a6545e 100644
--- a/vcl/source/window/debugevent.cxx
+++ b/vcl/source/window/debugevent.cxx
@@ -57,9 +57,8 @@ vcl::Window *DebugEventInjector::ChooseWindow()
return aChildren[ aChildren.size() * getRandom() ];
}
-typedef std::vector< SalMenuEvent > MenuItemIds;
-static void CollectMenuItemIds( Menu *pMenu, MenuItemIds &rIds )
+static void CollectMenuItemIds( Menu *pMenu, std::vector< SalMenuEvent > &rIds )
{
sal_uInt16 nItems = pMenu->GetItemCount();
for (sal_uInt16 i = 0; i < nItems; i++)
@@ -99,7 +98,7 @@ void DebugEventInjector::InjectMenuEvent()
SalEvent::MenuButtonCommand,
};
- MenuItemIds aIds;
+ std::vector< SalMenuEvent > aIds;
CollectMenuItemIds( pMenuBar, aIds );
SalEvent nEvent = nEvents[ (int)(getRandom() * SAL_N_ELEMENTS( nEvents )) ];