Kaydet (Commit) f5ac6b6e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

loplugin:staticmethods

Change-Id: I9717f715762f6213836e2841e8521bec4509b096
üst e61521f6
...@@ -66,6 +66,8 @@ void PrinterInfoManager::initialize() ...@@ -66,6 +66,8 @@ void PrinterInfoManager::initialize()
void PrinterInfoManager::listPrinters( ::std::list< OUString >& rList ) const void PrinterInfoManager::listPrinters( ::std::list< OUString >& rList ) const
{ {
(void) this;
rList.clear(); rList.clear();
} }
...@@ -73,6 +75,8 @@ const PrinterInfo& PrinterInfoManager::getPrinterInfo( const OUString& /* rPrint ...@@ -73,6 +75,8 @@ const PrinterInfo& PrinterInfoManager::getPrinterInfo( const OUString& /* rPrint
{ {
static PrinterInfo aEmptyInfo; static PrinterInfo aEmptyInfo;
(void) this;
return aEmptyInfo; return aEmptyInfo;
} }
...@@ -98,6 +102,8 @@ bool PrinterInfoManager::setDefaultPrinter( const OUString& /* rPrinterName */ ) ...@@ -98,6 +102,8 @@ bool PrinterInfoManager::setDefaultPrinter( const OUString& /* rPrinterName */ )
bool PrinterInfoManager::checkFeatureToken( const OUString& /* rPrinterName */, const char* /* pToken */ ) const bool PrinterInfoManager::checkFeatureToken( const OUString& /* rPrinterName */, const char* /* pToken */ ) const
{ {
(void) this;
return false; return false;
} }
...@@ -118,7 +124,7 @@ void PrinterInfoManager::setupJobContextData( JobData& /* rData */ ) ...@@ -118,7 +124,7 @@ void PrinterInfoManager::setupJobContextData( JobData& /* rData */ )
void PrinterInfoManager::setDefaultPaper( PPDContext& /* rContext */ ) const void PrinterInfoManager::setDefaultPaper( PPDContext& /* rContext */ ) const
{ {
(void) this;
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment