summaryrefslogtreecommitdiff
path: root/vcl/source/outdev
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/outdev
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/outdev')
-rw-r--r--vcl/source/outdev/font.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 022ba4438bd1..388b9b566886 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -720,7 +720,7 @@ void OutputDevice::RemoveFontSubstitute( sal_uInt16 n )
void ImplDirectFontSubstitution::RemoveFontSubstitute( int nIndex )
{
- FontSubstList::iterator it = maFontSubstList.begin();
+ std::list<ImplFontSubstEntry>::iterator it = maFontSubstList.begin();
for( int nCount = 0; (it != maFontSubstList.end()) && (nCount++ != nIndex); ++it ) ;
if( it != maFontSubstList.end() )
maFontSubstList.erase( it );
@@ -739,7 +739,7 @@ bool ImplDirectFontSubstitution::FindFontSubstitute( OUString& rSubstName,
const OUString& rSearchName ) const
{
// TODO: get rid of O(N) searches
- FontSubstList::const_iterator it = maFontSubstList.begin();
+ std::list<ImplFontSubstEntry>::const_iterator it = maFontSubstList.begin();
for(; it != maFontSubstList.end(); ++it )
{
const ImplFontSubstEntry& rEntry = *it;