diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-01 14:20:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-02 06:38:20 +0000 |
commit | 837f171810a95a1d87907dd08d67e969276f0559 (patch) | |
tree | 6891aa9774c63b759b29d365e0d141f5d7bf3a8c /vcl/headless | |
parent | 01fd60b8fa614f5911d96bb34b40c62ebe1c20fb (diff) |
loplugin:unusedmethods in vcl
Change-Id: Ib404310761fd555b033ab6594ba8636d37f23463
Reviewed-on: https://gerrit.libreoffice.org/19074
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpdummies.cxx | 5 | ||||
-rw-r--r-- | vcl/headless/svpframe.cxx | 15 | ||||
-rw-r--r-- | vcl/headless/svpinst.cxx | 11 |
3 files changed, 0 insertions, 31 deletions
diff --git a/vcl/headless/svpdummies.cxx b/vcl/headless/svpdummies.cxx index ab151d725497..06258ccb2fc6 100644 --- a/vcl/headless/svpdummies.cxx +++ b/vcl/headless/svpdummies.cxx @@ -64,11 +64,6 @@ Rectangle SvpSalSystem::GetDisplayScreenPosSizePixel( unsigned int nScreen ) return aRect; } -OUString SvpSalSystem::GetDisplayScreenName( unsigned int nScreen ) -{ - return "VirtualScreen " + OUString::number(nScreen); -} - int SvpSalSystem::ShowNativeDialog( const OUString&, const OUString&, const std::list< OUString >&, int ) { diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx index c7595eef812c..74ec326e0ee9 100644 --- a/vcl/headless/svpframe.cxx +++ b/vcl/headless/svpframe.cxx @@ -49,21 +49,6 @@ namespace { }; } -void SvpSalFrame::enableDamageTracker( bool bOn ) -{ - if( m_bDamageTracking == bOn ) - return; - if( m_aFrame.get() ) - { - if( m_bDamageTracking ) - m_aFrame->setDamageTracker( basebmp::IBitmapDeviceDamageTrackerSharedPtr() ); - else - m_aFrame->setDamageTracker( - basebmp::IBitmapDeviceDamageTrackerSharedPtr( new DamageTracker ) ); - } - m_bDamageTracking = bOn; -} - #endif SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance, diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index 8a14e62b0be5..978a455e2a46 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -125,17 +125,6 @@ void SvpSalInstance::PostEvent(const SalFrame* pFrame, ImplSVEvent* pData, sal_u Wakeup(); } -bool SvpSalInstance::PostedEventsInQueue() -{ - bool result = false; - if( osl_acquireMutex( m_aEventGuard ) ) - { - result = m_aUserEvents.size() > 0; - osl_releaseMutex( m_aEventGuard ); - } - return result; -} - void SvpSalInstance::deregisterFrame( SalFrame* pFrame ) { m_aFrames.remove( pFrame ); |