include/vcl/pdf/PDFAnnotationMarker.hxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
New commits: commit 4168e37a4584db1a5490f53250370fd29f8d61c5 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Mon May 13 16:12:04 2024 +0900 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Thu Jun 13 09:17:28 2024 +0200 vcl: document and simplify PDFAnnotationMarker Change-Id: I0e03e5a009500144abcf9b35ca2224b60837872d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167568 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> (cherry picked from commit 426084531b730dbde95351e17187da888da83636) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168570 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Miklos Vajna <vmik...@collabora.com> diff --git a/include/vcl/pdf/PDFAnnotationMarker.hxx b/include/vcl/pdf/PDFAnnotationMarker.hxx index c4be54d69318..c643856375b5 100644 --- a/include/vcl/pdf/PDFAnnotationMarker.hxx +++ b/include/vcl/pdf/PDFAnnotationMarker.hxx @@ -17,16 +17,14 @@ namespace vcl::pdf { +/** PDF Annotation marker + * + * All units in 100th mm. + */ struct VCL_DLLPUBLIC PDFAnnotationMarker { - PDFAnnotationMarker() - : mnWidth(0.0f) - , maFillColor(COL_TRANSPARENT) - { - } - - float mnWidth; - Color maFillColor; + float mnWidth = 0.0; + Color maFillColor = COL_TRANSPARENT; }; struct VCL_DLLPUBLIC PDFAnnotationMarkerCircle : public PDFAnnotationMarker