summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-26 21:57:03 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-26 23:39:04 +0200
commitbb4b28f3642e6fd86881c0fd4c030b5872cde7fa (patch)
treee014855c47536d12e7c90204e2ea8afc2d46dbba /vcl/source
parent4385e82288e9008a932f8d3289955ad1cb14b888 (diff)
callcatcher: bring SplitWindow::GetItemWindow back
Needed by reportdesign/source/ui/report/DesignView.cxx
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/splitwin.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index 884e18d67df8..1e6ea11ee51b 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -3346,6 +3346,19 @@ void SplitWindow::SetItemSizeRange (sal_uInt16 nId, const Range aRange)
// -----------------------------------------------------------------------
+Window* SplitWindow::GetItemWindow( sal_uInt16 nId ) const
+{
+ sal_uInt16 nPos;
+ ImplSplitSet* pSet = ImplFindItem( mpBaseSet, nId, nPos );
+
+ if ( pSet )
+ return pSet->mpItems[nPos].mpWindow;
+ else
+ return NULL;
+}
+
+// -----------------------------------------------------------------------
+
sal_uInt16 SplitWindow::GetSet( sal_uInt16 nId ) const
{
sal_uInt16 nPos;