summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-30 23:02:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:07:28 +0200
commit82ce03deac42581b89838f8b496e3decbe68426a (patch)
treedf4a90af16293835e6d928a9989dc5eb67c363f2 /sdext
parent64d2019b2cab4a14408be15ef6c245a46a75dcb6 (diff)
PresenterTheme::Theme::ProcessFont rReadContext parameter is unused
...ever since the code's introduction with fdc701b1e152dfce94f880099b8d1a04f36671d6 "INTEGRATION: CWS presenterscreen" Change-Id: I7fd71ccd034b21439b375a8df843c3306a30c6ac
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterTheme.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sdext/source/presenter/PresenterTheme.cxx b/sdext/source/presenter/PresenterTheme.cxx
index f5cc34a28937..85e03fdf466d 100644
--- a/sdext/source/presenter/PresenterTheme.cxx
+++ b/sdext/source/presenter/PresenterTheme.cxx
@@ -249,7 +249,6 @@ public:
private:
void ProcessFont(
- ReadContext& rReadContext,
const OUString& rsKey,
const Reference<beans::XPropertySet>& rxProperties);
};
@@ -637,9 +636,9 @@ void PresenterTheme::Theme::Read (
UNO_QUERY);
PresenterConfigurationAccess::ForAll(
xFontNode,
- [this, &rReadContext] (OUString const& rKey, uno::Reference<beans::XPropertySet> const& xProps)
+ [this] (OUString const& rKey, uno::Reference<beans::XPropertySet> const& xProps)
{
- return this->ProcessFont(rReadContext, rKey, xProps);
+ return this->ProcessFont(rKey, xProps);
});
}
@@ -666,11 +665,9 @@ SharedViewStyle PresenterTheme::Theme::GetViewStyle (const OUString& rsStyleName
}
void PresenterTheme::Theme::ProcessFont(
- ReadContext& rReadContext,
const OUString& rsKey,
const Reference<beans::XPropertySet>& rxProperties)
{
- (void)rReadContext;
maFontContainer[rsKey] = ReadContext::ReadFont(rxProperties, SharedFontDescriptor());
}