diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-10-02 20:42:41 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-10-04 11:43:40 +0200 |
commit | 1ea27b7e35faf6619112bf3f1d69e4ec41c0bf23 (patch) | |
tree | 22a88c2721e7cb3814e9b14f03c312ad1dde2858 /include/vcl/pdfextoutdevdata.hxx | |
parent | a8f522f4257729ea11178ebf165fdd3a2b7be240 (diff) |
vcl: remove defensive programming from SetCurrentStructureElement()
Change-Id: I47b0f29a564cdbdd1a55fe4a332fa9efd63af557
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157505
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'include/vcl/pdfextoutdevdata.hxx')
-rw-r--r-- | include/vcl/pdfextoutdevdata.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx index 631ba74eadfa..199f30a00c59 100644 --- a/include/vcl/pdfextoutdevdata.hxx +++ b/include/vcl/pdfextoutdevdata.hxx @@ -405,14 +405,9 @@ public: </p> @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) + the id of the new current structure element, which must be valid */ - bool SetCurrentStructureElement( sal_Int32 nElement ); + void SetCurrentStructureElement( sal_Int32 nElement ); /** get the current structure element id @returns |