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:
@@ -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.
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user