summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-04-28 19:20:30 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-28 20:13:56 +1000
commit537ed2782104c467cd4ab30b57f62fe34777db5c (patch)
treeb06d930f97f07118b88a8ee5e8b9f9a4a68b8ff5 /vcl
parentdb5be2d4ca6867c61cb9fe117d7b76281240d739 (diff)
VCL: Move GetGCStackDepth from outdev.cxx to outdevstate.cxx
Change-Id: I61a366f4dd005cb19794b48c857760a3b2a8a267
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/outdev.cxx5
-rw-r--r--vcl/source/outdev/outdevstate.cxx4
2 files changed, 4 insertions, 5 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index cb1af8591ea9..d6bb3072dd30 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -956,11 +956,6 @@ void OutputDevice::SetRefPoint( const Point& rRefPoint )
mpAlphaVDev->SetRefPoint( rRefPoint );
}
-sal_uInt32 OutputDevice::GetGCStackDepth() const
-{
- return mpOutDevStateStack->size();
-}
-
void OutputDevice::SetConnectMetaFile( GDIMetaFile* pMtf )
{
mpMetaFile = pMtf;
diff --git a/vcl/source/outdev/outdevstate.cxx b/vcl/source/outdev/outdevstate.cxx
index 23683e7f614e..257370e847bb 100644
--- a/vcl/source/outdev/outdevstate.cxx
+++ b/vcl/source/outdev/outdevstate.cxx
@@ -249,6 +249,10 @@ void OutputDevice::Pop()
mpMetaFile = pOldMetaFile;
}
+sal_uInt32 OutputDevice::GetGCStackDepth() const
+{
+ return mpOutDevStateStack->size();
+}
void OutputDevice::InitFillColor()
{