diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-12-30 20:15:51 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2015-12-30 22:31:59 +1100 |
commit | e7d052bd576ac7f0e905c716ab437b1ff976f30c (patch) | |
tree | b2e2e71a69871fd72ecbd9223b0eec8f7227d3eb /vcl | |
parent | d23e6f2e9261d97e8544591abe83a2c78d8eb70d (diff) |
vcl: update comment in AddFontFace() to match reality
Change-Id: Ia9fb7818b500b126e08e2586781b15477d9fd6db
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/font/PhysicalFontFamily.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/font/PhysicalFontFamily.cxx b/vcl/source/font/PhysicalFontFamily.cxx index 01ca378b99fd..50ab10eeb8f4 100644 --- a/vcl/source/font/PhysicalFontFamily.cxx +++ b/vcl/source/font/PhysicalFontFamily.cxx @@ -160,7 +160,7 @@ bool PhysicalFontFamily::AddFontFace( PhysicalFontFace* pNewFontFace ) if( pNewFontFace->GetFamilyName() == GetFamilyName() ) pNewFontFace->SetFamilyName( GetFamilyName() ); - // insert new physical font face into linked list + // add the new physical font face, replacing existing font face if necessary // TODO: get rid of linear search? for(std::vector< PhysicalFontFace* >::iterator it=maFontFaces.begin(); it != maFontFaces.end(); ++it ) { |