diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2018-04-14 15:00:40 +0200 |
---|---|---|
committer | Tamás Bunth <btomi96@gmail.com> | 2018-04-14 21:14:50 +0200 |
commit | 5b0ceb86c342754d8f4e83408c7ae0da0e3931d3 (patch) | |
tree | ab4be91c5c2f9753e2ffec249f0b9c0ef0bf097a /dbaccess/Library_dbu.mk | |
parent | f7d155e71dec5024f2d06dcf3697d1dcf505716a (diff) |
tdf#116944 Warn user before database migration
Warn user with a pop-up dialog before migration.
To do that we have to know the database URL at UI level. In order to get
that I updated XDataSource interface with getConnectionURL().
The dialog offers two options: proceed with or without migration. If the
user choose "yes", we store that information in XDataSource. The
migration itself will be made in buildLowConnection().
Change-Id: I1f0d03da6352f7a0a8d989da79c4b2fe60a03ca1
Reviewed-on: https://gerrit.libreoffice.org/52876
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Diffstat (limited to 'dbaccess/Library_dbu.mk')
-rw-r--r-- | dbaccess/Library_dbu.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/Library_dbu.mk b/dbaccess/Library_dbu.mk index 0ea52842317c..d1b5a53599bb 100644 --- a/dbaccess/Library_dbu.mk +++ b/dbaccess/Library_dbu.mk @@ -152,6 +152,7 @@ $(eval $(call gb_Library_add_exception_objects,dbu,\ dbaccess/source/ui/dlg/textconnectionsettings \ dbaccess/source/ui/dlg/UserAdmin \ dbaccess/source/ui/dlg/UserAdminDlg \ + dbaccess/source/ui/dlg/migrwarndlg \ dbaccess/source/ui/misc/asyncmodaldialog \ dbaccess/source/ui/misc/charsets \ dbaccess/source/ui/misc/controllerframe \ |