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 /toolkit | |
parent | 55bcb865ee09673af06652e507d08d13069eae86 (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 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 32 | ||||
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/eventcontainer.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/tabpagecontainer.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolcontainermodel.cxx | 2 |
5 files changed, 21 insertions, 21 deletions
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; } |