diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-26 11:08:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:53 +0100 |
commit | 76b7acf0d25b257ef70dad9b3ecdde3434ca6b78 (patch) | |
tree | bf408b83d76223734727d58359fd2581cafcca1c /cui/source/inc | |
parent | ce8b87b0eb525acfeeb6b2ea3a5f4a499a7f9605 (diff) |
merge SvxCharacterMap and SvxCharMapData together
Change-Id: I417ce219924987f584cabf9ed8098607d6e5973c
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/cuicharmap.hxx | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/cui/source/inc/cuicharmap.hxx b/cui/source/inc/cuicharmap.hxx index 0b6b60f2ec1d..f9628f1dc2ed 100644 --- a/cui/source/inc/cuicharmap.hxx +++ b/cui/source/inc/cuicharmap.hxx @@ -37,7 +37,6 @@ #include <svx/charmap.hxx> class SubsetMap; -class SvxCharMapData; #define CHARMAP_MAXLEN 32 @@ -66,16 +65,13 @@ private: }; -class SvxCharMapData +/** The main purpose of this dialog is to enable the use of characters + that are not easily accesible from the keyboard. */ +class SvxCharacterMap : public SfxModalDialog { -public: - SvxCharMapData( class SfxModalDialog* pDialog, sal_Bool bOne_, ResMgr* pResContext ); - - void SetCharFont( const Font& rFont ); - private: -friend class SvxCharacterMap; - SfxModalDialog* mpDialog; + + void init(); SvxShowCharSet aShowSet; SvxShowText aShowText; @@ -91,7 +87,7 @@ friend class SvxCharacterMap; SvxShowText aShowChar; FixedText aCharCodeText; Font aFont; - sal_Bool bOne; + sal_Bool bOne; const SubsetMap* pSubsetMap; DECL_LINK(OKHdl, void *); @@ -102,14 +98,6 @@ friend class SvxCharacterMap; DECL_LINK(CharHighlightHdl, void *); DECL_LINK(CharPreSelectHdl, void *); DECL_LINK(DeleteHdl, void *); -}; - -/** The main purpose of this dialog is to enable the use of characters - that are not easily accesible from the keyboard. */ -class SvxCharacterMap : public SfxModalDialog -{ -private: - SvxCharMapData* mpCharMapData; public: SvxCharacterMap( Window* pParent, sal_Bool bOne=sal_True, const SfxItemSet* pSet=0 ); |