summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2022-08-11 21:46:56 +1000
committerTomaž Vajngerl <quikee@gmail.com>2022-08-23 08:30:39 +0200
commitfe2fcbf0e564e2b0d8f3dbec326d3423bc5fbcf5 (patch)
tree16a7635f38efacfa2912820031243d78db6492ab /include/vcl
parent9879eb714347a30444d85498975408e1706626be (diff)
vcl: move ImplEmphasisMarkStyle() to vcl::Font and add unit test
Change-Id: I958296225c5491a2cd78d64fb16d079272d7c28d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138140 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/font.hxx1
-rw-r--r--include/vcl/outdev.hxx3
2 files changed, 1 insertions, 3 deletions
diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx
index 824d5c0666c4..b371990ba11c 100644
--- a/include/vcl/font.hxx
+++ b/include/vcl/font.hxx
@@ -70,6 +70,7 @@ public:
FontWidth GetWidthType() const;
TextAlign GetAlignment() const;
rtl_TextEncoding GetCharSet() const;
+ FontEmphasisMark GetEmphasisMarkStyle() const;
bool IsSymbolFont() const;
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 9cef5f435aaf..5dab75f230d4 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1145,9 +1145,6 @@ public:
SAL_DLLPRIVATE void ImplGetEmphasisMark( tools::PolyPolygon& rPolyPoly, bool& rPolyLine, tools::Rectangle& rRect1, tools::Rectangle& rRect2,
tools::Long& rYOff, tools::Long& rWidth, FontEmphasisMark eEmphasis, tools::Long nHeight );
- SAL_DLLPRIVATE static FontEmphasisMark
- ImplGetEmphasisMarkStyle( const vcl::Font& rFont );
-
bool GetGlyphBoundRects( const Point& rOrigin, const OUString& rStr, int nIndex,
int nLen, std::vector< tools::Rectangle >& rVector ) const;