diff options
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 1f7d3a853b6a..dc25339b42e1 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1160,7 +1160,7 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri } else { - sal_Int32 nDelim = name.indexOf(':'); + sal_Int32 nDelim = name.indexOf('-'); if (nDelim != -1) { #ifndef DISABLE_DYNLOADING |