summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-05-27 00:03:10 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-05-27 08:13:00 +1000
commit0c6cd530de13f80795881f61064f1bf1dcc4ea81 (patch)
treed18d7d6891b4141b3e1b9f6392e63c76d38b0278 /vcl
parentee1bef418a8d14909df6c4d58b90c1a48e7a49c8 (diff)
vcl: move GetSystemData() & GetSystemDataAny() back to window.cxx
Change-Id: I46736950563776bb4f5fefd71789010541e99e70
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/stacking.cxx18
-rw-r--r--vcl/source/window/window.cxx18
2 files changed, 18 insertions, 18 deletions
diff --git a/vcl/source/window/stacking.cxx b/vcl/source/window/stacking.cxx
index 5155efcbf632..b6783214f598 100644
--- a/vcl/source/window/stacking.cxx
+++ b/vcl/source/window/stacking.cxx
@@ -1174,22 +1174,4 @@ void Window::ImplSetFrameParent( const Window* pParent )
}
}
-const SystemEnvData* Window::GetSystemData() const
-{
-
- return mpWindowImpl->mpFrame ? mpWindowImpl->mpFrame->GetSystemData() : NULL;
-}
-
-::com::sun::star::uno::Any Window::GetSystemDataAny() const
-{
- ::com::sun::star::uno::Any aRet;
- const SystemEnvData* pSysData = GetSystemData();
- if( pSysData )
- {
- ::com::sun::star::uno::Sequence< sal_Int8 > aSeq( (sal_Int8*)pSysData, pSysData->nSize );
- aRet <<= aSeq;
- }
- return aRet;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 733c4aa33ec2..4d46db8fc6cf 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3866,4 +3866,22 @@ void Window::DrawGradientWallpaper( long nX, long nY,
mpMetaFile = pOldMetaFile;
}
+const SystemEnvData* Window::GetSystemData() const
+{
+
+ return mpWindowImpl->mpFrame ? mpWindowImpl->mpFrame->GetSystemData() : NULL;
+}
+
+css::uno::Any Window::GetSystemDataAny() const
+{
+ css::uno::Any aRet;
+ const SystemEnvData* pSysData = GetSystemData();
+ if( pSysData )
+ {
+ css::uno::Sequence< sal_Int8 > aSeq( (sal_Int8*)pSysData, pSysData->nSize );
+ aRet <<= aSeq;
+ }
+ return aRet;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */