From fdeb14e4ee73ca1e1213f0dcde61600d9baac657 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 21 Oct 2013 10:59:38 +0300 Subject: Simplify further after the kerning pair changes The ImplKernPairData struct was used now only by the VCL Windows code, and was apparently supposed to be identical to the Win32 KERNINGPAIR struct anyway. GetKernPairs() was called just once with zero and NULL parameters anyway, so it can be simplified. Change-Id: Iaa288868d1e590e0385377abc5b9d9d331d39d97 --- vcl/inc/win/salgdi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vcl/inc/win') diff --git a/vcl/inc/win/salgdi.h b/vcl/inc/win/salgdi.h index ccbee184a3fb..b54c8765b213 100644 --- a/vcl/inc/win/salgdi.h +++ b/vcl/inc/win/salgdi.h @@ -270,8 +270,7 @@ private: bool tryDrawBitmapGdiPlus(const SalTwoRect& rTR, const SalBitmap& rSrcBitmap); // get kernign pairs of the current font - // return only PairCount if (pKernPairs == NULL) - sal_uLong GetKernPairs( sal_uLong nPairs, ImplKernPairData* pKernPairs ); + sal_uLong GetKernPairs(); public: // public SalGraphics methods, the interface to the independent vcl part -- cgit