diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-04 12:47:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-04 12:47:39 +0200 |
commit | f927cf4d23432341921c55e6983edf9c8ebe7ff7 (patch) | |
tree | 494c7f6547456c7e015c6a3e97f24e9925593668 /sw/source/core/doc/docxforms.cxx | |
parent | a66c83d90cdfb8714ef9096d60a60ae807812063 (diff) |
loplugin:stringconstant
Change-Id: Ic135382652966e80c288f3407508bdaf0c60316e
Diffstat (limited to 'sw/source/core/doc/docxforms.cxx')
-rw-r--r-- | sw/source/core/doc/docxforms.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docxforms.cxx b/sw/source/core/doc/docxforms.cxx index db8d5c4428d0..f5254546acd0 100644 --- a/sw/source/core/doc/docxforms.cxx +++ b/sw/source/core/doc/docxforms.cxx @@ -66,7 +66,7 @@ void SwDoc::initXForms( bool bCreateDefaultModel ) xModule.set(pShell->GetModel(), css::uno::UNO_QUERY); OSL_ENSURE( xModule.is(), "SwDoc::initXForms: no XModule at the document!" ); if ( xModule.is() ) - xModule->setIdentifier( OUString( "com.sun.star.xforms.XMLFormDocument" ) ); + xModule->setIdentifier( "com.sun.star.xforms.XMLFormDocument" ); // create default model if( bCreateDefaultModel && mxXForms.is() ) @@ -75,7 +75,7 @@ void SwDoc::initXForms( bool bCreateDefaultModel ) Reference<XModel2> xModel = xforms::Model::create( comphelper::getProcessComponentContext() ); xModel->setID( sName ); Reference<XFormsUIHelper1>( xModel, uno::UNO_QUERY_THROW )->newInstance( - OUString("Instance 1"), + "Instance 1", OUString(), sal_True ); xModel->initialize(); mxXForms->insertByName( sName, makeAny( xModel ) ); |