diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2015-07-04 20:40:32 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2015-07-04 20:43:10 +0200 |
commit | 9216e5ef76ab718568ebda64ccfa0c010390e11a (patch) | |
tree | b2807b59f757974a589c3fec55bd47dd9e96aba4 /dbaccess/source/ui/dlg | |
parent | 8ce6e3135f841f8213e35ce136e98c33007fe5e6 (diff) |
tdf#92520: LibO crash when editing .odb database properties
Regression from:
f7424ed710e54bb2437a28380b03ed7c26290edc
Change-Id: I7665d579696f21846abaed21ca8c4f14acdc964c
Diffstat (limited to 'dbaccess/source/ui/dlg')
-rw-r--r-- | dbaccess/source/ui/dlg/dbadmin.cxx | 3 |
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()); |