summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-28 19:22:00 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-28 20:13:56 +1000
commit6caf6680488b00a3ba75eca22640ffadbfb97a64 (patch)
tree52525314510c423e6fc5e5ead1dbe0e684fe6651 /vcl
parent537ed2782104c467cd4ab30b57f62fe34777db5c (diff)
VCL: Move EnableOutput from outdev.cxx to outdevstate.cxx
Change-Id: I3b1f63d280549ca0dc3ec59733fa6e9ca2672a1c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/outdev.cxx8
-rw-r--r--vcl/source/outdev/outdevstate.cxx9
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();