summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-24 11:22:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-28 10:17:47 +0000
commit198c41c4fe8be4ce8a6ddab43ae0c5f17a4889ac (patch)
tree041d55126e9770b81f68fadfaaa69e82313786b3 /unotools/source
parentd3981b3e8c021ee03a2ca7103a73e56cca18df81 (diff)
new loplugin unoany
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89 Reviewed-on: https://gerrit.libreoffice.org/34714 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/source')
-rw-r--r--unotools/source/config/lingucfg.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx
index 95f64c1a922f..77e46b7881b0 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -673,14 +673,14 @@ bool SvtLinguConfigItem::SaveOptions( const uno::Sequence< OUString > &rProperyN
const SvtLinguOptions &rOpt = aOpt;
OUString aTmp( lcl_LanguageToCfgLocaleStr( rOpt.nDefaultLanguage ) );
- *pValue++ = uno::makeAny( aTmp ); // 0
- *pValue++ = uno::makeAny( rOpt.aActiveDics ); // 1
+ *pValue++ <<= aTmp; // 0
+ *pValue++ <<= rOpt.aActiveDics; // 1
*pValue++ <<= rOpt.bIsUseDictionaryList; // 2
*pValue++ <<= rOpt.bIsIgnoreControlCharacters; // 3
aTmp = lcl_LanguageToCfgLocaleStr( rOpt.nDefaultLanguage_CJK );
- *pValue++ = uno::makeAny( aTmp ); // 5
+ *pValue++ <<= aTmp; // 5
aTmp = lcl_LanguageToCfgLocaleStr( rOpt.nDefaultLanguage_CTL );
- *pValue++ = uno::makeAny( aTmp ); // 6
+ *pValue++ <<= aTmp; // 6
*pValue++ <<= rOpt.bIsSpellUpperCase; // 7
*pValue++ <<= rOpt.bIsSpellWithDigits; // 8
@@ -695,7 +695,7 @@ bool SvtLinguConfigItem::SaveOptions( const uno::Sequence< OUString > &rProperyN
*pValue++ <<= rOpt.bIsHyphSpecial; // 18
*pValue++ <<= rOpt.bIsHyphAuto; // 19
- *pValue++ = uno::makeAny( rOpt.aActiveConvDics ); // 20
+ *pValue++ <<= rOpt.aActiveConvDics; // 20
*pValue++ <<= rOpt.bIsIgnorePostPositionalWord; // 21
*pValue++ <<= rOpt.bIsAutoCloseDialog; // 22
@@ -1055,7 +1055,7 @@ uno::Reference< util::XChangesBatch > const & SvtLinguConfig::GetMainUpdateAcces
// get configuration update access
beans::PropertyValue aValue;
aValue.Name = "nodepath";
- aValue.Value = uno::makeAny(OUString("org.openoffice.Office.Linguistic"));
+ aValue.Value <<= OUString("org.openoffice.Office.Linguistic");
uno::Sequence< uno::Any > aProps(1);
aProps[0] <<= aValue;
m_xMainUpdateAccess.set(