summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2015-07-04 20:40:32 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-07-07 07:19:07 +0000
commitcde471c5668d40b4623257db0c33738e191f4bc5 (patch)
treeb40d82739eeffec7d1cca6df326ebcdaa01e088d
parent2a51dd6aca55a92d8751b67cdf7a5a6ab8c38237 (diff)
tdf#92520: LibO crash when editing .odb database properties
Regression from: f7424ed710e54bb2437a28380b03ed7c26290edc Change-Id: I7665d579696f21846abaed21ca8c4f14acdc964c (cherry picked from commit 9216e5ef76ab718568ebda64ccfa0c010390e11a) Reviewed-on: https://gerrit.libreoffice.org/16768 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--dbaccess/source/ui/dlg/dbadmin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index 6f040bec4838..f20c732e2781 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -194,8 +194,7 @@ void ODbAdminDialog::impl_resetPages(const Reference< XPropertySet >& _rxDatasou
// extract all relevant data from the property set of the data source
m_pImpl->translateProperties(_rxDatasource, *GetInputSetImpl());
- // propagate this set as our new input set and reset the example set
- SetInputSet(GetInputSetImpl());
+ // reset the example set
delete pExampleSet;
pExampleSet = new SfxItemSet(*GetInputSetImpl());