diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-02-18 07:54:37 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-02-18 07:59:13 +0100 |
commit | 2c9f9832fc6ab78e12c67da3687b4482a46e4bcc (patch) | |
tree | d7bfa6f3223f57010fa41f2ef4414d628a4e5ff3 /sw/source/core/doc/docxforms.cxx | |
parent | fdf59cc3b5928aa1b4fca62909988c455695cd03 (diff) |
SwDoc: rename member variables missing their prefix
Change-Id: Id4683649aa9115f9075717768aa6cef4110c2ad2
Diffstat (limited to 'sw/source/core/doc/docxforms.cxx')
-rw-r--r-- | sw/source/core/doc/docxforms.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/doc/docxforms.cxx b/sw/source/core/doc/docxforms.cxx index 65a967dc0fad..9730e62525c3 100644 --- a/sw/source/core/doc/docxforms.cxx +++ b/sw/source/core/doc/docxforms.cxx @@ -45,12 +45,12 @@ using rtl::OUString; Reference<XNameContainer> SwDoc::getXForms() const { - return xXForms; + return mxXForms; } bool SwDoc::isXForms() const { - return xXForms.is(); + return mxXForms.is(); } static Reference<XInterface> lcl_createInstance( const sal_Char* pServiceName ) @@ -67,9 +67,9 @@ void SwDoc::initXForms( bool bCreateDefaultModel ) try { // create XForms components - xXForms.set( lcl_createInstance( "com.sun.star.xforms.XForms" ), + mxXForms.set( lcl_createInstance( "com.sun.star.xforms.XForms" ), UNO_QUERY ); - OSL_ENSURE( xXForms.is(), "can't create XForms container" ); + OSL_ENSURE( mxXForms.is(), "can't create XForms container" ); // change our module identifier, to be able to have a dedicated UI Reference< XModule > xModule; @@ -81,7 +81,7 @@ void SwDoc::initXForms( bool bCreateDefaultModel ) xModule->setIdentifier( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.xforms.XMLFormDocument" ) ) ); // create default model - if( bCreateDefaultModel && xXForms.is() ) + if( bCreateDefaultModel && mxXForms.is() ) { OUString sName(RTL_CONSTASCII_USTRINGPARAM("Model 1")); Reference<XModel> xModel( @@ -95,9 +95,9 @@ void SwDoc::initXForms( bool bCreateDefaultModel ) OUString(RTL_CONSTASCII_USTRINGPARAM("Instance 1")), OUString(), sal_True ); xModel->initialize(); - xXForms->insertByName( sName, makeAny( xModel ) ); + mxXForms->insertByName( sName, makeAny( xModel ) ); } - OSL_ENSURE( xXForms->hasElements(), "can't create XForms model" ); + OSL_ENSURE( mxXForms->hasElements(), "can't create XForms model" ); } OSL_ENSURE( isXForms(), "initialization failed" ); |