diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:51:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:51:39 +0200 |
commit | a003d8c59d0324ab3f44ec608f473e654ce48902 (patch) | |
tree | 0c85a381b784f9dc24a6e74aa3448b7eb4739a8c /svx/source/form | |
parent | 65fe84d273a4fe099cd03be088165672788cf32e (diff) |
loplugin:defaultparams
Change-Id: I4e344e780baae6c9828d0d708dfb0a9390af533a
Diffstat (limited to 'svx/source/form')
-rw-r--r-- | svx/source/form/fmshimp.cxx | 6 | ||||
-rw-r--r-- | svx/source/form/fmvwimp.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/navigatortreemodel.cxx | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 38191932f29a..cf5d5a3231ea 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -1606,7 +1606,7 @@ bool FmXFormShell::GetY2KState(sal_uInt16& n) Reference< XRowSet> xDB(xForm, UNO_QUERY); DBG_ASSERT(xDB.is(), "FmXFormShell::GetY2KState : current form has no dbform-interface !"); - Reference< XNumberFormatsSupplier> xSupplier( getNumberFormats(getConnection(xDB), false)); + Reference< XNumberFormatsSupplier> xSupplier( getNumberFormats(getConnection(xDB))); if (xSupplier.is()) { Reference< XPropertySet> xSet(xSupplier->getNumberFormatSettings()); @@ -1637,7 +1637,7 @@ void FmXFormShell::SetY2KState(sal_uInt16 n) Reference< XRowSet > xActiveRowSet( xActiveForm, UNO_QUERY ); if ( xActiveRowSet.is() ) { - Reference< XNumberFormatsSupplier > xSupplier( getNumberFormats( getConnection( xActiveRowSet ), false ) ); + Reference< XNumberFormatsSupplier > xSupplier( getNumberFormats( getConnection( xActiveRowSet ) ) ); if (xSupplier.is()) { Reference< XPropertySet> xSet(xSupplier->getNumberFormatSettings()); @@ -1677,7 +1677,7 @@ void FmXFormShell::SetY2KState(sal_uInt16 n) Reference< XRowSet> xElementAsRowSet( xCurrentElement, UNO_QUERY ); if ( xElementAsRowSet.is() ) { - Reference< XNumberFormatsSupplier > xSupplier( getNumberFormats( getConnection( xElementAsRowSet ), false ) ); + Reference< XNumberFormatsSupplier > xSupplier( getNumberFormats( getConnection( xElementAsRowSet ) ) ); if (!xSupplier.is()) continue; diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index 9c8c096ff6c6..7ca908280742 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -1250,7 +1250,7 @@ SdrObject* FmXFormView::implCreateFieldControl( const svx::ODataAccessDescriptor if ( !xField.is() ) return NULL; - Reference< XNumberFormatsSupplier > xSupplier( getNumberFormats( xConnection, false ), UNO_SET_THROW ); + Reference< XNumberFormatsSupplier > xSupplier( getNumberFormats( xConnection ), UNO_SET_THROW ); Reference< XNumberFormats > xNumberFormats( xSupplier->getNumberFormats(), UNO_SET_THROW ); OUString sLabelPostfix; diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx index 15f95ec4ece6..e6e8b3f72bed 100644 --- a/svx/source/form/navigatortreemodel.cxx +++ b/svx/source/form/navigatortreemodel.cxx @@ -525,7 +525,7 @@ namespace svxform xForms->getByIndex(i) >>= xSubForm; FmFormData* pSubFormData = new FmFormData( xSubForm, m_aNormalImages, pFormData ); - Insert( pSubFormData, CONTAINER_APPEND ); + Insert( pSubFormData ); // new branch, if SubForm contains Subforms itself @@ -554,7 +554,7 @@ namespace svxform if (xSubForm.is()) { // actual component is a form pSubFormData = new FmFormData(xSubForm, m_aNormalImages, pFormData); - Insert(pSubFormData, CONTAINER_APPEND); + Insert(pSubFormData); // new branch, if SubForm contains Subforms itself @@ -563,7 +563,7 @@ namespace svxform else { pNewControlData = new FmControlData(xCurrentComponent, m_aNormalImages, pFormData); - Insert(pNewControlData, CONTAINER_APPEND); + Insert(pNewControlData); } } } @@ -602,7 +602,7 @@ namespace svxform if( !pParentData ) { pParentData = new FmFormData( xForm, m_aNormalImages, NULL ); - Insert( pParentData, CONTAINER_APPEND ); + Insert( pParentData ); } if (!FindData(xComp, pParentData->GetChildList(),false)) |