summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/hlmarkwn.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-02-06 17:48:22 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2018-02-07 15:28:01 +0100
commit765c98d89fb5b682cc6fb106baec32295a4aabca (patch)
tree5ec580982b5262784115ff696db1438ffb8f4286 /cui/source/dialogs/hlmarkwn.cxx
parentea7274259a211170ee9f5a8714a2f9acd8bed6d8 (diff)
Don't inherit from ModalDialog for a random UI element
Change-Id: I2f734b1f034eaa4203a21968bc8eca455afa7f72 Reviewed-on: https://gerrit.libreoffice.org/49312 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'cui/source/dialogs/hlmarkwn.cxx')
-rw-r--r--cui/source/dialogs/hlmarkwn.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/hlmarkwn.cxx b/cui/source/dialogs/hlmarkwn.cxx
index cfcda09e2a2c..ee011732a24f 100644
--- a/cui/source/dialogs/hlmarkwn.cxx
+++ b/cui/source/dialogs/hlmarkwn.cxx
@@ -118,7 +118,7 @@ void SvxHlmarkTreeLBox::Paint(vcl::RenderContext& rRenderContext, const ::tools:
//*** Window-Class ***
// Constructor / Destructor
SvxHlinkDlgMarkWnd::SvxHlinkDlgMarkWnd( SvxHyperlinkTabPageBase *pParent )
- : ModalDialog(pParent, "HyperlinkMark", "cui/ui/hyperlinkmarkdialog.ui")
+ : FloatingWindow(pParent, "HyperlinkMark", "cui/ui/hyperlinkmarkdialog.ui")
, mbUserMoved(false)
, mpParent(pParent)
, mnError(LERR_NOERROR)
@@ -150,7 +150,7 @@ void SvxHlinkDlgMarkWnd::dispose()
mpBtClose.clear();
mpLbTree.clear();
mpParent.clear();
- ModalDialog::dispose();
+ FloatingWindow::dispose();
}
// Set an errorstatus