diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-09 12:14:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-09 13:52:30 +0200 |
commit | 12191a4f30078bb81c39a74a994ba7b2b410adaf (patch) | |
tree | 394626ae75e6b77e4159657847f894e4f7c9495b /sdext | |
parent | 3a9854a92923df8013ca832c48aa9f284bcb1adc (diff) |
make loplugin constantparam smarter about string params
Change-Id: Id3df69b38fd35f46735246a6d307a89aa10d4294
Reviewed-on: https://gerrit.libreoffice.org/37426
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterPaneFactory.cxx | 4 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterPaneFactory.hxx | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/sdext/source/presenter/PresenterPaneFactory.cxx b/sdext/source/presenter/PresenterPaneFactory.cxx index 592277ff88b2..e9a5f950557e 100644 --- a/sdext/source/presenter/PresenterPaneFactory.cxx +++ b/sdext/source/presenter/PresenterPaneFactory.cxx @@ -235,7 +235,6 @@ Reference<XResource> PresenterPaneFactory::CreatePane ( { return CreatePane( rxPaneId, - OUString(), xParentPane, rxPaneId->getFullResourceURL().Arguments == "Sprite=1"); } @@ -249,7 +248,6 @@ Reference<XResource> PresenterPaneFactory::CreatePane ( Reference<XResource> PresenterPaneFactory::CreatePane ( const Reference<XResourceId>& rxPaneId, - const OUString& rsTitle, const Reference<drawing::framework::XPane>& rxParentPane, const bool bIsSpritePane) { @@ -276,7 +274,7 @@ Reference<XResource> PresenterPaneFactory::CreatePane ( aArguments[0] <<= rxPaneId; aArguments[1] <<= rxParentPane->getWindow(); aArguments[2] <<= rxParentPane->getCanvas(); - aArguments[3] <<= rsTitle; + aArguments[3] <<= OUString(); aArguments[4] <<= Reference<drawing::framework::XPaneBorderPainter>( static_cast<XWeak*>(mpPresenterController->GetPaneBorderPainter().get()), UNO_QUERY); diff --git a/sdext/source/presenter/PresenterPaneFactory.hxx b/sdext/source/presenter/PresenterPaneFactory.hxx index e1016d39fdfd..39aae51ccf15 100644 --- a/sdext/source/presenter/PresenterPaneFactory.hxx +++ b/sdext/source/presenter/PresenterPaneFactory.hxx @@ -104,7 +104,6 @@ private: const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId); css::uno::Reference<css::drawing::framework::XResource> CreatePane ( const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId, - const OUString& rsTitle, const css::uno::Reference<css::drawing::framework::XPane>& rxParentPane, const bool bIsSpritePane); |