diff options
Diffstat (limited to 'toolkit/source/awt/vclxtoolkit.cxx')
-rw-r--r-- | toolkit/source/awt/vclxtoolkit.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index f0e000146e1f..8750d90beb0f 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -1079,8 +1079,7 @@ vcl::Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, const css::awt::WindowDescriptor& rDescriptor, vcl::Window* pParent, WinBits nWinBits, MessBoxStyle nMessBoxStyle ) { - OUString aServiceName( rDescriptor.WindowServiceName ); - aServiceName = aServiceName.toAsciiLowerCase(); + OUString aServiceName = rDescriptor.WindowServiceName.toAsciiLowerCase(); VclPtr<vcl::Window> pNewWindow; WindowType nType = ImplGetComponentType( aServiceName ); |