diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-30 23:08:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:07:28 +0200 |
commit | 7d72ddb93b18b262757a28b2f3e9bc920d8fcd04 (patch) | |
tree | f741b35768f40d9f250953015d27ea21f714b661 /sdext | |
parent | 82ce03deac42581b89838f8b496e3decbe68426a (diff) |
StyleAssociationContainer::ProcessStyleAssociation rReadContext unused
...ever since the code's introduction with
405451ce720564a936341ca24868a8ba1138ea5f "INTEGRATION: CWS presenterview"
Change-Id: I150803e64c44046cbec1e268d04ad510b17fb295
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterTheme.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx index 85e03fdf466d..412c2c9e8f3e 100644 --- a/sdext/source/presenter/PresenterTheme.cxx +++ b/sdext/source/presenter/PresenterTheme.cxx @@ -205,7 +205,6 @@ class StyleAssociationContainer { public: void Read ( - ReadContext& rReadContext, const Reference<container::XHierarchicalNameAccess>& rThemeRoot); OUString GetStyleName (const OUString& rsResourceName) const; @@ -215,7 +214,6 @@ private: StyleAssociations maStyleAssociations; void ProcessStyleAssociation( - ReadContext& rReadContext, const ::std::vector<css::uno::Any>& rValues); }; @@ -610,7 +608,7 @@ void PresenterTheme::Theme::Read ( SharedBitmapDescriptor()); // Style associations. - maStyleAssociations.Read(rReadContext, mxThemeRoot); + maStyleAssociations.Read(mxThemeRoot); // Pane styles. maPaneStyles.Read(rReadContext, mxThemeRoot); @@ -1062,7 +1060,6 @@ PresenterTheme::SharedFontDescriptor ViewStyle::GetFont() const //===== StyleAssociationContainer ============================================= void StyleAssociationContainer::Read ( - ReadContext& rReadContext, const Reference<container::XHierarchicalNameAccess>& rxThemeRoot) { Reference<container::XNameAccess> xStyleAssociationList ( @@ -1078,9 +1075,9 @@ void StyleAssociationContainer::Read ( PresenterConfigurationAccess::ForAll( xStyleAssociationList, aProperties, - [this, &rReadContext] (std::vector<uno::Any> const& rValues) + [this] (std::vector<uno::Any> const& rValues) { - return this->ProcessStyleAssociation(rReadContext, rValues); + return this->ProcessStyleAssociation(rValues); }); } } @@ -1095,11 +1092,8 @@ OUString StyleAssociationContainer::GetStyleName (const OUString& rsResourceName } void StyleAssociationContainer::ProcessStyleAssociation( - ReadContext& rReadContext, const ::std::vector<Any>& rValues) { - (void)rReadContext; - if (rValues.size() != 2) return; |