summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-05-30 08:01:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-05-30 11:39:55 +0200
commit3d16e4042bf3bb211d1a804868526afc263c1992 (patch)
tree00d2d806031085a3abab7461f69fd66dfee2862a /vcl
parentcac718bfe606c363fa4538db8c6d21f28f139f58 (diff)
Remove AddTable unused return type
Change-Id: Ied2dfddab780cac1a5edc21519240537d2054b1c Reviewed-on: https://gerrit.libreoffice.org/55042 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/fontsubset/ttcr.cxx3
-rw-r--r--vcl/source/fontsubset/ttcr.hxx3
2 files changed, 2 insertions, 4 deletions
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.