diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-12-08 21:02:03 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-12-08 21:02:03 +0200 |
commit | f5ac6b6e7735dcdd047e41b19edfa28ba69f4ee0 (patch) | |
tree | f60fc35f982291a2207809df7318752af4a8f650 /vcl/null | |
parent | e61521f6cf0a065d23b420c4007ea224c3070052 (diff) |
loplugin:staticmethods
Change-Id: I9717f715762f6213836e2841e8521bec4509b096
Diffstat (limited to 'vcl/null')
-rw-r--r-- | vcl/null/printerinfomanager.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/null/printerinfomanager.cxx b/vcl/null/printerinfomanager.cxx index de71d012de25..233160a4db61 100644 --- a/vcl/null/printerinfomanager.cxx +++ b/vcl/null/printerinfomanager.cxx @@ -66,6 +66,8 @@ void PrinterInfoManager::initialize() void PrinterInfoManager::listPrinters( ::std::list< OUString >& rList ) const { + (void) this; + rList.clear(); } @@ -73,6 +75,8 @@ const PrinterInfo& PrinterInfoManager::getPrinterInfo( const OUString& /* rPrint { static PrinterInfo aEmptyInfo; + (void) this; + return aEmptyInfo; } @@ -98,6 +102,8 @@ bool PrinterInfoManager::setDefaultPrinter( const OUString& /* rPrinterName */ ) bool PrinterInfoManager::checkFeatureToken( const OUString& /* rPrinterName */, const char* /* pToken */ ) const { + (void) this; + return false; } @@ -118,7 +124,7 @@ void PrinterInfoManager::setupJobContextData( JobData& /* rData */ ) void PrinterInfoManager::setDefaultPaper( PPDContext& /* rContext */ ) const { - + (void) this; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |