diff options
Diffstat (limited to 'sc/source/ui/inc/PivotLayoutTreeListLabel.hxx')
-rw-r--r-- | sc/source/ui/inc/PivotLayoutTreeListLabel.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx b/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx index 9934dac5d523..ac2ccc0b1a8f 100644 --- a/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx +++ b/sc/source/ui/inc/PivotLayoutTreeListLabel.hxx @@ -21,16 +21,14 @@ private: std::vector<std::unique_ptr<ScItemValue> > maItemValues; SCCOL maDataItem; + DECL_LINK(KeyInputHdl, const KeyEvent&, bool); public: - ScPivotLayoutTreeListLabel(vcl::Window* pParent, WinBits nBits); + ScPivotLayoutTreeListLabel(std::unique_ptr<weld::TreeView> xControl); virtual ~ScPivotLayoutTreeListLabel() override; void FillLabelFields(ScDPLabelDataVector& rLabelVector); ScItemValue* GetItem(SCCOL nColumn); bool IsDataElement(SCCOL nColumn); - -protected: - virtual void InsertEntryForSourceTarget(SvTreeListEntry* pSource, SvTreeListEntry* pTarget) override; - virtual void KeyInput(const KeyEvent& rKeyEvent) override; + virtual void InsertEntryForSourceTarget(weld::TreeView& rSource, int nTarget) override; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |