summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-06 15:55:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-06 15:56:46 +0100
commit0f6dbd1b1762e0b273046a045eb902475fc6890b (patch)
treeaeedc7e7f66d542429dbe714a65dce8f30ed6104 /vcl/inc
parent5d900f6ef8573dfe40fef236fbc3c788cea15224 (diff)
callcatcher: GetKerningPair* is now unused
since commit c4008ef54630b560792aa288437db1179ad96095 Change-Id: I0cef8db6b59774c804a6a5589f258a55bfc64592
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/outfont.hxx3
-rw-r--r--vcl/inc/vcl/outdev.hxx14
2 files changed, 0 insertions, 17 deletions
diff --git a/vcl/inc/outfont.hxx b/vcl/inc/outfont.hxx
index bb40f86fdc24..39bc2a2e1009 100644
--- a/vcl/inc/outfont.hxx
+++ b/vcl/inc/outfont.hxx
@@ -269,9 +269,6 @@ private:
// --------------------
// - ImplKernPairData -
// --------------------
-// TODO: get rid of ImplKernPairData and use outdev.hxx's KerningPair struct
-// the problem is that outdev.hxx is too high level for the device layers
-// and outdev.hxx's customers depend on KerningPair being defined there
struct ImplKernPairData
{
diff --git a/vcl/inc/vcl/outdev.hxx b/vcl/inc/vcl/outdev.hxx
index e1721e9ef4f4..fabeb78217cb 100644
--- a/vcl/inc/vcl/outdev.hxx
+++ b/vcl/inc/vcl/outdev.hxx
@@ -134,17 +134,6 @@ struct ImplThresholdRes
long mnThresPixToLogY; // ""
};
-// ---------------
-// - KerningPair -
-// ---------------
-
-struct KerningPair
-{
- sal_Unicode nChar1;
- sal_Unicode nChar2;
- long nKern;
-};
-
// ----------------------
// - OutputDevice-Types -
// ----------------------
@@ -650,9 +639,6 @@ public:
static XubString GetNonMnemonicString( const XubString& rStr )
{ xub_StrLen nDummy; return GetNonMnemonicString( rStr, nDummy ); }
- sal_uLong GetKerningPairCount() const;
- void GetKerningPairs( sal_uLong nPairs, KerningPair* pKernPairs ) const;
-
sal_Bool GetTextBoundRect( Rectangle& rRect,
const String& rStr, xub_StrLen nBase = 0, xub_StrLen nIndex = 0, xub_StrLen nLen = STRING_LEN,
sal_uLong nLayoutWidth = 0, const sal_Int32* pDXArray = NULL ) const;