diff options
author | Gökçen Eraslan <gokcen.eraslan@gmail.com> | 2012-06-23 20:30:47 +0300 |
---|---|---|
committer | Gökçen Eraslan <gokcen.eraslan@gmail.com> | 2012-06-23 20:30:47 +0300 |
commit | 1d546e142274f9f1f1bbc60f095b4b7c7493e469 (patch) | |
tree | 488ec2beaae1ecd11747077f508433f2ea8c4330 /vcl/inc | |
parent | 77d41a25fe7afc31045ea6a39cb7bfb6c74d85fa (diff) |
Use /Rect [0, 0, 0, 0] if signature is not visible.
Change-Id: I271b882d95d6e0bc7b5831add67046e7f476c7dd
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/vcl/pdfwriter.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/inc/vcl/pdfwriter.hxx b/vcl/inc/vcl/pdfwriter.hxx index 99f99d6f6ca2..8ffab0948d93 100644 --- a/vcl/inc/vcl/pdfwriter.hxx +++ b/vcl/inc/vcl/pdfwriter.hxx @@ -452,12 +452,18 @@ public: struct SignatureWidget: public AnyWidget { + // Use Sig prefix for members to avoid conflict with + // the Location member of the AnyWidget which spcifies the coordinates + // of the signature + rtl::OUString SigLocation; rtl::OUString SigReason; rtl::OUString SigContactInfo; + bool SigHidden; SignatureWidget() - : AnyWidget( vcl::PDFWriter::Signature ) + : AnyWidget( vcl::PDFWriter::Signature ), + SigHidden( true ) {} virtual AnyWidget* Clone() const |