summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2015-07-04 20:40:32 +0200
committerAndras Timar <andras.timar@collabora.com>2015-08-06 12:53:14 +0200
commitbd85b99b42958fed7c7aad440cf6cd76ad32727e (patch)
tree0d6e5e3c781c3245882fd07041bcf9e93be29bec /dbaccess
parente7c8d0bbbacc733d8c4fd6c827511591dd6b2dba (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>
Diffstat (limited to 'dbaccess')
-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());