[Libreoffice-commits] .: Branch 'feature/cmclayouttrans' - vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Sep 17 04:57:44 PDT 2012
vcl/source/window/window2.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit b10eab30e1a6fcff8b6f1dbd3bede24d0c9c96f9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Sep 17 12:57:19 2012 +0100
implement setting Dialog title property
Change-Id: Ic3088f75c3aec57fa8b60a59f806f8396cdcf09c
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index 73eff89..88e10bd 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")))
More information about the Libreoffice-commits
mailing list