diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-28 19:22:00 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-28 20:13:56 +1000 |
commit | 6caf6680488b00a3ba75eca22640ffadbfb97a64 (patch) | |
tree | 52525314510c423e6fc5e5ead1dbe0e684fe6651 | |
parent | 537ed2782104c467cd4ab30b57f62fe34777db5c (diff) |
VCL: Move EnableOutput from outdev.cxx to outdevstate.cxx
Change-Id: I3b1f63d280549ca0dc3ec59733fa6e9ca2672a1c
-rw-r--r-- | vcl/source/outdev/outdev.cxx | 8 | ||||
-rw-r--r-- | vcl/source/outdev/outdevstate.cxx | 9 |
2 files changed, 9 insertions, 8 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx index d6bb3072dd30..cec9f14d6060 100644 --- a/vcl/source/outdev/outdev.cxx +++ b/vcl/source/outdev/outdev.cxx @@ -961,14 +961,6 @@ void OutputDevice::SetConnectMetaFile( GDIMetaFile* pMtf ) mpMetaFile = pMtf; } -void OutputDevice::EnableOutput( bool bEnable ) -{ - mbOutput = bEnable; - - if( mpAlphaVDev ) - mpAlphaVDev->EnableOutput( bEnable ); -} - void OutputDevice::SetSettings( const AllSettings& rSettings ) { *mxSettings = rSettings; diff --git a/vcl/source/outdev/outdevstate.cxx b/vcl/source/outdev/outdevstate.cxx index 257370e847bb..28256696fe94 100644 --- a/vcl/source/outdev/outdevstate.cxx +++ b/vcl/source/outdev/outdevstate.cxx @@ -254,6 +254,15 @@ sal_uInt32 OutputDevice::GetGCStackDepth() const return mpOutDevStateStack->size(); } +void OutputDevice::EnableOutput( bool bEnable ) +{ + mbOutput = bEnable; + + if( mpAlphaVDev ) + mpAlphaVDev->EnableOutput( bEnable ); +} + + void OutputDevice::InitFillColor() { DBG_TESTSOLARMUTEX(); |