summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-09-17 12:57:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:46 +0100
commit2baff4b2fe8ac27003ef1902818b901a1b4e2b4d (patch)
tree12ef653575b4318e9c4b78449d5e95e13a738fbb /vcl/source
parent3edc54658d0e33c354ba6fd6791769ba31cd553a (diff)
implement setting Dialog title property
Change-Id: Ic3088f75c3aec57fa8b60a59f806f8396cdcf09c
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/window2.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 2e58ac0b980b..5fd5a632e40c 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1958,6 +1958,8 @@ bool Window::set_property(const rtl::OString &rKey, const rtl::OString &rValue)
{
if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("label")))
SetText(rtl::OStringToOUString(rValue, RTL_TEXTENCODING_UTF8));
+ else if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("title")))
+ SetText(rtl::OStringToOUString(rValue, RTL_TEXTENCODING_UTF8));
else if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("visible")))
Show(toBool(rValue));
else if (rKey.equalsL(RTL_CONSTASCII_STRINGPARAM("sensitive")))