summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-29 09:07:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-29 23:42:26 +0000
commit309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83 (patch)
treef8b8cea0a81bc74ca34e8bda2d0dfce939b28ce0 /vcl
parentimages: Don't fallback to indrustrial, it's merged to tango during build. (diff)
downloadcore-309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83.tar.gz
core-309574394bd4ae3e9e10e5ff0d64bdd7bbbc8b83.zip
callcatcher: large newly detected unused methods post de-virtualization
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/null/printerinfomanager.cxx5
-rw-r--r--vcl/source/window/paint.cxx4
-rw-r--r--vcl/unx/generic/printer/printerinfomanager.cxx20
3 files changed, 0 insertions, 29 deletions
diff --git a/vcl/null/printerinfomanager.cxx b/vcl/null/printerinfomanager.cxx
index 65a67c596fc5..0fb20d801e89 100644
--- a/vcl/null/printerinfomanager.cxx
+++ b/vcl/null/printerinfomanager.cxx
@@ -101,11 +101,6 @@ bool PrinterInfoManager::setDefaultPrinter( const OUString& /* rPrinterName */ )
return false;
}
-void PrinterInfoManager::getSystemPrintCommands( std::list< OUString >& /* rCommands */ )
-{
-
-}
-
const std::list< PrinterInfoManager::SystemPrintQueue >& PrinterInfoManager::getSystemPrintQueues()
{
return m_aSystemPrintQueues;
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 84ce98a588ae..4d47decb9a74 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -682,10 +682,6 @@ void Window::Paint( const Rectangle& rRect )
CallEventListeners( VCLEVENT_WINDOW_PAINT, (void*)&rRect );
}
-void Window::PostPaint()
-{
-}
-
void Window::SetPaintTransparent( bool bTransparent )
{
diff --git a/vcl/unx/generic/printer/printerinfomanager.cxx b/vcl/unx/generic/printer/printerinfomanager.cxx
index 0b2c13d7812c..51c9c2f3ae75 100644
--- a/vcl/unx/generic/printer/printerinfomanager.cxx
+++ b/vcl/unx/generic/printer/printerinfomanager.cxx
@@ -836,26 +836,6 @@ bool PrinterInfoManager::setDefaultPrinter( const OUString& rPrinterName )
return bSuccess;
}
-void PrinterInfoManager::getSystemPrintCommands( std::list< OUString >& rCommands )
-{
- if( m_pQueueInfo && m_pQueueInfo->hasChanged() )
- {
- m_aSystemPrintCommand = m_pQueueInfo->getCommand();
- m_pQueueInfo->getSystemQueues( m_aSystemPrintQueues );
- delete m_pQueueInfo, m_pQueueInfo = NULL;
- }
-
- std::list< SystemPrintQueue >::const_iterator it;
- rCommands.clear();
- OUString aPrinterConst( "(PRINTER)" );
- for( it = m_aSystemPrintQueues.begin(); it != m_aSystemPrintQueues.end(); ++it )
- {
- OUString aCmd( m_aSystemPrintCommand );
- aCmd = aCmd.replaceAll( aPrinterConst, it->m_aQueue );
- rCommands.push_back( aCmd );
- }
-}
-
const std::list< PrinterInfoManager::SystemPrintQueue >& PrinterInfoManager::getSystemPrintQueues()
{
if( m_pQueueInfo && m_pQueueInfo->hasChanged() )