From 9216e5ef76ab718568ebda64ccfa0c010390e11a Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Sat, 4 Jul 2015 20:40:32 +0200 Subject: tdf#92520: LibO crash when editing .odb database properties Regression from: f7424ed710e54bb2437a28380b03ed7c26290edc Change-Id: I7665d579696f21846abaed21ca8c4f14acdc964c --- dbaccess/source/ui/dlg/dbadmin.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dbaccess') 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()); -- cgit