summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/builder.cxx4
-rw-r--r--vcl/uiconfig/ui/printdialog.ui1
2 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index ad40184b198b..3e9ed9140f01 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -427,7 +427,7 @@ Window *VclBuilder::makeObject(Window *pParent, const rtl::OString &name, const
}
}
- if (bIsPlaceHolder)
+ if (bIsPlaceHolder || name.equalsL(RTL_CONSTASCII_STRINGPARAM("GtkTreeSelection")))
return NULL;
Window *pWindow = NULL;
@@ -567,7 +567,7 @@ Window *VclBuilder::makeObject(Window *pParent, const rtl::OString &name, const
pWindow = (*pFunction)(pParent, rMap);
}
}
- SAL_WARN_IF(!pWindow, "vcl.layout", "implement " << name.getStr() << "or add a make" << name.getStr() << " function");
+ SAL_WARN_IF(!pWindow, "vcl.layout", "problably need to implement " << name.getStr() << "or add a make" << name.getStr() << " function");
if (pWindow)
{
pWindow->SetHelpId(m_sHelpRoot + id);
diff --git a/vcl/uiconfig/ui/printdialog.ui b/vcl/uiconfig/ui/printdialog.ui
index 7eb61ecafb61..a9cb400b90b4 100644
--- a/vcl/uiconfig/ui/printdialog.ui
+++ b/vcl/uiconfig/ui/printdialog.ui
@@ -39,6 +39,7 @@
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
+ <property name="has_default">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property>