summaryrefslogtreecommitdiff
path: root/cui/source/inc/hlmarkwn.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/inc/hlmarkwn.hxx')
-rw-r--r--cui/source/inc/hlmarkwn.hxx16
1 files changed, 10 insertions, 6 deletions
diff --git a/cui/source/inc/hlmarkwn.hxx b/cui/source/inc/hlmarkwn.hxx
index 15633c3817b9..b858f51f54d9 100644
--- a/cui/source/inc/hlmarkwn.hxx
+++ b/cui/source/inc/hlmarkwn.hxx
@@ -42,25 +42,29 @@ private:
SvxHlinkDlgMarkWnd* mpParentWnd;
public:
- SvxHlmarkTreeLBox( Window* pParent, const ResId& rResId );
+ SvxHlmarkTreeLBox(Window* pParent, WinBits nStyle);
+
+ void SetParentWnd(SvxHlinkDlgMarkWnd* pParent)
+ {
+ mpParentWnd = pParent;
+ }
virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE;
+ virtual Size GetOptimalSize() const SAL_OVERRIDE;
};
//# #
//# Window-Class #
//# #
-
-
class SvxHlinkDlgMarkWnd : public ModalDialog //FloatingWindow
{
private:
friend class SvxHlmarkTreeLBox;
- PushButton maBtApply;
- PushButton maBtClose;
- SvxHlmarkTreeLBox maLbTree;
+ PushButton* mpBtApply;
+ PushButton* mpBtClose;
+ SvxHlmarkTreeLBox* mpLbTree;
bool mbUserMoved;