diff options
author | Krisztian Pinter <pin.terminator@gmail.com> | 2013-03-01 13:50:58 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-03-01 15:15:17 +0000 |
commit | 6f6443f2cbbe21249aceed28bc575227e63ed393 (patch) | |
tree | ac33254f996bdc84a2011b6ce0765160d27b238e /sw/source/core/doc/docxforms.cxx | |
parent | 482ce7da9cebfa70aa4224a7ddd834820947826c (diff) |
RTL_CONSTASCII_USTRINGPARAM and ::rtl:: removals
Change-Id: I3ef372b07f2bacc2b9bbbb034e3d61b9cc8a3677
Reviewed-on: https://gerrit.libreoffice.org/2486
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
Diffstat (limited to 'sw/source/core/doc/docxforms.cxx')
-rw-r--r-- | sw/source/core/doc/docxforms.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/docxforms.cxx b/sw/source/core/doc/docxforms.cxx index 9730e62525c3..e027adc802bf 100644 --- a/sw/source/core/doc/docxforms.cxx +++ b/sw/source/core/doc/docxforms.cxx @@ -40,7 +40,7 @@ using container::XNameContainer; using xforms::XModel; using frame::XModule; using xforms::XFormsUIHelper1; -using rtl::OUString; +using ::rtl::OUString; Reference<XNameContainer> SwDoc::getXForms() const @@ -78,12 +78,12 @@ void SwDoc::initXForms( bool bCreateDefaultModel ) xModule = xModule.query( pShell->GetModel() ); OSL_ENSURE( xModule.is(), "SwDoc::initXForms: no XModule at the document!" ); if ( xModule.is() ) - xModule->setIdentifier( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.xforms.XMLFormDocument" ) ) ); + xModule->setIdentifier( OUString( "com.sun.star.xforms.XMLFormDocument" ) ); // create default model if( bCreateDefaultModel && mxXForms.is() ) { - OUString sName(RTL_CONSTASCII_USTRINGPARAM("Model 1")); + OUString sName("Model 1"); Reference<XModel> xModel( lcl_createInstance( "com.sun.star.xforms.Model" ), UNO_QUERY ); @@ -92,7 +92,7 @@ void SwDoc::initXForms( bool bCreateDefaultModel ) { xModel->setID( sName ); Reference<XFormsUIHelper1>( xModel, UNO_QUERY )->newInstance( - OUString(RTL_CONSTASCII_USTRINGPARAM("Instance 1")), + OUString("Instance 1"), OUString(), sal_True ); xModel->initialize(); mxXForms->insertByName( sName, makeAny( xModel ) ); |