diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-12-03 20:35:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-12-04 10:23:51 +0000 |
commit | 9935fdbcb45ef021c4a25aaced19bcefce5301d7 (patch) | |
tree | a8e9cc14cc8d6a780283b76f9861111ea3b320c9 /vcl | |
parent | 815fd0084aaa6b8c536a13a415cb8cdaf6124ba7 (diff) |
Related: tdf#152196 adjustLinearPosX takes a double
Change-Id: I5e32c82b37af3900642199e0af74bf8b48218c2b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143623
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/sallayout.hxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/sallayout.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx index 5a3a253b68a9..35496750c286 100644 --- a/vcl/inc/sallayout.hxx +++ b/vcl/inc/sallayout.hxx @@ -132,7 +132,7 @@ public: private: // for glyph+font+script fallback - void MoveGlyph(int nStart, DeviceCoordinate nNewXPos); + void MoveGlyph(int nStart, double nNewXPos); void DropGlyph(int nStart); void Simplify(bool bIsBase); diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx index 5f26dc351316..2d5a33237e1b 100644 --- a/vcl/source/gdi/sallayout.cxx +++ b/vcl/source/gdi/sallayout.cxx @@ -539,7 +539,7 @@ bool GenericSalLayout::GetNextGlyph(const GlyphItem** pGlyph, return true; } -void GenericSalLayout::MoveGlyph( int nStart, DeviceCoordinate nNewXPos ) +void GenericSalLayout::MoveGlyph(int nStart, double nNewXPos) { if( nStart >= static_cast<int>(m_GlyphItems.size()) ) return; |