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;
|
css::uno::Reference<css::container::XIndexAccess> mxSlides;
|
||||||
PageKind mePageKind;
|
PageKind mePageKind;
|
||||||
EditMode meEditMode;
|
EditMode meEditMode;
|
||||||
typedef ::std::vector<SharedPageDescriptor> DescriptorContainer;
|
mutable ::std::vector<SharedPageDescriptor> maPageDescriptors;
|
||||||
mutable DescriptorContainer maPageDescriptors;
|
|
||||||
|
|
||||||
/** Resize the descriptor container according to current values of
|
/** Resize the descriptor container according to current values of
|
||||||
page kind and edit mode.
|
page kind and edit mode.
|
||||||
|
@@ -312,14 +312,14 @@ void SlideSorterModel::Resync()
|
|||||||
|
|
||||||
void SlideSorterModel::ClearDescriptorList()
|
void SlideSorterModel::ClearDescriptorList()
|
||||||
{
|
{
|
||||||
DescriptorContainer aDescriptors;
|
::std::vector<SharedPageDescriptor> aDescriptors;
|
||||||
|
|
||||||
{
|
{
|
||||||
::osl::MutexGuard aGuard (maMutex);
|
::osl::MutexGuard aGuard (maMutex);
|
||||||
aDescriptors.swap(maPageDescriptors);
|
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!=iEnd;
|
||||||
++iDescriptor)
|
++iDescriptor)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user