diff options
Diffstat (limited to 'sc/source/ui/vba')
-rw-r--r-- | sc/source/ui/vba/vbarange.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbasheetobjects.cxx | 11 |
2 files changed, 5 insertions, 8 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 4e7fe86bc02d..dfc6dcac94b2 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -1148,7 +1148,7 @@ ScVbaRange::getCellRangesForAddress( ScRefFlags& rResFlags, const OUString& sAdd if ( pDocSh ) { ScDocument& rDoc = pDocSh->GetDocument(); - rResFlags = rCellRanges.Parse( sAddress, &rDoc, ScRefFlags::VALID, eConv, 0, cDelimiter ); + rResFlags = rCellRanges.Parse( sAddress, &rDoc, eConv, 0, cDelimiter ); if ( rResFlags & ScRefFlags::VALID ) { return true; diff --git a/sc/source/ui/vba/vbasheetobjects.cxx b/sc/source/ui/vba/vbasheetobjects.cxx index 5c52886efc0d..0c6d36d35d5d 100644 --- a/sc/source/ui/vba/vbasheetobjects.cxx +++ b/sc/source/ui/vba/vbasheetobjects.cxx @@ -340,8 +340,7 @@ public: const uno::Reference< frame::XModel >& rxModel, const uno::Reference< sheet::XSpreadsheet >& rxSheet, const uno::Type& rVbaType, - const OUString& rModelServiceName, - sal_Int16 nComponentType ) throw (uno::RuntimeException); + const OUString& rModelServiceName ) throw (uno::RuntimeException); protected: uno::Reference< container::XIndexContainer > const & createForm() throw (uno::RuntimeException); @@ -364,11 +363,10 @@ ScVbaControlContainer::ScVbaControlContainer( const uno::Reference< frame::XModel >& rxModel, const uno::Reference< sheet::XSpreadsheet >& rxSheet, const uno::Type& rVbaType, - const OUString& rModelServiceName, - sal_Int16 nComponentType ) throw (uno::RuntimeException) : + const OUString& rModelServiceName ) throw (uno::RuntimeException) : ScVbaObjectContainer( rxParent, rxContext, rxModel, rxSheet, rVbaType ), maModelServiceName( rModelServiceName ), - mnComponentType( nComponentType ) + mnComponentType( form::FormComponentType::COMMANDBUTTON ) { } @@ -464,8 +462,7 @@ ScVbaButtonContainer::ScVbaButtonContainer( ScVbaControlContainer( rxParent, rxContext, rxModel, rxSheet, cppu::UnoType<excel::XButton>::get(), - "com.sun.star.form.component.CommandButton", - form::FormComponentType::COMMANDBUTTON ) + "com.sun.star.form.component.CommandButton" ) { } |