summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar/CellBorderStyleControl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/sidebar/CellBorderStyleControl.hxx')
-rw-r--r--sc/source/ui/sidebar/CellBorderStyleControl.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/sc/source/ui/sidebar/CellBorderStyleControl.hxx b/sc/source/ui/sidebar/CellBorderStyleControl.hxx
index 38c2710ec2cc..bc37be4880e2 100644
--- a/sc/source/ui/sidebar/CellBorderStyleControl.hxx
+++ b/sc/source/ui/sidebar/CellBorderStyleControl.hxx
@@ -20,17 +20,19 @@
#define INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLBORDERSTYLECONTROL_HXX
#include <vcl/button.hxx>
-#include <vcl/toolbox.hxx>
#include <vcl/fixed.hxx>
+#include <vcl/floatwin.hxx>
+#include <vcl/toolbox.hxx>
-namespace sc { namespace sidebar {
+class SfxDispatcher;
-class CellAppearancePropertyPanel;
+namespace sc { namespace sidebar {
class CellBorderStyleControl : public Control
{
private:
- CellAppearancePropertyPanel& mrCellAppearancePropertyPanel;
+ SfxDispatcher* mpDispatcher;
+ VclPtr<FloatingWindow> mxFloatParent;
VclPtr<ToolBox> maTBBorder1;
VclPtr<ToolBox> maTBBorder2;
VclPtr<ToolBox> maTBBorder3;
@@ -45,7 +47,7 @@ private:
DECL_LINK_TYPED(TB3SelectHdl, ToolBox *, void);
public:
- CellBorderStyleControl(vcl::Window* pParent, CellAppearancePropertyPanel& rPanel);
+ CellBorderStyleControl(FloatingWindow* pParent, SfxDispatcher* pDispatcher);
virtual ~CellBorderStyleControl() override;
virtual void dispose() override;
};