summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/StylePresetsPanel.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-23 13:47:22 +0200
committerNoel Grandin <noel@peralex.com>2015-11-24 08:05:01 +0200
commitc43ee8d54ad44e01d0bba404e719d2b03a73959e (patch)
tree284284eb11fa0986845e63867bcf0e0a89e6b58f /sw/source/uibase/sidebar/StylePresetsPanel.hxx
parentaefcb307c246275fa9001996bd815c73b4ac79b3 (diff)
loplugin:unusedfields in sw/
Change-Id: I3e146c4287df70bbf58443caecfa62453c116ecb
Diffstat (limited to 'sw/source/uibase/sidebar/StylePresetsPanel.hxx')
-rw-r--r--sw/source/uibase/sidebar/StylePresetsPanel.hxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.hxx b/sw/source/uibase/sidebar/StylePresetsPanel.hxx
index 921c056ddbf9..d0ca77567c2e 100644
--- a/sw/source/uibase/sidebar/StylePresetsPanel.hxx
+++ b/sw/source/uibase/sidebar/StylePresetsPanel.hxx
@@ -48,8 +48,7 @@ class StylePresetsPanel : public PanelLayout,
friend class VclPtr<StylePresetsPanel>;
public:
static VclPtr<vcl::Window> Create(vcl::Window* pParent,
- const css::uno::Reference<css::frame::XFrame>& rxFrame,
- SfxBindings* pBindings);
+ const css::uno::Reference<css::frame::XFrame>& rxFrame);
virtual void NotifyItemUpdate(const sal_uInt16 nSId,
const SfxItemState eState,
@@ -59,26 +58,21 @@ public:
private:
struct TemplateEntry
{
- TemplateEntry(OUString& rName, OUString& rURL)
- : maName(rName)
- , maURL(rURL)
+ TemplateEntry(OUString& rURL)
+ : maURL(rURL)
{}
- OUString maName;
OUString maURL;
};
void RefreshList();
StylePresetsPanel(vcl::Window* pParent,
- const css::uno::Reference<css::frame::XFrame>& rxFrame,
- SfxBindings* pBindings);
+ const css::uno::Reference<css::frame::XFrame>& rxFrame);
virtual ~StylePresetsPanel();
virtual void dispose() override;
- SfxBindings* mpBindings;
-
VclPtr<ValueSet> mpValueSet;
std::vector<std::unique_ptr<TemplateEntry>> maTemplateEntries;