diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-16 15:43:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-17 10:28:09 +0000 |
commit | ce66911720b3245b21fb14bb83619c42610e5ac6 (patch) | |
tree | 5218fadfce07d451f3c5d514d9068bfe8a9eeb16 /sfx2 | |
parent | 07da25064f75cdf7163669f9bf860a9ee2f8b33c (diff) |
loplugin:constantparam in svtools
Change-Id: I1a3c4a36e29a6712c589ffd3aaada593880d978d
Reviewed-on: https://gerrit.libreoffice.org/23304
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/bastyp/sfxhtml.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx index 6d3c57479e25..3c38b4e1bd13 100644 --- a/sfx2/source/bastyp/sfxhtml.cxx +++ b/sfx2/source/bastyp/sfxhtml.cxx @@ -136,7 +136,7 @@ bool SfxHTMLParser::ParseAreaOptions(ImageMap * pImageMap, const OUString& rBase rOption.GetEnum( nShape, aAreaShapeOptEnums ); break; case HTML_O_COORDS: - rOption.GetNumbers( aCoords, true ); + rOption.GetNumbers( aCoords ); break; case HTML_O_HREF: aHRef = INetURLObject::GetAbsURL( rBaseURL, rOption.GetString() ); diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 97ed49b0890f..9b906c9b96b6 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -360,8 +360,7 @@ void SAL_CALL SfxOfficeDispatch::dispatch( const css::util::URL& aURL, const css // user selects a menu entry than they may get only one notification that // a JRE is not selected. css::uno::ContextLayer layer( - new svt::JavaContext( css::uno::getCurrentContext(), - true) ); + new svt::JavaContext( css::uno::getCurrentContext() ) ); #endif pControllerItem->dispatch( aURL, aArgs, css::uno::Reference < css::frame::XDispatchResultListener >() ); } @@ -376,7 +375,7 @@ void SAL_CALL SfxOfficeDispatch::dispatchWithNotification( const css::util::URL& { #if HAVE_FEATURE_JAVA // see comment for SfxOfficeDispatch::dispatch - css::uno::ContextLayer layer( new svt::JavaContext( css::uno::getCurrentContext(), true) ); + css::uno::ContextLayer layer( new svt::JavaContext( css::uno::getCurrentContext() ) ); #endif pControllerItem->dispatch( aURL, aArgs, rListener ); } |