summaryrefslogtreecommitdiff
path: root/svx/source/form/datanavi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/datanavi.cxx')
-rw-r--r--svx/source/form/datanavi.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index 9f2a0eb3a3b4..2b2fae5a3458 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -3322,20 +3322,11 @@ namespace svxform
return 0;
}
- LinkedInstanceWarningBox::LinkedInstanceWarningBox( Window* pParent ) :
-
- MessBox( pParent, SVX_RES( RID_QRY_LINK_WARNING ) )
-
+ LinkedInstanceWarningBox::LinkedInstanceWarningBox( Window* pParent )
+ : MessageDialog(pParent, "FormLinkWarnDialog", "svx/ui/formlinkwarndialog.ui")
{
- SetText( Application::GetDisplayName() );
- SetImage( QueryBox::GetStandardImage() );
- AddButton( SVX_RESSTR( RID_STR_DATANAV_LINKWARN_BUTTON ), RET_OK, BUTTONDIALOG_DEFBUTTON );
- AddButton( BUTTON_CANCEL, RET_CANCEL, BUTTONDIALOG_CANCELBUTTON );
}
-
} // namespace svxform
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */