summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-08-30 21:06:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-02 12:14:43 +0100
commit724b48d877fc157affb2b935f1bbeb37745bc683 (patch)
tree15bf4c93573a1d76c734f050183bd4a59e8466fd /sfx2
parent653025e6f10d07d0a95f7b75d56ff457f1902e82 (diff)
extent .ui loading to SfxFloatingWindows
Change-Id: I3e16ef8455b35faf14838509f315cb2f70e7cb9a
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/basedlgs.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx
index b3cce37aaef1..e17c77f19285 100644
--- a/sfx2/source/dialog/basedlgs.cxx
+++ b/sfx2/source/dialog/basedlgs.cxx
@@ -480,7 +480,26 @@ SfxFloatingWindow::SfxFloatingWindow( SfxBindings *pBindinx,
pImp->aMoveTimer.SetTimeoutHdl(LINK(this,SfxFloatingWindow,TimerHdl));
}
+SfxFloatingWindow::SfxFloatingWindow( SfxBindings *pBindinx,
+ SfxChildWindow *pCW,
+ Window* pParent,
+ const OString& rID, const OUString& rUIXMLDescription) :
+ FloatingWindow(pParent, rID, rUIXMLDescription),
+ pBindings(pBindinx),
+ pImp( new SfxFloatingWindow_Impl )
+{
+ pImp->pMgr = pCW;
+ pImp->bConstructed = false;
+ //do we really need this odd helpid/uniqueid dance ?
+ SetUniqueId( GetHelpId() );
+ SetHelpId("");
+
+ if ( pBindinx )
+ pImp->StartListening( *pBindinx );
+ pImp->aMoveTimer.SetTimeout(50);
+ pImp->aMoveTimer.SetTimeoutHdl(LINK(this,SfxFloatingWindow,TimerHdl));
+}
bool SfxFloatingWindow::Close()