summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-04 16:54:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-05 12:21:57 +0100
commit5fc238d11e939064a70573ef93939af49a241b20 (patch)
tree5603a87025503c5444b713c2d801598cb677dd29 /sfx2
parent67034cb6689645cf8eed497444ea4b1ba7ca3848 (diff)
convert RID_SCROLL_NAVIGATION_WIN floating window to .ui
Change-Id: I92d13856fc4d206323d5517a8a48671bba683fec
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/toolbox/tbxitem.cxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/sfx2/source/toolbox/tbxitem.cxx b/sfx2/source/toolbox/tbxitem.cxx
index 090feb2ebab9..6aa1c9c60b06 100644
--- a/sfx2/source/toolbox/tbxitem.cxx
+++ b/sfx2/source/toolbox/tbxitem.cxx
@@ -1189,6 +1189,23 @@ SfxPopupWindow::SfxPopupWindow(
((SystemWindow *)pWindow)->GetTaskPaneList()->AddWindow( this );
}
+SfxPopupWindow::SfxPopupWindow(
+ sal_uInt16 nId,
+ Window* pParentWindow,
+ const OString& rID, const OUString& rUIXMLDescription,
+ const Reference< XFrame >& rFrame ) :
+ FloatingWindow( pParentWindow, rID, rUIXMLDescription)
+ , m_bFloating( false )
+ , m_bCascading( false )
+ , m_nId( nId )
+ , m_xFrame( rFrame )
+ , m_pStatusListener( 0 )
+{
+ Window* pWindow = GetTopMostParentSystemWindow( this );
+ if ( pWindow )
+ ((SystemWindow *)pWindow)->GetTaskPaneList()->AddWindow( this );
+}
+
SfxPopupWindow::~SfxPopupWindow()
{
if ( m_xStatusListener.is() )