diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 1d39158dbad0..bc706067a172 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1292,6 +1292,8 @@ void SfxLibraryContainer::implScanExtensions() const bool bReadOnly = false; Reference< XNameAccess > xLib = createLibraryLink( aLibName, aIndexFileURL, bReadOnly ); } +#else + (void) this; #endif }