diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-25 14:02:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:52 +0100 |
commit | 5d60e826ae6b10161ecff64fbfbf9af230898764 (patch) | |
tree | 53e0d8597b3393a98bf40887ee2f87aa1767f31b /vcl/source | |
parent | 56ec8c6dcd6140b3df8bc51815066c95f4af2cfa (diff) |
set the default button on various dialogs
Change-Id: I63b1cc73d8ed240c40dec07fe1f8470da8410464
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/builder.cxx | 4 |
1 files changed, 2 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); |