diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | e624c13cf1732f42d2da212b1b96aa9de7dd66cf (patch) | |
tree | 21c7329ecb7f79fed159a063c980277d9c1e2878 /svtools/source/misc | |
parent | d58e542d7df3f761047b0e5f9a5917901b4579d1 (diff) |
loplugin: defaultparams
Change-Id: I9dc3b21e1bf1bccbe9fb69e35b3801814a68e53f
Diffstat (limited to 'svtools/source/misc')
-rw-r--r-- | svtools/source/misc/embedtransfer.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/langtab.cxx | 4 | ||||
-rw-r--r-- | svtools/source/misc/templatefoldercache.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/misc/embedtransfer.cxx b/svtools/source/misc/embedtransfer.cxx index 2bff133bfcbf..31227b414458 100644 --- a/svtools/source/misc/embedtransfer.cxx +++ b/svtools/source/misc/embedtransfer.cxx @@ -105,7 +105,7 @@ bool SvEmbedTransferHelper::GetData( const css::datatransfer::DataFlavor& rFlavo // TODO/LATER: Propbably the graphic should be copied here as well // currently it is handled by the applications utl::TempFile aTmp; - aTmp.EnableKillingFile( true ); + aTmp.EnableKillingFile(); uno::Reference < embed::XEmbedPersist > xPers( m_xObj, uno::UNO_QUERY ); if ( xPers.is() ) { diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx index 7f9fdee29ead..fc8c7b8bcfdd 100644 --- a/svtools/source/misc/langtab.cxx +++ b/svtools/source/misc/langtab.cxx @@ -137,7 +137,7 @@ SvtLanguageTableImpl::~SvtLanguageTableImpl() bool SvtLanguageTableImpl::HasType( const LanguageType eType ) const { - LanguageType eLang = MsLangId::getReplacementForObsoleteLanguage( eType, false); + LanguageType eLang = MsLangId::getReplacementForObsoleteLanguage( eType ); sal_uInt32 nPos = FindIndex( eLang ); return RESARRAY_INDEX_NOTFOUND != nPos && nPos < Count(); @@ -174,7 +174,7 @@ const OUString SvtLanguageTableImpl::GetString( const LanguageType eType, bool b OUString SvtLanguageTable::GetLanguageString( const LanguageType eType ) { - return theLanguageTable::get().GetString( eType, false ); + return theLanguageTable::get().GetString( eType ); } OUString SvtLanguageTable::GetLanguageString( const LanguageType eType, bool bUserInterfaceSelection ) diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx index 7aa342403081..4d7d9bec26d1 100644 --- a/svtools/source/misc/templatefoldercache.cxx +++ b/svtools/source/misc/templatefoldercache.cxx @@ -596,7 +596,7 @@ namespace svt Reference< XDynamicResultSet > xDynResultSet; ::ucbhelper::Content aTemplateRoot( _rxRoot->getURL(), Reference< XCommandEnvironment >(), comphelper::getProcessComponentContext() ); - xDynResultSet = aTemplateRoot.createDynamicCursor( aContentProperties, ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS ); + xDynResultSet = aTemplateRoot.createDynamicCursor( aContentProperties ); if ( xDynResultSet.is() ) xResultSet = xDynResultSet->getStaticResultSet(); } |