summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-07 21:14:14 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-08 16:29:28 +0200
commitd6f1c2c2e837f5682996d761fd4ed1367cc3bd4a (patch)
treec6a669d09ddc75efaef1ceae7e740bc51b095c38 /desktop/source
parentd9365813abe4b8213415d7aae1269a420380160d (diff)
cid#1555801 Unchecked return value
Change-Id: I2fbc0b65b081da5776c49962ff3b6a36b76808da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170128 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 999cd4351d9a..03a5457edcc8 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -8018,8 +8018,8 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char
#else
// Fun conversion dance back and forth between URLs and system paths...
OUString aAppURL;
- ::osl::Module::getUrlFromAddress( reinterpret_cast< oslGenericFunction >(lo_initialize),
- aAppURL);
+ (void)::osl::Module::getUrlFromAddress(reinterpret_cast<oslGenericFunction>(lo_initialize),
+ aAppURL);
osl::FileBase::getSystemPathFromFileURL( aAppURL, aAppPath );
#endif