summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar/CellLineStyleControl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/sidebar/CellLineStyleControl.hxx')
-rw-r--r--sc/source/ui/sidebar/CellLineStyleControl.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/ui/sidebar/CellLineStyleControl.hxx b/sc/source/ui/sidebar/CellLineStyleControl.hxx
index 9e98e686a558..bad5780810a7 100644
--- a/sc/source/ui/sidebar/CellLineStyleControl.hxx
+++ b/sc/source/ui/sidebar/CellLineStyleControl.hxx
@@ -22,14 +22,16 @@
#include <vcl/button.hxx>
#include "CellLineStyleValueSet.hxx"
+class SfxDispatcher;
+
namespace sc { namespace sidebar {
class CellAppearancePropertyPanel;
-
class CellLineStyleControl : public Control
{
private:
- CellAppearancePropertyPanel& mrCellAppearancePropertyPanel;
+ SfxDispatcher* mpDispatcher;
+ VclPtr<FloatingWindow> mxFloatParent;
VclPtr<PushButton> maPushButtonMoreOptions;
VclPtr<CellLineStyleValueSet> maCellLineStyleValueSet;
OUString maStr[CELL_LINE_STYLE_ENTRIES];
@@ -43,7 +45,7 @@ private:
DECL_LINK_TYPED(PBClickHdl, Button*, void);
public:
- CellLineStyleControl(vcl::Window* pParent, CellAppearancePropertyPanel& rPanel);
+ CellLineStyleControl(FloatingWindow* pParent, SfxDispatcher* pDispatcher);
virtual ~CellLineStyleControl() override;
virtual void dispose() override;