vcl/source/fontsubset/ttcr.cxx | 3 +-- vcl/source/fontsubset/ttcr.hxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
New commits: commit 3d16e4042bf3bb211d1a804868526afc263c1992 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed May 30 08:01:39 2018 +0200 Remove AddTable unused return type Change-Id: Ied2dfddab780cac1a5edc21519240537d2054b1c Reviewed-on: https://gerrit.libreoffice.org/55042 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/vcl/source/fontsubset/ttcr.cxx b/vcl/source/fontsubset/ttcr.cxx index 0a6ca74b20db..4dc5084e6128 100644 --- a/vcl/source/fontsubset/ttcr.cxx +++ b/vcl/source/fontsubset/ttcr.cxx @@ -161,12 +161,11 @@ void TrueTypeCreatorNewEmpty(sal_uInt32 tag, TrueTypeCreator **_this) *_this = ptr; } -SFErrCodes AddTable(TrueTypeCreator *_this, TrueTypeTable *table) +void AddTable(TrueTypeCreator *_this, TrueTypeTable *table) { if (table != nullptr) { listAppend(_this->tables, table); } - return SFErrCodes::Ok; } void RemoveTable(TrueTypeCreator *_this, sal_uInt32 tag) diff --git a/vcl/source/fontsubset/ttcr.hxx b/vcl/source/fontsubset/ttcr.hxx index c1ac5d029dfd..defc6abdaa5e 100644 --- a/vcl/source/fontsubset/ttcr.hxx +++ b/vcl/source/fontsubset/ttcr.hxx @@ -64,9 +64,8 @@ namespace vcl /** * Adds a TrueType table to the TrueType creator. - * @return value of SFErrCodes type */ - SFErrCodes AddTable(TrueTypeCreator *_this, TrueTypeTable *table); + void AddTable(TrueTypeCreator *_this, TrueTypeTable *table); /** * Removes a TrueType table from the TrueType creator if it is stored there. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits