[Libreoffice-commits] .: Branch 'feature/cmclayouttrans' - vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Aug 23 04:29:47 PDT 2012
vcl/source/window/builder.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit c2c4ce8d78286aa5691de57d9e75cbbe389c3590
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Aug 23 12:29:26 2012 +0100
map GtkSeparator to FixedLine
Change-Id: I89b4663d94af7a57d915ea4386d5354a8d66190c
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 83ddfc8..ad792b9 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -452,6 +452,13 @@ Window *VclBuilder::makeObject(Window *pParent, const rtl::OString &name, const
pWindow = new FixedText(pParent, WB_CENTER|WB_VCENTER|WB_3DLOOK);
else if (name.equalsL(RTL_CONSTASCII_STRINGPARAM("GtkImage")))
pWindow = new FixedImage(pParent, WB_CENTER|WB_VCENTER|WB_3DLOOK);
+ else if (name.equalsL(RTL_CONSTASCII_STRINGPARAM("GtkSeparator")))
+ {
+ if (extractOrientation(rMap))
+ pWindow = new FixedLine(pParent, WB_VERT);
+ else
+ pWindow = new FixedLine(pParent, WB_HORZ);
+ }
else if (name.equalsL(RTL_CONSTASCII_STRINGPARAM("GtkEntry")))
pWindow = new Edit(pParent, WB_LEFT|WB_VCENTER|WB_BORDER|WB_3DLOOK);
else if (name.equalsL(RTL_CONSTASCII_STRINGPARAM("GtkNotebook")))
More information about the Libreoffice-commits
mailing list