diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-10-29 12:43:54 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2016-10-31 03:48:49 +0000 |
commit | b589c4cd8765b0611afe435354364df891d78852 (patch) | |
tree | 4dbfacf74480e2154a2e38c3fd41fe9d34f08fc3 /vcl/win | |
parent | 3d83c42008ab51202c0577f493e8ed3fde0310b7 (diff) |
Omit comparator which is the same as default std::less<key_type>
Change-Id: I72a0b618577caececaaf3eb4df53d4cb192251da
Reviewed-on: https://gerrit.libreoffice.org/30369
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/gdi/salbmp.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/vcl/win/gdi/salbmp.cxx b/vcl/win/gdi/salbmp.cxx index 73d3d78362bf..4470576edfd7 100644 --- a/vcl/win/gdi/salbmp.cxx +++ b/vcl/win/gdi/salbmp.cxx @@ -62,15 +62,7 @@ inline void ImplSetPixel4( sal_uInt8* pScanline, long nX, const BYTE cIndex ) // Helper class to manage Gdiplus::Bitmap instances inside of // WinSalBitmap -struct Comparator -{ - bool operator()(WinSalBitmap* pA, WinSalBitmap* pB) const - { - return pA < pB; - } -}; - -typedef ::std::map< WinSalBitmap*, sal_uInt32, Comparator > EntryMap; +typedef ::std::map< WinSalBitmap*, sal_uInt32 > EntryMap; static const sal_uInt32 nDefaultCycles(60); class GdiPlusBuffer : protected cppu::BaseMutex, public Timer |