diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-12 12:29:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-13 20:28:12 +0100 |
commit | b8d3d4ad0f5bf4f449118214a91219b98ee506c3 (patch) | |
tree | 47bcf39252f1357b0e97a628be4f5b4611297f78 /include | |
parent | c58cc416b604de0891fc8976bcf7cf099e2e8e00 (diff) |
merge the various SetPointFont via DefaultDevice calls
Change-Id: I769bb95c588c7222ff0dc6c4b845dfc3f0d7cbc0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112390
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/weldutils.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/weldutils.hxx b/include/vcl/weldutils.hxx index 86af6c6e95ee..b75b94d99e52 100644 --- a/include/vcl/weldutils.hxx +++ b/include/vcl/weldutils.hxx @@ -434,6 +434,9 @@ VCL_DLLPUBLIC int GetMinimumEditHeight(); // from relative to rOutWin to relative to that weld::Window suitable for use // with popup_at_rect VCL_DLLPUBLIC weld::Window* GetPopupParent(vcl::Window& rOutWin, tools::Rectangle& rRect); + +// Use Application::GetDefaultDevice to set the PointFont rFont to the OutputDevice +VCL_DLLPUBLIC void SetPointFont(OutputDevice& rDevice, const vcl::Font& rFont); } #endif |