summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-16 09:40:42 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-17 15:39:13 +0000
commit9ac8a57e52a25870d497241c64bff3da0272cf4d (patch)
tree28841f59f47f03b3cba8a42c3249b299c498c2cd /sfx2
parenta8cfb651ac0d2669d5780b707bfb1efb43f0f34c (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 'sfx2')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx16
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx2
2 files changed, 9 insertions, 9 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 07f496adfed3..8be42ddc01b8 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -2019,12 +2019,12 @@ Sequence< beans::PropertyValue > CustomPropertiesWindow::GetCustomProperties() c
bool bIsNum = const_cast< SvNumberFormatter& >( m_aNumberFormatter ).
IsNumberFormat( pLine->m_aValueEdit->GetText(), nIndex, nValue );
if ( bIsNum )
- aPropertiesSeq[i].Value <<= makeAny( nValue );
+ aPropertiesSeq[i].Value = makeAny( nValue );
}
else if ( CUSTOM_TYPE_BOOLEAN == nType )
{
bool bValue = pLine->m_aYesNoButton->IsYesChecked();
- aPropertiesSeq[i].Value <<= makeAny( bValue );
+ aPropertiesSeq[i].Value = makeAny( bValue );
}
else if ( CUSTOM_TYPE_DATETIME == nType )
{
@@ -2066,7 +2066,7 @@ Sequence< beans::PropertyValue > CustomPropertiesWindow::GetCustomProperties() c
else
{
OUString sValue( pLine->m_aValueEdit->GetText() );
- aPropertiesSeq[i].Value <<= makeAny( sValue );
+ aPropertiesSeq[i].Value = makeAny( sValue );
}
}
}
@@ -2554,7 +2554,7 @@ Sequence< document::CmisProperty > CmisPropertiesWindow::GetCmisProperties() con
if ( bIsNum )
seqValue[k] = dValue;
}
- aPropertiesSeq[i].Value <<= makeAny( seqValue );
+ aPropertiesSeq[i].Value = makeAny( seqValue );
}
else if ( CMIS_TYPE_INTEGER == sType )
{
@@ -2572,7 +2572,7 @@ Sequence< document::CmisProperty > CmisPropertiesWindow::GetCmisProperties() con
if ( bIsNum )
seqValue[k] = (sal_Int64) dValue;
}
- aPropertiesSeq[i].Value <<= makeAny( seqValue );
+ aPropertiesSeq[i].Value = makeAny( seqValue );
}
else if ( CMIS_TYPE_BOOL == sType )
{
@@ -2584,7 +2584,7 @@ Sequence< document::CmisProperty > CmisPropertiesWindow::GetCmisProperties() con
bool bValue = (*it)->m_aYesButton->IsChecked();
seqValue[k] = bValue;
}
- aPropertiesSeq[i].Value <<= makeAny( seqValue );
+ aPropertiesSeq[i].Value = makeAny( seqValue );
}
else if ( CMIS_TYPE_DATETIME == sType )
@@ -2602,7 +2602,7 @@ Sequence< document::CmisProperty > CmisPropertiesWindow::GetCmisProperties() con
aTmpDate.GetYear(), true );
seqValue[k] = aDateTime;
}
- aPropertiesSeq[i].Value <<= makeAny( seqValue );
+ aPropertiesSeq[i].Value = makeAny( seqValue );
}
else
{
@@ -2614,7 +2614,7 @@ Sequence< document::CmisProperty > CmisPropertiesWindow::GetCmisProperties() con
OUString sValue( (*it)->m_aValueEdit->GetText() );
seqValue[k] = sValue;
}
- aPropertiesSeq[i].Value <<= makeAny( seqValue );
+ aPropertiesSeq[i].Value = makeAny( seqValue );
}
}
}
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index b24472d61694..b4a79d7eb005 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -1046,7 +1046,7 @@ FileDialogHelper_Impl::FileDialogHelper_Impl(
{
aInitArguments[0] <<= nTemplateDescription;
if ( mpPreferredParentWindow )
- aInitArguments[1] <<= makeAny( VCLUnoHelper::GetInterface( mpPreferredParentWindow ) );
+ aInitArguments[1] = makeAny( VCLUnoHelper::GetInterface( mpPreferredParentWindow ) );
}
else
{