vcl/workben/mtfdemo.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 30f1617bd873d9ccf343a280ba27f476d4c7726e Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Oct 25 19:20:07 2021 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Tue Oct 26 10:06:33 2021 +0200 ofz#1493240 Unchecked return value Change-Id: I17ffbd28d56513ed7b39c29f74598c7517f44190 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124160 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/workben/mtfdemo.cxx b/vcl/workben/mtfdemo.cxx index 9829c5b711f7..eb81c3363b16 100644 --- a/vcl/workben/mtfdemo.cxx +++ b/vcl/workben/mtfdemo.cxx @@ -154,8 +154,8 @@ private: OUString sWorkingDir, sFileUrl; osl_getProcessWorkingDir(&sWorkingDir.pData); - osl::FileBase::getFileURLFromSystemPath(aFilename, sFileUrl); - osl::FileBase::getAbsoluteFileURL(sWorkingDir, sFileUrl, maFileName); + (void)osl::FileBase::getFileURLFromSystemPath(aFilename, sFileUrl); + (void)osl::FileBase::getAbsoluteFileURL(sWorkingDir, sFileUrl, maFileName); uno::Reference<uno::XComponentContext> xComponentContext = ::cppu::defaultBootstrap_InitialComponentContext();