Remove useless typedef DescriptorContainer

Change-Id: Ie5463de6946d1682e28ff8359c3274980af8a1da
Reviewed-on: https://gerrit.libreoffice.org/24736
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Julien Nabet
2016-05-08 00:57:55 +02:00
parent cf2cff00de
commit fbf1963d94
2 changed files with 3 additions and 4 deletions

View File

@@ -210,8 +210,7 @@ private:
css::uno::Reference<css::container::XIndexAccess> mxSlides;
PageKind mePageKind;
EditMode meEditMode;
typedef ::std::vector<SharedPageDescriptor> DescriptorContainer;
mutable DescriptorContainer maPageDescriptors;
mutable ::std::vector<SharedPageDescriptor> maPageDescriptors;
/** Resize the descriptor container according to current values of
page kind and edit mode.

View File

@@ -312,14 +312,14 @@ void SlideSorterModel::Resync()
void SlideSorterModel::ClearDescriptorList()
{
DescriptorContainer aDescriptors;
::std::vector<SharedPageDescriptor> aDescriptors;
{
::osl::MutexGuard aGuard (maMutex);
aDescriptors.swap(maPageDescriptors);
}
for (DescriptorContainer::iterator iDescriptor=aDescriptors.begin(), iEnd=aDescriptors.end();
for (::std::vector<SharedPageDescriptor>::iterator iDescriptor=aDescriptors.begin(), iEnd=aDescriptors.end();
iDescriptor!=iEnd;
++iDescriptor)
{