summaryrefslogtreecommitdiff
path: root/vcl/inc/win
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-21 10:59:38 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-21 11:18:45 +0300
commitfdeb14e4ee73ca1e1213f0dcde61600d9baac657 (patch)
tree533b6c2ac8cf117f28c33decfea5b60544615be9 /vcl/inc/win
parent48bb54aa7eafa85c5b0a2574fb3fa167614ddcbc (diff)
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
Diffstat (limited to 'vcl/inc/win')
-rw-r--r--vcl/inc/win/salgdi.h3
1 files changed, 1 insertions, 2 deletions
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