diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-16 20:08:47 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-18 19:16:44 +0000 |
commit | d1ea6ecda68bf65b8d90e9ea17fa0a218a92b016 (patch) | |
tree | 941e1e5650db110768d2ace19c891fec4f78fc33 /reportdesign | |
parent | ucb: fix handling of >>= with rhs Any (diff) | |
download | core-d1ea6ecda68bf65b8d90e9ea17fa0a218a92b016.tar.gz core-d1ea6ecda68bf65b8d90e9ea17fa0a218a92b016.zip |
replace <<= with assign for <<= with rhs Any
found by deleting specialization of '<<=' template
Change-Id: I253f15177ab20fd3ef9baf4158da8c662cb47e6c
Reviewed-on: https://gerrit.libreoffice.org/29956
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'reportdesign')
4 files changed, 6 insertions, 6 deletions
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; |