From dbe58407ecf6a74671e8703a57b27896409fd5af Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 23 May 2020 21:07:52 +0100 Subject: GetSysTextLayoutData is newly unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and thus SystemTextLayoutData and SystemGlyphData Change-Id: Ib22e4b4f98b9da0337f31645bd26e41475f6d830 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94739 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- include/vcl/outdev.hxx | 5 ----- include/vcl/sysdata.hxx | 14 -------------- 2 files changed, 19 deletions(-) (limited to 'include') diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 81724f297917..e9231c30fb8a 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -56,7 +56,6 @@ struct ImplOutDevData; class LogicalFontInstance; struct SystemGraphicsData; struct SystemFontData; -struct SystemTextLayoutData; class ImplFontCache; class PhysicalFontCollection; class ImplDeviceFontList; @@ -1331,10 +1330,6 @@ private: public: - SystemTextLayoutData GetSysTextLayoutData( const Point& rStartPt, const OUString& rStr, - sal_Int32 nIndex, sal_Int32 nLen, - const long* pDXAry ) const; - // tells whether this output device is RTL in an LTR UI or LTR in a RTL UI SAL_DLLPRIVATE bool ImplIsAntiparallel() const ; SAL_DLLPRIVATE void ReMirror( Point &rPoint ) const; diff --git a/include/vcl/sysdata.hxx b/include/vcl/sysdata.hxx index 3152fa3bed56..8be99112d74b 100644 --- a/include/vcl/sysdata.hxx +++ b/include/vcl/sysdata.hxx @@ -185,14 +185,6 @@ struct SystemWindowData #endif }; -struct SystemGlyphData -{ - sal_uInt32 index; - double x; - double y; - int fallbacklevel; -}; - #if ENABLE_CAIRO_CANVAS struct SystemFontData @@ -222,12 +214,6 @@ struct SystemFontData #endif // ENABLE_CAIRO_CANVAS -struct SystemTextLayoutData -{ - std::vector rGlyphData; // glyph data - int orientation; // Text orientation -}; - #endif // INCLUDED_VCL_SYSDATA_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit