diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-22 15:52:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-24 07:56:01 +0100 |
commit | de8f6b25de6fbe813fe172542e7eff1596b37335 (patch) | |
tree | 4a2864c87395463391cd2ad40c4f1ada962f44e9 /include/vcl/pdfwriter.hxx | |
parent | 182a3c7e12a0f56d664deaf67d17bc51eef6299d (diff) |
loplugin:unused-returns in vcl
Change-Id: I507320900a47f604d17ed7d402d531a7cbdf744e
Reviewed-on: https://gerrit.libreoffice.org/48331
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/pdfwriter.hxx')
-rw-r--r-- | include/vcl/pdfwriter.hxx | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index 9ff7e4e46ae3..302d98fc85b0 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -1103,13 +1103,8 @@ The following structure describes the permissions used in PDF security @param nElement the id of the new current structure element - - @returns - True if the current structure element could be set successfully - False if the current structure element could not be changed - (e.g. if the passed element id is invalid) */ - bool SetCurrentStructureElement( sal_Int32 nElement ); + void SetCurrentStructureElement( sal_Int32 nElement ); /** set a structure attribute on the current structural element @@ -1123,12 +1118,8 @@ The following structure describes the permissions used in PDF security @param eVal the value to set the attribute to - - @returns - True if the value was valid and the change has been performed, - False if the attribute or value was invalid; attribute remains unchanged */ - bool SetStructureAttribute( enum StructAttribute eAttr, enum StructAttributeValue eVal ); + void SetStructureAttribute( enum StructAttribute eAttr, enum StructAttributeValue eVal ); /** set a structure attribute on the current structural element SetStructureAttributeNumerical sets an attribute of the current structural element @@ -1141,12 +1132,8 @@ The following structure describes the permissions used in PDF security @param nValue the value to set the attribute to - - @returns - True if the value was valid and the change has been performed, - False if the attribute or value was invalid; attribute remains unchanged */ - bool SetStructureAttributeNumerical( enum StructAttribute eAttr, sal_Int32 nValue ); + void SetStructureAttributeNumerical( enum StructAttribute eAttr, sal_Int32 nValue ); /** set the bounding box of a structural element SetStructureBoundingBox sets the BBox attribute to a new value. Since the BBox |