summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2016-05-08 00:57:55 +0200
committerJulien Nabet <serval2412@yahoo.fr>2016-05-08 06:33:31 +0000
commitfbf1963d94c7585df944784bd485901dcdb75acf (patch)
treea1c8f45223b487ee34724216e152d0146b4d8362 /sd
parentcf2cff00de75baa2d5be27ad032d0fa4d5cfb578 (diff)
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>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx3
-rw-r--r--sd/source/ui/slidesorter/model/SlideSorterModel.cxx4
2 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
index 8f22b6ba4d3d..5b54f9cd03b8 100644
--- a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
@@ -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.
diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
index 4d9ddfaf5e4c..6baca008835b 100644
--- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
+++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
@@ -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)
{