From add4bc96366fc2e1301671bd28f60ed3d032c43f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 8 Dec 2016 01:02:20 +0200 Subject: [PATCH] loplugin:staticmethods Change-Id: Ic65f024fd88915544539dedf3aa1c68a945cddd3 --- basic/source/uno/namecont.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 }