diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-16 09:40:42 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-17 15:39:13 +0000 |
commit | 9ac8a57e52a25870d497241c64bff3da0272cf4d (patch) | |
tree | 28841f59f47f03b3cba8a42c3249b299c498c2cd /sw | |
parent | a8cfb651ac0d2669d5780b707bfb1efb43f0f34c (diff) |
replace <<= with assign for <<= with rhs Any
makeAny and Any ctor return an Any
Change-Id: Iaa361bc315d785f80153acf1009bf47d109728ec
Reviewed-on: https://gerrit.libreoffice.org/29914
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accpara.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/dbui/dbmgr.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/annotsh.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/drwtxtsh.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/table/chartins.cxx | 8 | ||||
-rw-r--r-- | sw/source/uibase/uiview/viewling.cxx | 4 |
6 files changed, 13 insertions, 13 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 4954ed8303f0..0c7cb7dd2208 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -504,8 +504,8 @@ void SwAccessibleParagraph::InvalidateCursorPos_() if(m_bLastHasSelection || bCurSelection ) { aEvent.EventId = AccessibleEventId::TEXT_SELECTION_CHANGED; - aEvent.OldValue <<= uno::Any(); - aEvent.NewValue <<= uno::Any(); + aEvent.OldValue.clear(); + aEvent.NewValue.clear(); FireAccessibleEvent(aEvent); } m_bLastHasSelection =bCurSelection; diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index 2f742929733b..55e0bcf233c0 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -2666,7 +2666,7 @@ OUString SwDBManager::LoadAndRegisterDataSource(const DBConnURITypes type, const break; case DBCONN_MSJET: case DBCONN_MSACE: - aSuppressVersionsAny <<= uno::makeAny(true); + aSuppressVersionsAny = uno::makeAny(true); break; } diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index 18d60f2d04c1..dc5f43c47f1d 100644 --- a/sw/source/uibase/shells/annotsh.cxx +++ b/sw/source/uibase/shells/annotsh.cxx @@ -1287,8 +1287,8 @@ void SwAnnotationShell::ExecLingu(SfxRequest &rReq) Any* pArray = aSeq.getArray(); PropertyValue aParam; aParam.Name = "ParentWindow"; - aParam.Value <<= makeAny(xDialogParentWindow); - pArray[0] <<= makeAny(aParam); + aParam.Value = makeAny(xDialogParentWindow); + pArray[0] = makeAny(aParam); xInit->initialize( aSeq ); //execute dialog diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx index e9f10ba08f12..6eb617cf61b7 100644 --- a/sw/source/uibase/shells/drwtxtsh.cxx +++ b/sw/source/uibase/shells/drwtxtsh.cxx @@ -326,8 +326,8 @@ void SwDrawTextShell::ExecDrawLingu(SfxRequest &rReq) Any* pArray = aSequence.getArray(); PropertyValue aParam; aParam.Name = "ParentWindow"; - aParam.Value <<= makeAny(xDialogParentWindow); - pArray[0] <<= makeAny(aParam); + aParam.Value = makeAny(xDialogParentWindow); + pArray[0] = makeAny(aParam); xInit->initialize( aSequence ); //execute dialog diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx index eec72eb2ecf1..159126504451 100644 --- a/sw/source/uibase/table/chartins.cxx +++ b/sw/source/uibase/table/chartins.cxx @@ -186,12 +186,12 @@ void SwInsertChart(vcl::Window* pParent, SfxBindings* pBindings ) uno::Any* pArray = aSeq.getArray(); beans::PropertyValue aParam1; aParam1.Name = "ParentWindow"; - aParam1.Value <<= uno::makeAny(xDialogParentWindow); + aParam1.Value = uno::makeAny(xDialogParentWindow); beans::PropertyValue aParam2; aParam2.Name = "ChartModel"; - aParam2.Value <<= uno::makeAny(xChartModel); - pArray[0] <<= uno::makeAny(aParam1); - pArray[1] <<= uno::makeAny(aParam2); + aParam2.Value = uno::makeAny(xChartModel); + pArray[0] = uno::makeAny(aParam1); + pArray[1] = uno::makeAny(aParam2); xInit->initialize( aSeq ); // try to set the dialog's position so it doesn't hide the chart diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx index 866087e60590..f6a1a585b50a 100644 --- a/sw/source/uibase/uiview/viewling.cxx +++ b/sw/source/uibase/uiview/viewling.cxx @@ -133,8 +133,8 @@ void SwView::ExecLingu(SfxRequest &rReq) Any* pArray = aSeq.getArray(); PropertyValue aParam; aParam.Name = "ParentWindow"; - aParam.Value <<= makeAny(xDialogParentWindow); - pArray[0] <<= makeAny(aParam); + aParam.Value = makeAny(xDialogParentWindow); + pArray[0] = makeAny(aParam); xInit->initialize( aSeq ); //execute dialog |