summaryrefslogtreecommitdiff
path: root/vcl/source/window/builder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/builder.cxx')
-rw-r--r--vcl/source/window/builder.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 51e6fcb74fe7..8c330d083a08 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1528,13 +1528,7 @@ void VclBuilder::collectProperty(xmlreader::XmlReader &reader, const OString &rI
if (!sProperty.isEmpty())
{
sProperty = sProperty.replace('_', '-');
- //replace '_' with '-' except for property values that
- //refer to widget ids themselves. TO-DO, drop conversion
- //and just use foo_bar properties throughout ?
- if (sProperty == "group")
- rMap[sProperty] = sValue;
- else
- rMap[sProperty] = sValue.replace('_', '-');
+ rMap[sProperty] = sValue;
}
}