summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-16 20:08:47 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-18 19:16:44 +0000
commitd1ea6ecda68bf65b8d90e9ea17fa0a218a92b016 (patch)
tree941e1e5650db110768d2ace19c891fec4f78fc33 /sc
parent55bcb865ee09673af06652e507d08d13069eae86 (diff)
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 'sc')
-rw-r--r--sc/source/filter/oox/defnamesbuffer.cxx2
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx4
-rw-r--r--sc/source/ui/view/viewfunc.cxx2
3 files changed, 4 insertions, 4 deletions
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;