diff options
40 files changed, 83 insertions, 83 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index 1933e693bf80..2a73adfd6f06 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -4475,7 +4475,7 @@ Reference< XInterface > createComListener( const Any& aControlAny, const OUStrin Reference< XInvocation > xProxy = new ModuleInvocationProxy( aPrefix, xScopeObj ); Sequence<Any> args( 3 ); - args[0] <<= aControlAny; + args[0] = aControlAny; args[1] <<= aVBAType; args[2] <<= xProxy; diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 1166cb728a7f..a93e988bafb4 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -2885,7 +2885,7 @@ RTLFUNC(NPV) aValues >>= sValues[ 0 ]; aValues <<= sValues; - aParams[ 1 ] <<= aValues; + aParams[ 1 ] = aValues; CallFunctionAccessFunction( aParams, "NPV", rPar.Get( 0 ) ); } @@ -2959,7 +2959,7 @@ RTLFUNC(MIRR) aValues >>= sValues[ 0 ]; aValues <<= sValues; - aParams[ 0 ] <<= aValues; + aParams[ 0 ] = aValues; aParams[ 1 ] = makeAny( rPar.Get(2)->GetDouble() ); aParams[ 2 ] = makeAny( rPar.Get(3)->GetDouble() ); @@ -2997,7 +2997,7 @@ RTLFUNC(IRR) } Sequence< Any > aParams( 2 ); - aParams[ 0 ] <<= aValues; + aParams[ 0 ] = aValues; aParams[ 1 ] <<= guess; CallFunctionAccessFunction( aParams, "IRR", rPar.Get( 0 ) ); diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 566e349c2772..5e0b56e72fa7 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -180,7 +180,7 @@ void NameContainer::replaceByName( const OUString& aName, const Any& aElement ) aEvent.Base <<= aEvent.Source; aEvent.Changes.realloc( 1 ); aEvent.Changes[ 0 ].Accessor <<= aName; - aEvent.Changes[ 0 ].Element <<= aElement; + aEvent.Changes[ 0 ].Element = aElement; aEvent.Changes[ 0 ].ReplacedElement = aOldElement; maChangesListeners.notifyEach( &XChangesListener::changesOccurred, aEvent ); } @@ -233,7 +233,7 @@ void NameContainer::insertNoCheck(const OUString& aName, const Any& aElement) aEvent.Base <<= aEvent.Source; aEvent.Changes.realloc( 1 ); aEvent.Changes[ 0 ].Accessor <<= aName; - aEvent.Changes[ 0 ].Element <<= aElement; + aEvent.Changes[ 0 ].Element = aElement; maChangesListeners.notifyEach( &XChangesListener::changesOccurred, aEvent ); } } diff --git a/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx index a3424c2689e9..a959aebf58c8 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx @@ -145,7 +145,7 @@ public: if( detectInnerValue( aValue, bHasAmbiguousValue ) ) { if(bHasAmbiguousValue) - m_aOuterValue <<= m_aDefaultValue; + m_aOuterValue = m_aDefaultValue; else m_aOuterValue <<= aValue; } diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 82e32df55738..11caf4c4b57a 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -487,7 +487,7 @@ void OPropertySetHelper::setDependentFastPropertyValue( sal_Int32 i_handle, cons { // not allowed to leave this meathod WrappedTargetException aWrapped; - aWrapped.TargetException <<= ::cppu::getCaughtException(); + aWrapped.TargetException = ::cppu::getCaughtException(); aWrapped.Context = static_cast< XPropertySet* >( this ); throw aWrapped; } diff --git a/dbaccess/source/ui/dlg/paramdialog.cxx b/dbaccess/source/ui/dlg/paramdialog.cxx index e35f28615cd0..534d5176fc37 100644 --- a/dbaccess/source/ui/dlg/paramdialog.cxx +++ b/dbaccess/source/ui/dlg/paramdialog.cxx @@ -247,7 +247,7 @@ namespace dbaui OUString sValue; pValues->Value >>= sValue; - pValues->Value <<= m_aPredicateInput.getPredicateValue( sValue, xParamAsSet ); + pValues->Value = m_aPredicateInput.getPredicateValue( sValue, xParamAsSet ); } } catch(Exception&) diff --git a/extensions/source/propctrlr/stringrepresentation.cxx b/extensions/source/propctrlr/stringrepresentation.cxx index ba5355dba21b..39c57ccaabdf 100644 --- a/extensions/source/propctrlr/stringrepresentation.cxx +++ b/extensions/source/propctrlr/stringrepresentation.cxx @@ -490,7 +490,7 @@ uno::Any StringRepresentation::convertStringToSimple( const OUString& _rValue,co if ( *pIter == _rValue ) { OSL_ENSURE(i < m_aConstants.getLength() ,"StringRepresentation::convertSimpleToString: Index is not in range of m_aValues"); - aReturn <<= m_aConstants[i]->getConstantValue(); + aReturn = m_aConstants[i]->getConstantValue(); break; } } diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index a2ff5f7e3952..671a9f6ffefa 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -486,7 +486,7 @@ Sequence< PropertyValue > ImpPDFTabDialog::GetFilterData() else if( mbSelectionIsChecked ) { aRet[ nLength - nElementAdded ].Name = "Selection"; - aRet[ nLength - nElementAdded ].Value <<= maSelection; + aRet[ nLength - nElementAdded ].Value = maSelection; nElementAdded--; } diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx index b2a793b32374..22c772a4b05d 100644 --- a/forms/source/component/Grid.cxx +++ b/forms/source/component/Grid.cxx @@ -470,7 +470,7 @@ void OGridControlModel::getFastPropertyValue(Any& rValue, sal_Int32 nHandle ) co rValue <<= (sal_Int16)m_nBorder; break; case PROPERTY_ID_BORDERCOLOR: - rValue <<= m_aBorderColor; + rValue = m_aBorderColor; break; case PROPERTY_ID_DEFAULTCONTROL: rValue <<= m_aDefaultControl; diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 21fcc0d9f367..e40dea985742 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -255,7 +255,7 @@ namespace frm switch (_nHandle) { case PROPERTY_ID_BOUNDCOLUMN: - _rValue <<= m_aBoundColumn; + _rValue = m_aBoundColumn; break; case PROPERTY_ID_LISTSOURCETYPE: diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index daa905069be2..64ec384d72a6 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -1049,7 +1049,7 @@ void SAL_CALL SvtFilePicker::initialize( const Sequence< Any >& _rArguments ) for ( int i = index; i < _rArguments.getLength(); i++) { NamedValue namedValue; - aArguments[i] <<= _rArguments[i]; + aArguments[i] = _rArguments[i]; if (aArguments[i] >>= namedValue ) { diff --git a/framework/source/fwe/classes/addonsoptions.cxx b/framework/source/fwe/classes/addonsoptions.cxx index a55292aaab6d..c3013e4a2532 100644 --- a/framework/source/fwe/classes/addonsoptions.cxx +++ b/framework/source/fwe/classes/addonsoptions.cxx @@ -1035,11 +1035,11 @@ bool AddonsOptions_Impl::ReadStatusBarItem( if (( aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_URL ] >>= aURL ) && aURL.getLength() > 0 ) { aStatusbarItem[ OFFSET_STATUSBARITEM_URL ].Value <<= aURL; - aStatusbarItem[ OFFSET_STATUSBARITEM_TITLE ].Value <<= aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_TITLE ]; - aStatusbarItem[ OFFSET_STATUSBARITEM_CONTEXT ].Value <<= aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_CONTEXT ]; - aStatusbarItem[ OFFSET_STATUSBARITEM_ALIGN ].Value <<= aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_ALIGN ]; - aStatusbarItem[ OFFSET_STATUSBARITEM_AUTOSIZE ].Value <<= aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_AUTOSIZE ]; - aStatusbarItem[ OFFSET_STATUSBARITEM_OWNERDRAW ].Value <<= aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_OWNERDRAW ]; + aStatusbarItem[ OFFSET_STATUSBARITEM_TITLE ].Value = aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_TITLE ]; + aStatusbarItem[ OFFSET_STATUSBARITEM_CONTEXT ].Value = aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_CONTEXT ]; + aStatusbarItem[ OFFSET_STATUSBARITEM_ALIGN ].Value = aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_ALIGN ]; + aStatusbarItem[ OFFSET_STATUSBARITEM_AUTOSIZE ].Value = aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_AUTOSIZE ]; + aStatusbarItem[ OFFSET_STATUSBARITEM_OWNERDRAW ].Value = aStatusbarItemNodePropValues[ OFFSET_STATUSBARITEM_OWNERDRAW ]; // Configuration uses hyper for long. Therefore transform into sal_Int32 sal_Int64 nValue( 0 ); @@ -1080,7 +1080,7 @@ bool AddonsOptions_Impl::ReadMenuItem( const OUString& aMenuNodeName, Sequence< aMenuItem[ OFFSET_MENUITEM_URL ].Value <<= aPopupMenuURL; aMenuItem[ OFFSET_MENUITEM_TARGET ].Value <<= m_aEmpty; aMenuItem[ OFFSET_MENUITEM_IMAGEIDENTIFIER ].Value <<= aPopupMenuImageId; - aMenuItem[ OFFSET_MENUITEM_CONTEXT ].Value <<= aMenuItemNodePropValues[ OFFSET_MENUITEM_CONTEXT ]; + aMenuItem[ OFFSET_MENUITEM_CONTEXT ].Value = aMenuItemNodePropValues[ OFFSET_MENUITEM_CONTEXT ]; // Continue to read the sub menu nodes Sequence< Sequence< PropertyValue > > aSubMenuSeq; @@ -1100,9 +1100,9 @@ bool AddonsOptions_Impl::ReadMenuItem( const OUString& aMenuNodeName, Sequence< ReadAndAssociateImages( aStrValue, aMenuImageId ); aMenuItem[ OFFSET_MENUITEM_URL ].Value <<= aStrValue; - aMenuItem[ OFFSET_MENUITEM_TARGET ].Value <<= aMenuItemNodePropValues[ OFFSET_MENUITEM_TARGET ]; + aMenuItem[ OFFSET_MENUITEM_TARGET ].Value = aMenuItemNodePropValues[ OFFSET_MENUITEM_TARGET ]; aMenuItem[ OFFSET_MENUITEM_IMAGEIDENTIFIER ].Value <<= aMenuImageId; - aMenuItem[ OFFSET_MENUITEM_CONTEXT ].Value <<= aMenuItemNodePropValues[ OFFSET_MENUITEM_CONTEXT ]; + aMenuItem[ OFFSET_MENUITEM_CONTEXT ].Value = aMenuItemNodePropValues[ OFFSET_MENUITEM_CONTEXT ]; aMenuItem[ OFFSET_MENUITEM_SUBMENU ].Value <<= Sequence< Sequence< PropertyValue > >(); // Submenu set! bResult = true; @@ -1145,7 +1145,7 @@ bool AddonsOptions_Impl::ReadPopupMenu( const OUString& aPopupMenuNodeName, Sequ OUString aPopupMenuURL = GeneratePrefixURL(); aPopupMenu[ OFFSET_POPUPMENU_URL ].Value <<= aPopupMenuURL; - aPopupMenu[ OFFSET_POPUPMENU_CONTEXT ].Value <<= aPopupMenuNodePropValues[ OFFSET_POPUPMENU_CONTEXT ]; + aPopupMenu[ OFFSET_POPUPMENU_CONTEXT ].Value = aPopupMenuNodePropValues[ OFFSET_POPUPMENU_CONTEXT ]; // Continue to read the sub menu nodes Sequence< Sequence< PropertyValue > > aSubMenuSeq; @@ -1214,10 +1214,10 @@ bool AddonsOptions_Impl::ReadToolBarItem( const OUString& aToolBarItemNodeName, aToolBarItem[ OFFSET_TOOLBARITEM_URL ].Value <<= aURL; aToolBarItem[ OFFSET_TOOLBARITEM_TITLE ].Value <<= aTitle; - aToolBarItem[ OFFSET_TOOLBARITEM_TARGET ].Value <<= aToolBarItemNodePropValues[ OFFSET_TOOLBARITEM_TARGET ]; + aToolBarItem[ OFFSET_TOOLBARITEM_TARGET ].Value = aToolBarItemNodePropValues[ OFFSET_TOOLBARITEM_TARGET ]; aToolBarItem[ OFFSET_TOOLBARITEM_IMAGEIDENTIFIER ].Value <<= aImageId; - aToolBarItem[ OFFSET_TOOLBARITEM_CONTEXT ].Value <<= aToolBarItemNodePropValues[ OFFSET_TOOLBARITEM_CONTEXT ]; - aToolBarItem[ OFFSET_TOOLBARITEM_CONTROLTYPE ].Value <<= aToolBarItemNodePropValues[ OFFSET_TOOLBARITEM_CONTROLTYPE ]; + aToolBarItem[ OFFSET_TOOLBARITEM_CONTEXT ].Value = aToolBarItemNodePropValues[ OFFSET_TOOLBARITEM_CONTEXT ]; + aToolBarItem[ OFFSET_TOOLBARITEM_CONTROLTYPE ].Value = aToolBarItemNodePropValues[ OFFSET_TOOLBARITEM_CONTROLTYPE ]; // Configuration uses hyper for long. Therefore transform into sal_Int32 sal_Int64 nValue( 0 ); diff --git a/pyuno/source/module/pyuno.cxx b/pyuno/source/module/pyuno.cxx index 37c8bc849dc7..8c53f7464a4f 100644 --- a/pyuno/source/module/pyuno.cxx +++ b/pyuno/source/module/pyuno.cxx @@ -922,7 +922,7 @@ int lcl_setitem_index( PyUNO *me, PyObject *pKey, PyObject *pValue ) try { - aValue <<= runtime.pyObject2Any( pValue ); + aValue = runtime.pyObject2Any( pValue ); } catch ( const css::uno::RuntimeException ) { @@ -1043,7 +1043,7 @@ int lcl_setitem_slice( PyUNO *me, PyObject *pKey, PyObject *pValue ) Any aItem; try { - aItem <<= runtime.pyObject2Any( rItem.get() ); + aItem = runtime.pyObject2Any( rItem.get() ); } catch ( const css::uno::RuntimeException ) { @@ -1102,7 +1102,7 @@ int lcl_setitem_string( PyUNO *me, PyObject *pKey, PyObject *pValue ) isTuple = PyTuple_Check( pValue ); try { - aValue <<= runtime.pyObject2Any( pValue ); + aValue = runtime.pyObject2Any( pValue ); } catch( const css::uno::RuntimeException ) { @@ -1301,7 +1301,7 @@ int PyUNO_contains( PyObject *self, PyObject *pKey ) Any aValue; try { - aValue <<= runtime.pyObject2Any( pKey ); + aValue = runtime.pyObject2Any( pKey ); } catch( const css::uno::RuntimeException ) { diff --git a/pyuno/source/module/pyuno_callable.cxx b/pyuno/source/module/pyuno_callable.cxx index 24bce95e6c33..b52e8d6b517a 100644 --- a/pyuno/source/module/pyuno_callable.cxx +++ b/pyuno/source/module/pyuno_callable.cxx @@ -81,7 +81,7 @@ PyObject* PyUNO_callable_call( else { aParams.realloc (1); - aParams [0] <<= any_params; + aParams [0] = any_params; } { diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index 9f4998fb7807..6227c71a6e9c 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -1624,7 +1624,7 @@ void SAL_CALL OReportDefinition::load( const uno::Sequence< beans::PropertyValue uno::Any aStorageSource; if ( xStream.is() ) - aStorageSource <<= aStorageSource; + aStorageSource = aStorageSource; else if ( !sURL.isEmpty() ) aStorageSource <<= sURL; else @@ -2705,7 +2705,7 @@ uno::Any SAL_CALL OReportDefinition::getTransferData( const datatransfer::DataFl { try { - aResult <<= getPreferredVisualRepresentation(0).Data; + aResult = getPreferredVisualRepresentation(0).Data; } catch (const uno::Exception &) { diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx index 12fbfb8e5827..d661058b64c2 100644 --- a/reportdesign/source/ui/dlg/AddField.cxx +++ b/reportdesign/source/ui/dlg/AddField.cxx @@ -406,7 +406,7 @@ void OAddFieldWindow::fillDescriptor(SvTreeListEntry* _pSelected,svx::ODataAcces ColumnInfo* pInfo = static_cast<ColumnInfo*>(_pSelected->GetUserData()); _rDescriptor[ svx::DataAccessDescriptorProperty::ColumnName ] <<= pInfo->sColumnName; if ( m_xColumns->hasByName( pInfo->sColumnName ) ) - _rDescriptor[ svx::DataAccessDescriptorProperty::ColumnObject ] <<= m_xColumns->getByName(pInfo->sColumnName); + _rDescriptor[ svx::DataAccessDescriptorProperty::ColumnObject ] = m_xColumns->getByName(pInfo->sColumnName); } } diff --git a/reportdesign/source/ui/inspection/DataProviderHandler.cxx b/reportdesign/source/ui/inspection/DataProviderHandler.cxx index 6349cb0e66dd..d804d94b2e59 100644 --- a/reportdesign/source/ui/inspection/DataProviderHandler.cxx +++ b/reportdesign/source/ui/inspection/DataProviderHandler.cxx @@ -486,7 +486,7 @@ bool DataProviderHandler::impl_dialogLinkedFields_nothrow( ::osl::ClearableMutex uno::Sequence<uno::Any> aSeq(6); beans::PropertyValue aParam; aParam.Name = "ParentWindow"; - aParam.Value <<= m_xContext->getValueByName("DialogParentWindow"); + aParam.Value = m_xContext->getValueByName("DialogParentWindow"); aSeq[0] <<= aParam; aParam.Name = "Detail"; aParam.Value <<= m_xDataProvider; @@ -519,7 +519,7 @@ bool DataProviderHandler::impl_dialogChartType_nothrow( ::osl::ClearableMutexGua uno::Sequence<uno::Any> aSeq(2); beans::PropertyValue aParam; aParam.Name = "ParentWindow"; - aParam.Value <<= m_xContext->getValueByName("DialogParentWindow"); + aParam.Value = m_xContext->getValueByName("DialogParentWindow"); aSeq[0] <<= aParam; aParam.Name = "ChartModel"; aParam.Value <<= m_xChartModel; diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx b/reportdesign/source/ui/inspection/GeometryHandler.cxx index d0a818033a80..e1fff151ebf7 100644 --- a/reportdesign/source/ui/inspection/GeometryHandler.cxx +++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx @@ -1481,7 +1481,7 @@ inspection::InteractiveSelectionResult SAL_CALL GeometryHandler::onInteractivePr eResult = inspection::InteractiveSelectionResult_ObtainedValue; beans::PropertyChangeEvent aScopeEvent; aScopeEvent.PropertyName = PROPERTY_FILLCOLOR; - aScopeEvent.NewValue <<= xShape->getPropertyValue(PROPERTY_FILLCOLOR); + aScopeEvent.NewValue = xShape->getPropertyValue(PROPERTY_FILLCOLOR); m_aPropertyListeners.notify( aScopeEvent, &beans::XPropertyChangeListener::propertyChange ); } return eResult; diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx index a3be8b775c33..758405599ded 100644 --- a/sc/source/filter/oox/defnamesbuffer.cxx +++ b/sc/source/filter/oox/defnamesbuffer.cxx @@ -215,7 +215,7 @@ Any DefinedNameBase::getReference( const ScAddress& rBaseAddr ) const Any aRefAny = lclConvertReference( aApiExtRef.Reference, rBaseAddr, nRelFlags ); if( aRefAny.hasValue() ) { - aApiExtRef.Reference <<= aRefAny; + aApiExtRef.Reference = aRefAny; return Any( aApiExtRef ); } } diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx index 79d77b8ed5a1..6db54a3de384 100644 --- a/sc/source/ui/unoobj/viewuno.cxx +++ b/sc/source/ui/unoobj/viewuno.cxx @@ -1284,7 +1284,7 @@ bool ScTabViewObj::MouseReleased( const awt::MouseEvent& e ) ScDocument& rDoc = pDocSh->GetDocument(); uno::Reference< script::vba::XVBAEventProcessor > xVbaEvents( rDoc.GetVbaEventProcessor(), uno::UNO_SET_THROW ); uno::Sequence< uno::Any > aArgs( 1 ); - aArgs[ 0 ] <<= getSelection(); + aArgs[ 0 ] = getSelection(); xVbaEvents->processVbaEvent( ScSheetEvents::GetVbaSheetEventId( ScSheetEventId::SELECT ), aArgs ); } catch( uno::Exception& ) @@ -1753,7 +1753,7 @@ void ScTabViewObj::SelectionChanged() { uno::Reference< script::vba::XVBAEventProcessor > xVbaEvents( rDoc.GetVbaEventProcessor(), uno::UNO_SET_THROW ); uno::Sequence< uno::Any > aArgs( 1 ); - aArgs[ 0 ] <<= getSelection(); + aArgs[ 0 ] = getSelection(); xVbaEvents->processVbaEvent( ScSheetEvents::GetVbaSheetEventId( ScSheetEventId::SELECT ), aArgs ); } catch( uno::Exception& ) diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 23d738f45c69..8c5ff00774fc 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -1242,7 +1242,7 @@ void ScViewFunc::ApplySelectionPattern( const ScPatternAttr& rAttr, bool bCursor pItem->QueryValue( aVal, aIt->nMemberId ); aProperties.realloc( nCount + 1 ); aProperties[ nCount ].Name = aIt->sName; - aProperties[ nCount ].Value <<= aVal; + aProperties[ nCount ].Value = aVal; ++nCount; } ++aIt; diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx index 0c6c28a1a68e..2134e355aaaa 100644 --- a/sd/source/filter/eppt/pptx-text.cxx +++ b/sd/source/filter/eppt/pptx-text.cxx @@ -804,7 +804,7 @@ void ParagraphObj::ImplGetNumberingLevel( PPTExBulletProvider* pBuProv, sal_Int1 { if ( ( mAny >>= aXIndexReplace ) && nNumberingDepth < aXIndexReplace->getCount() ) { - mAny <<= aXIndexReplace->getByIndex( nNumberingDepth ); + mAny = aXIndexReplace->getByIndex( nNumberingDepth ); auto aPropertySequence = o3tl::doAccess<css::uno::Sequence<css::beans::PropertyValue>>(mAny); const css::beans::PropertyValue* pPropValue = aPropertySequence->getConstArray(); diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx index f09f52dc5a36..47f87908462c 100644 --- a/sd/source/ui/table/TableDesignPane.cxx +++ b/sd/source/ui/table/TableDesignPane.cxx @@ -279,7 +279,7 @@ void TableDesignWidget::onSelectionChanged() { Reference< XShapes > xShapes( aSel, UNO_QUERY ); if( xShapes.is() && (xShapes->getCount() == 1) ) - aSel <<= xShapes->getByIndex(0); + aSel = xShapes->getByIndex(0); } Reference< XShapeDescriptor > xDesc( aSel, UNO_QUERY ); diff --git a/sdext/source/minimizer/optimizationstats.cxx b/sdext/source/minimizer/optimizationstats.cxx index d0f6adc167b3..6801cf0d75d7 100644 --- a/sdext/source/minimizer/optimizationstats.cxx +++ b/sdext/source/minimizer/optimizationstats.cxx @@ -58,7 +58,7 @@ css::beans::PropertyValues OptimizationStats::GetStatusSequence() while( aIter != maStats.end() ) { aStatsSequence[ i ].Name = TKGet( (*aIter).first ); - aStatsSequence[ i++ ].Value <<= (*aIter++).second; + aStatsSequence[ i++ ].Value = (*aIter++).second; } return aStatsSequence; } diff --git a/svtools/source/graphic/renderer.cxx b/svtools/source/graphic/renderer.cxx index 250be8d46a07..161707f22264 100644 --- a/svtools/source/graphic/renderer.cxx +++ b/svtools/source/graphic/renderer.cxx @@ -246,7 +246,7 @@ void GraphicRendererVCL::_getPropertyValues( const comphelper::PropertyMapEntry* case UNOGRAPHIC_RENDERDATA: { - *pValues <<= maRenderData; + *pValues = maRenderData; } break; } diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx index ab1d20f9332b..b286fa1a5cd0 100644 --- a/svtools/source/uno/unoiface.cxx +++ b/svtools/source/uno/unoiface.cxx @@ -502,7 +502,7 @@ css::uno::Any VCLXMultiLineEdit::getProperty( const OUString& PropertyName ) thr break; default: { - aProp <<= VCLXWindow::getProperty( PropertyName ); + aProp = VCLXWindow::getProperty( PropertyName ); } } } @@ -967,16 +967,16 @@ css::uno::Any SVTXFormattedField::getProperty( const OUString& PropertyName ) th { case BASEPROPERTY_EFFECTIVE_MIN: case BASEPROPERTY_VALUEMIN_DOUBLE: - aReturn <<= GetMinValue(); + aReturn = GetMinValue(); break; case BASEPROPERTY_EFFECTIVE_MAX: case BASEPROPERTY_VALUEMAX_DOUBLE: - aReturn <<= GetMaxValue(); + aReturn = GetMaxValue(); break; case BASEPROPERTY_EFFECTIVE_DEFAULT: - aReturn <<= GetDefaultValue(); + aReturn = GetDefaultValue(); break; case BASEPROPERTY_TREATASNUMBER: @@ -985,7 +985,7 @@ css::uno::Any SVTXFormattedField::getProperty( const OUString& PropertyName ) th case BASEPROPERTY_EFFECTIVE_VALUE: case BASEPROPERTY_VALUE_DOUBLE: - aReturn <<= GetValue(); + aReturn = GetValue(); break; case BASEPROPERTY_VALUESTEP_DOUBLE: @@ -1014,7 +1014,7 @@ css::uno::Any SVTXFormattedField::getProperty( const OUString& PropertyName ) th break; default: - aReturn <<= VCLXSpinField::getProperty(PropertyName); + aReturn = VCLXSpinField::getProperty(PropertyName); } } return aReturn; @@ -2269,7 +2269,7 @@ css::uno::Any VCLXProgressBar::getProperty( const OUString& PropertyName ) throw } break; default: - aProp <<= VCLXWindow::getProperty( PropertyName ); + aProp = VCLXWindow::getProperty( PropertyName ); break; } } diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index 7a3ec38c8ca0..c806e75e27e2 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -691,7 +691,7 @@ bool SvxPluginShape::getPropertyValueImpl( const OUString& rName, const SfxItemP uno::Reference < beans::XPropertySet > xSet( static_cast<SdrOle2Obj*>(mpObj.get())->GetObjRef()->getComponent(), uno::UNO_QUERY ); if( xSet.is() ) { - rValue <<= xSet->getPropertyValue( rName ); + rValue = xSet->getPropertyValue( rName ); } } return true; @@ -768,7 +768,7 @@ bool SvxFrameShape::getPropertyValueImpl(const OUString& rName, const SfxItemPro uno::Reference < beans::XPropertySet > xSet( static_cast<SdrOle2Obj*>(mpObj.get())->GetObjRef()->getComponent(), uno::UNO_QUERY ); if( xSet.is() ) { - rValue <<= xSet->getPropertyValue( rName ); + rValue = xSet->getPropertyValue( rName ); } } return true; diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index f59e197ec3fd..bc3c93f45db0 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -324,7 +324,7 @@ css::uno::Any VCLXGraphicControl::getProperty( const OUString& PropertyName ) th break; default: { - aProp <<= VCLXWindow::getProperty( PropertyName ); + aProp = VCLXWindow::getProperty( PropertyName ); } break; } @@ -561,7 +561,7 @@ css::uno::Any VCLXButton::getProperty( const OUString& PropertyName ) throw(css: break; default: { - aProp <<= VCLXGraphicControl::getProperty( PropertyName ); + aProp = VCLXGraphicControl::getProperty( PropertyName ); } } } @@ -1000,7 +1000,7 @@ css::uno::Any VCLXCheckBox::getProperty( const OUString& PropertyName ) throw(cs break; default: { - aProp <<= VCLXGraphicControl::getProperty( PropertyName ); + aProp = VCLXGraphicControl::getProperty( PropertyName ); } } } @@ -1178,7 +1178,7 @@ css::uno::Any VCLXRadioButton::getProperty( const OUString& PropertyName ) throw break; default: { - aProp <<= VCLXGraphicControl::getProperty( PropertyName ); + aProp = VCLXGraphicControl::getProperty( PropertyName ); } } } @@ -1951,7 +1951,7 @@ css::uno::Any VCLXListBox::getProperty( const OUString& PropertyName ) throw(css break; default: { - aProp <<= VCLXWindow::getProperty( PropertyName ); + aProp = VCLXWindow::getProperty( PropertyName ); } } } @@ -2512,7 +2512,7 @@ uno::Any SAL_CALL VCLXMultiPage::getProperty( const OUString& PropertyName ) thr } break; default: - aProp <<= VCLXContainer::getProperty( PropertyName ); + aProp = VCLXContainer::getProperty( PropertyName ); } return aProp; } @@ -3078,7 +3078,7 @@ css::uno::Any VCLXFixedHyperlink::getProperty( const OUString& PropertyName ) th default: { - aProp <<= VCLXWindow::getProperty( PropertyName ); + aProp = VCLXWindow::getProperty( PropertyName ); } } } @@ -3663,7 +3663,7 @@ css::uno::Any VCLXScrollBar::getProperty( const OUString& PropertyName ) throw(c default: { - aProp <<= VCLXWindow::getProperty( PropertyName ); + aProp = VCLXWindow::getProperty( PropertyName ); } } } @@ -4388,7 +4388,7 @@ css::uno::Any VCLXComboBox::getProperty( const OUString& PropertyName ) throw(cs break; default: { - aProp <<= VCLXEdit::getProperty( PropertyName ); + aProp = VCLXEdit::getProperty( PropertyName ); } } } @@ -4701,7 +4701,7 @@ css::uno::Any VCLXFormattedSpinField::getProperty( const OUString& PropertyName break; default: { - aProp <<= VCLXSpinField::getProperty( PropertyName ); + aProp = VCLXSpinField::getProperty( PropertyName ); } } } @@ -4889,7 +4889,7 @@ css::uno::Any VCLXDateField::getProperty( const OUString& PropertyName ) throw(c break; default: { - aProp <<= VCLXFormattedSpinField::getProperty( PropertyName ); + aProp = VCLXFormattedSpinField::getProperty( PropertyName ); } } } @@ -5359,7 +5359,7 @@ css::uno::Any VCLXTimeField::getProperty( const OUString& PropertyName ) throw(c break; default: { - aProp <<= VCLXFormattedSpinField::getProperty( PropertyName ); + aProp = VCLXFormattedSpinField::getProperty( PropertyName ); } } } @@ -5702,7 +5702,7 @@ css::uno::Any VCLXNumericField::getProperty( const OUString& PropertyName ) thro break; default: { - aProp <<= VCLXFormattedSpinField::getProperty( PropertyName ); + aProp = VCLXFormattedSpinField::getProperty( PropertyName ); } } } @@ -5951,7 +5951,7 @@ css::uno::Any VCLXMetricField::getProperty( const OUString& PropertyName ) throw break; default: { - aProp <<= VCLXFormattedSpinField::getProperty( PropertyName ); + aProp = VCLXFormattedSpinField::getProperty( PropertyName ); break; } } @@ -6309,7 +6309,7 @@ css::uno::Any VCLXCurrencyField::getProperty( const OUString& PropertyName ) thr break; default: { - aProp <<= VCLXFormattedSpinField::getProperty( PropertyName ); + aProp = VCLXFormattedSpinField::getProperty( PropertyName ); } } } @@ -6480,7 +6480,7 @@ css::uno::Any VCLXPatternField::getProperty( const OUString& PropertyName ) thro break; default: { - aProp <<= VCLXFormattedSpinField::getProperty( PropertyName ); + aProp = VCLXFormattedSpinField::getProperty( PropertyName ); } } } diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 2d72a2fffcbc..9bf0b46e4512 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -606,7 +606,7 @@ void ControlModelContainerBase::insertByName( const OUString& aName, const Any& ContainerEvent aEvent; aEvent.Source = *this; - aEvent.Element <<= aElement; + aEvent.Element = aElement; aEvent.Accessor <<= aName; maContainerListeners.elementInserted( aEvent ); diff --git a/toolkit/source/controls/eventcontainer.cxx b/toolkit/source/controls/eventcontainer.cxx index 2e5b6fb4fec8..4687c7314793 100644 --- a/toolkit/source/controls/eventcontainer.cxx +++ b/toolkit/source/controls/eventcontainer.cxx @@ -103,7 +103,7 @@ void ScriptEventContainer::replaceByName( const OUString& aName, const Any& aEle // Fire event ContainerEvent aEvent; aEvent.Source = *this; - aEvent.Element <<= aElement; + aEvent.Element = aElement; aEvent.ReplacedElement = aOldElement; aEvent.Accessor <<= aName; maContainerListeners.elementReplaced( aEvent ); @@ -134,7 +134,7 @@ void ScriptEventContainer::insertByName( const OUString& aName, const Any& aElem // Fire event ContainerEvent aEvent; aEvent.Source = *this; - aEvent.Element <<= aElement; + aEvent.Element = aElement; aEvent.Accessor <<= aName; maContainerListeners.elementInserted( aEvent ); } diff --git a/toolkit/source/controls/tabpagecontainer.cxx b/toolkit/source/controls/tabpagecontainer.cxx index 58c3fe4ff400..0e4939947f7a 100644 --- a/toolkit/source/controls/tabpagecontainer.cxx +++ b/toolkit/source/controls/tabpagecontainer.cxx @@ -162,7 +162,7 @@ void SAL_CALL UnoControlTabPageContainerModel::insertByIndex( ::sal_Int32 nIndex throw IndexOutOfBoundsException( OUString(), static_cast<OWeakObject *>(this) ); ContainerEvent aEvent; aEvent.Source = *this; - aEvent.Element <<= aElement; + aEvent.Element = aElement; aEvent.Accessor <<= OUString::number(nIndex); maContainerListeners.elementInserted( aEvent ); } diff --git a/toolkit/source/controls/unocontrolcontainermodel.cxx b/toolkit/source/controls/unocontrolcontainermodel.cxx index 9198e8f7f0ad..342c4626bc26 100644 --- a/toolkit/source/controls/unocontrolcontainermodel.cxx +++ b/toolkit/source/controls/unocontrolcontainermodel.cxx @@ -68,7 +68,7 @@ css::uno::Any UnoControlContainerModel::ImplGetDefaultValue( sal_uInt16 nPropId if ( nPropId == BASEPROPERTY_BORDER ) aDefault <<= (sal_Int16) 0; else - aDefault <<= UnoControlModel::ImplGetDefaultValue( nPropId ); + aDefault = UnoControlModel::ImplGetDefaultValue( nPropId ); return aDefault; } diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx index 5f9f16b346be..4e00aa4a810c 100644 --- a/ucb/source/core/ucb.cxx +++ b/ucb/source/core/ucb.cxx @@ -672,7 +672,7 @@ Any SAL_CALL UniversalContentBroker::execute( Environment ); // Unreachable } - aRet <<= checkIn( aCheckinArg, Environment ); + aRet = checkIn( aCheckinArg, Environment ); } else { diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index 029459eccf5c..547a886ab061 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -814,7 +814,7 @@ shell::setv( const OUString& aUnqPath, seqChanged[ propChanged ].PropertyName = values[i].Name; seqChanged[ propChanged ].PropertyHandle = -1; seqChanged[ propChanged ].Further = false; - seqChanged[ propChanged ].OldValue <<= aAny; + seqChanged[ propChanged ].OldValue = aAny; seqChanged[ propChanged++ ].NewValue = values[i].Value; it1->setValue( values[i].Value ); // Put the new value into the local cash diff --git a/ucb/source/ucp/gio/gio_content.cxx b/ucb/source/ucp/gio/gio_content.cxx index 16be9c03045b..3a6e231939f1 100644 --- a/ucb/source/ucp/gio/gio_content.cxx +++ b/ucb/source/ucp/gio/gio_content.cxx @@ -749,7 +749,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues( if ((bOk = doSetFileInfo(pNewInfo))) { for (sal_Int32 i = 0; i < nChanged; ++i) - aRet[ i ] <<= getBadArgExcept(); + aRet[ i ] = getBadArgExcept(); } } diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index cd32145c1206..53d27a7d67c3 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -2167,7 +2167,7 @@ uno::Sequence< uno::Any > Content::setPropertyValues( aNewTitle.clear(); // Set error . - aRet[ nTitlePos ] <<= MapDAVException( e, true ); + aRet[ nTitlePos ] = MapDAVException( e, true ); } } diff --git a/writerfilter/source/dmapper/SdtHelper.cxx b/writerfilter/source/dmapper/SdtHelper.cxx index 2c126928bc10..d2e8ab88097f 100644 --- a/writerfilter/source/dmapper/SdtHelper.cxx +++ b/writerfilter/source/dmapper/SdtHelper.cxx @@ -132,7 +132,7 @@ void SdtHelper::createDateControl(OUString& rContentText, const beans::PropertyV aGrabBag["OriginalContent"] <<= rContentText; aGrabBag["DateFormat"] <<= sDateFormat; aGrabBag["Locale"] <<= m_sLocale.makeStringAndClear(); - aGrabBag["CharFormat"] <<= rCharFormat.Value; + aGrabBag["CharFormat"] = rCharFormat.Value; // merge in properties like ooxml:CT_SdtPr_alias and friends. aGrabBag.update(comphelper::SequenceAsHashMap(comphelper::containerToSequence(m_aGrabBag))); // and empty the property list, so they won't end up on the next sdt as well diff --git a/xmloff/source/draw/animationimport.cxx b/xmloff/source/draw/animationimport.cxx index 1f7e0f0bdb09..13e67c357b80 100644 --- a/xmloff/source/draw/animationimport.cxx +++ b/xmloff/source/draw/animationimport.cxx @@ -521,7 +521,7 @@ Any AnimationsImportHelperImpl::convertTiming( const OUString& rValue ) aEventTrigger = rValue.copy( 0, nPos ); // convert offset - aEvent.Offset <<= convertTiming( rValue.copy( nPos + 1 ) ); + aEvent.Offset = convertTiming( rValue.copy( nPos + 1 ) ); } nPos = aEventTrigger.indexOf( (sal_Unicode)'.' ); diff --git a/xmloff/source/draw/ximpcustomshape.cxx b/xmloff/source/draw/ximpcustomshape.cxx index 029a1ba3b878..fbb5822c919e 100644 --- a/xmloff/source/draw/ximpcustomshape.cxx +++ b/xmloff/source/draw/ximpcustomshape.cxx @@ -827,7 +827,7 @@ void GetAdjustmentValues( std::vector< css::beans::PropertyValue >& rDest, css::drawing::EnhancedCustomShapeAdjustmentValue aAdj; if ( aParameter.Type == css::drawing::EnhancedCustomShapeParameterType::NORMAL ) { - aAdj.Value <<= aParameter.Value; + aAdj.Value = aParameter.Value; aAdj.State = beans::PropertyState_DIRECT_VALUE; } else diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index ab4bfbe39a2e..9aa54202ffd0 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -350,7 +350,7 @@ void SvXMLImportPropertyMapper::FillPropertySequence( pProps->Name = maPropMapper->GetEntryAPIName( nIdx ); if( !pProps->Name.isEmpty() ) { - pProps->Value <<= rProp.maValue; + pProps->Value = rProp.maValue; ++pProps; ++nValueCount; } |