diff options
Diffstat (limited to 'sw/source/filter/html/htmlform.cxx')
-rw-r--r-- | sw/source/filter/html/htmlform.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx index d0396248fb96..39a7c21cca82 100644 --- a/sw/source/filter/html/htmlform.cxx +++ b/sw/source/filter/html/htmlform.cxx @@ -1671,9 +1671,8 @@ void SwHTMLParser::InsertInput() if( !rServiceFactory.is() ) return; - String sServiceName( - OUString("com.sun.star.form.component.") ); - sServiceName.AppendAscii( pType ); + OUString sServiceName("com.sun.star.form.component."); + sServiceName += OUString::createFromAscii(pType); uno::Reference< XInterface > xInt = rServiceFactory->createInstance( sServiceName ); if( !xInt.is() ) |