summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-27 11:53:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-27 14:56:04 +0200
commit497bcdc971a952db4b07c84d19d2709be34d6afd (patch)
treeded44ec8300f410a7fb31a9bfa5c34d799a35106 /vcl
parentdbcf176d8ac1945b8f1e3c95d1401d0f1f85584d (diff)
no GtkDrawingArea with :border hack exist anymore
Change-Id: I3e9bd08c1e03652c956336e1e6b83a99560babc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94939 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/builder.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index b639cbd2208f..cb783e5425d5 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2173,8 +2173,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
}
else if (name == "GtkDrawingArea")
{
- OUString sBorder = BuilderUtils::extractCustomProperty(rMap);
- xWindow = VclPtr<VclDrawingArea>::Create(pParent, sBorder.isEmpty() ? WB_TABSTOP : WB_BORDER | WB_TABSTOP);
+ xWindow = VclPtr<VclDrawingArea>::Create(pParent, WB_TABSTOP);
}
else if (name == "GtkTextView")
{