Kaydet (Commit) 80374915 authored tarafından David Tardon's avatar David Tardon

avoid use of destroyed widget

üst b2096dee
...@@ -655,7 +655,10 @@ GtkPrintDialog::impl_initCustomTab() ...@@ -655,7 +655,10 @@ GtkPrintDialog::impl_initCustomTab()
{ {
pRow = aPropertyToDependencyRowMap[aDependsOnName + rtl::OUString::valueOf(nDependsOnValue)]; pRow = aPropertyToDependencyRowMap[aDependsOnName + rtl::OUString::valueOf(nDependsOnValue)];
if (!pRow) if (!pRow)
{
gtk_widget_destroy(pWidget); gtk_widget_destroy(pWidget);
pWidget = NULL;
}
} }
} }
if (pWidget) if (pWidget)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment