diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-06-27 15:26:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-06-29 11:57:20 +0200 |
commit | 589134377d5d8e496454e4df08d1065abffdbbf3 (patch) | |
tree | f49d571a907d50709851e5b65a6c7b479fde7b44 /sdext | |
parent | c3b1033db7f71011b0d0399dd66f8fe5bd441410 (diff) |
loplugin:constantparam
Change-Id: I54f0e2864cb4ef00fea8f9e4369a1f76721e7503
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97369
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterTheme.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx index be91008280cc..66843fa45dc4 100644 --- a/sdext/source/presenter/PresenterTheme.cxx +++ b/sdext/source/presenter/PresenterTheme.cxx @@ -95,7 +95,6 @@ public: */ static PresenterTheme::SharedFontDescriptor ReadFont ( const css::uno::Reference<css::container::XHierarchicalNameAccess>& rxTheme, - const OUString& rsFontPath, const PresenterTheme::SharedFontDescriptor& rpDefault); static PresenterTheme::SharedFontDescriptor ReadFont ( const Reference<beans::XPropertySet>& rxFontProperties, @@ -314,7 +313,7 @@ PresenterTheme::SharedFontDescriptor PresenterTheme::ReadFont ( const Reference<container::XHierarchicalNameAccess>& rxNode, const PresenterTheme::SharedFontDescriptor& rpDefault) { - return ReadContext::ReadFont(rxNode, OUString(), rpDefault); + return ReadContext::ReadFont(rxNode, rpDefault); } bool PresenterTheme::ConvertToColor ( @@ -670,7 +669,6 @@ ReadContext::ReadContext ( PresenterTheme::SharedFontDescriptor ReadContext::ReadFont ( const Reference<container::XHierarchicalNameAccess>& rxNode, - const OUString& rsFontPath, const PresenterTheme::SharedFontDescriptor& rpDefault) { if ( ! rxNode.is()) @@ -681,7 +679,7 @@ PresenterTheme::SharedFontDescriptor ReadContext::ReadFont ( Reference<container::XHierarchicalNameAccess> xFont ( PresenterConfigurationAccess::GetConfigurationNode( rxNode, - rsFontPath), + /*rsFontPath*/""), UNO_QUERY_THROW); Reference<beans::XPropertySet> xProperties (xFont, UNO_QUERY_THROW); @@ -845,7 +843,7 @@ void PaneStyleContainer::ProcessPaneStyle( Reference<container::XHierarchicalNameAccess> xFontNode (rValues[2], UNO_QUERY); pStyle->mpFont = ReadContext::ReadFont( - xFontNode, "", PresenterTheme::SharedFontDescriptor()); + xFontNode, PresenterTheme::SharedFontDescriptor()); Reference<container::XNameAccess> xInnerBorderSizeNode (rValues[3], UNO_QUERY); pStyle->maInnerBorderSize = ReadContext::ReadBorderSize(xInnerBorderSizeNode); @@ -967,7 +965,7 @@ void ViewStyleContainer::ProcessViewStyle( Reference<container::XHierarchicalNameAccess> xFontNode ( PresenterConfigurationAccess::GetProperty(rxProperties, "Font"), UNO_QUERY); PresenterTheme::SharedFontDescriptor pFont ( - ReadContext::ReadFont(xFontNode, "", PresenterTheme::SharedFontDescriptor())); + ReadContext::ReadFont(xFontNode, PresenterTheme::SharedFontDescriptor())); if (pFont) pStyle->mpFont = pFont; |