summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-01-17 21:59:25 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-01-17 22:54:50 +0100
commit4a3398ce12bcfd2475dbbc682b881844a58a2ccf (patch)
tree46fb7761306c32bb65eedadb0ec463f1b50cc779
parent33a1b189d23a94e2a1c3329f51009f925b8bd8ee (diff)
Fix duplicate if
Change-Id: If08b51e8e0e5c21599d62b4f2fc0baa847e3d750
-rw-r--r--vcl/source/window/layout.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index a6d9d409b541..ddf0a5bd27c6 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -387,9 +387,7 @@ bool VclButtonBox::set_property(const rtl::OString &rKey, const rtl::OString &rV
if (rKey == "layout-style")
{
VclButtonBoxStyle eStyle = VCL_BUTTONBOX_DEFAULT_STYLE;
- if (rValue == "start")
- eStyle = VCL_BUTTONBOX_START;
- else if (rValue == "spread")
+ if (rValue == "spread")
eStyle = VCL_BUTTONBOX_SPREAD;
else if (rValue == "edge")
eStyle = VCL_BUTTONBOX_EDGE;