diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-03 13:04:59 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-03 11:39:56 +0000 |
commit | 5adde1bf69828da955f5f8ae8d36a4bd52eee055 (patch) | |
tree | 19b20375684dd8bb328ceb59a7b035ad7d352bd9 /include | |
parent | 83dccbadc2c6caa804039199915d4a8c1f3f2d5a (diff) |
loplugin:unuseddefaultparams various
Change-Id: Ibf8489c957b307156689de4c7cb8440ddd4e4546
Reviewed-on: https://gerrit.libreoffice.org/22852
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/avmedia/mediawindow.hxx | 2 | ||||
-rw-r--r-- | include/canvas/elapsedtime.hxx | 7 | ||||
-rw-r--r-- | include/codemaker/global.hxx | 3 | ||||
-rw-r--r-- | include/i18nlangtag/languagetag.hxx | 18 |
4 files changed, 10 insertions, 20 deletions
diff --git a/include/avmedia/mediawindow.hxx b/include/avmedia/mediawindow.hxx index 301936bbb4c2..e20d740ddf38 100644 --- a/include/avmedia/mediawindow.hxx +++ b/include/avmedia/mediawindow.hxx @@ -106,7 +106,7 @@ namespace avmedia static css::uno::Reference< css::media::XPlayer > createPlayer( const OUString& rURL, const OUString& rReferer, const OUString* pMimeType = nullptr ); static css::uno::Reference< css::graphic::XGraphic > grabFrame( const OUString& rURL, const OUString& rReferer, - const OUString& sMimeType, double fMediaTime = AVMEDIA_FRAMEGRABBER_DEFAULTFRAME ); + const OUString& sMimeType ); static BitmapEx getAudioLogo(); static BitmapEx getEmptyLogo(); diff --git a/include/canvas/elapsedtime.hxx b/include/canvas/elapsedtime.hxx index f1d68ba8527f..7113cff0455e 100644 --- a/include/canvas/elapsedtime.hxx +++ b/include/canvas/elapsedtime.hxx @@ -113,13 +113,8 @@ namespace canvas This value will be added to the current time, i.e. the next call to getElapsedTime() (when performed immediately) will be adjusted by fOffset. - - @param bLimitToLastQueriedTime - Limits the given offset to the time that has been - taken via getElapsedTime() */ - void adjustTimer( double fOffset, - bool bLimitToLastQueriedTime = true ); + void adjustTimer( double fOffset ); /** Holds the current time. diff --git a/include/codemaker/global.hxx b/include/codemaker/global.hxx index 17f6aa0603c1..7fc9ac9be5e2 100644 --- a/include/codemaker/global.hxx +++ b/include/codemaker/global.hxx @@ -82,8 +82,7 @@ private: ::rtl::OString createFileNameFromType(const ::rtl::OString& destination, const ::rtl::OString& type, const ::rtl::OString& postfix, - bool bLowerCase=false, - const ::rtl::OString& prefix=""); + bool bLowerCase=false); bool fileExists(const ::rtl::OString& fileName); bool makeValidTypeFile(const ::rtl::OString& targetFileName, diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx index 0c54bfd6d110..2bbf0331d86f 100644 --- a/include/i18nlangtag/languagetag.hxx +++ b/include/i18nlangtag/languagetag.hxx @@ -239,7 +239,7 @@ public: /** Reset with existing BCP 47 language tag string. See ctor. */ - LanguageTag & reset( const OUString & rBcp47LanguageTag, bool bCanonicalize = false ); + LanguageTag & reset( const OUString & rBcp47LanguageTag ); /** Reset with Locale. */ LanguageTag & reset( const css::lang::Locale & rLocale ); @@ -411,12 +411,10 @@ public: /** Convert MS-LangID to BCP 47 string. - @param bResolveSystem - If TRUE, resolve an empty language tag denoting the system - locale to the real locale used. - If FALSE, return an empty OUString for such a tag. + Resolve an empty language tag denoting the system + locale to the real locale used. */ - static OUString convertToBcp47( LanguageType nLangID, bool bResolveSystem = true ); + static OUString convertToBcp47( LanguageType nLangID ); /** Convert Locale to BCP 47 string. @@ -448,12 +446,10 @@ public: conversion so does not save anything compared to LanguageTag(rBcp47).getLanguageType(bResolveSystem). - @param bResolveSystem - If TRUE, resolve an empty language tag denoting the system - locale to the real locale used. - If FALSE, return LANGUAGE_SYSTEM for such a tag. + Resolve an empty language tag denoting the system + locale to the real locale used. */ - static LanguageType convertToLanguageType( const OUString& rBcp47, bool bResolveSystem = true ); + static LanguageType convertToLanguageType( const OUString& rBcp47 ); /** Convert BCP 47 string to MS-LangID with fallback, convenience method. |