diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-26 21:57:03 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-26 23:39:04 +0200 |
commit | bb4b28f3642e6fd86881c0fd4c030b5872cde7fa (patch) | |
tree | e014855c47536d12e7c90204e2ea8afc2d46dbba /vcl/source | |
parent | 4385e82288e9008a932f8d3289955ad1cb14b888 (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.cxx | 13 |
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; |