summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/optload.hxx
diff options
context:
space:
mode:
authorJack Leigh <leighman@gmx.se>2012-12-07 18:22:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-10 13:35:36 +0000
commit6bf7198ebd12d4ac60f9039a30339867e8a3ce8e (patch)
tree6fee94b955fb8432a0f8dc2af3ff786cc91029ed /sw/source/ui/inc/optload.hxx
parent20778d72fe4c785ebe9039767afa07f35b045541 (diff)
migrate 'Insert Caption' dialog to .ui file
Change-Id: I490c8057f1263f12f50b59c97ca9807138daab5d Reviewed-on: https://gerrit.libreoffice.org/1266 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/ui/inc/optload.hxx')
-rw-r--r--sw/source/ui/inc/optload.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/sw/source/ui/inc/optload.hxx b/sw/source/ui/inc/optload.hxx
index 162bf6e95457..6a709fbe4c49 100644
--- a/sw/source/ui/inc/optload.hxx
+++ b/sw/source/ui/inc/optload.hxx
@@ -98,12 +98,14 @@ public:
class SwCaptionPreview : public Window
{
private:
- String maText;
- Point maDrawPos;
+ String maText;
+ Point maDrawPos;
public:
- SwCaptionPreview( Window* pParent, const ResId& rResId );
- void SetPreviewText( const String& rText );
- virtual void Paint( const Rectangle& rRect );
+ SwCaptionPreview( Window* pParent );
+ SwCaptionPreview( Window* pParent, const ResId& rResId );
+ void Init();
+ void SetPreviewText( const String& rText );
+ virtual void Paint( const Rectangle& rRect );
};
class SwCaptionOptPage : public SfxTabPage