summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-05-06 14:33:18 +0000
committerKurt Zenker <kz@openoffice.org>2008-05-06 14:33:18 +0000
commit6cd1bce9e6802b484e6aad7fd5e34986130e8b70 (patch)
tree1819b1375f5ff269eedf9b268552b36d7b3c4433 /svx
parent3f5a07dd5b9d174c63fdc6c51ca34e23b5abc72d (diff)
INTEGRATION: CWS lcwarnings2 (1.5.334); FILE MERGED
2008/04/17 12:42:13 tl 1.5.334.3: RESYNC: (1.5-1.6); FILE MERGED 2008/03/03 09:35:15 tl 1.5.334.2: #i83458# warning-free code wntmsci11 2008/02/29 14:13:46 tl 1.5.334.1: #i83458# warning free code for wntmsci11
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/chardlg.hxx53
1 files changed, 30 insertions, 23 deletions
diff --git a/svx/source/dialog/chardlg.hxx b/svx/source/dialog/chardlg.hxx
index c47948cad05f..763cefa0cf47 100644
--- a/svx/source/dialog/chardlg.hxx
+++ b/svx/source/dialog/chardlg.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: chardlg.hxx,v $
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
* This file is part of OpenOffice.org.
*
@@ -68,8 +68,6 @@ protected:
USHORT nResIdPrewievWin, USHORT nResIdFontTypeFT );
virtual ~SvxCharBasePage();
- virtual void ActivatePage( const SfxItemSet& rSet );
-
void SetPrevFontSize( const SfxItemSet& rSet, USHORT nSlot, SvxFont& rFont );
void SetPrevFont( const SfxItemSet& rSet, USHORT nSlot, SvxFont& rFont );
void SetPrevFontStyle( const SfxItemSet& rSet, USHORT nSlotPosture, USHORT nSlotWeight, SvxFont& rFont ); // posture/weight
@@ -81,8 +79,12 @@ protected:
inline SvxFont& GetPreviewCJKFont();
inline SvxFont& GetPreviewCTLFont();
- using TabPage::ActivatePage;
- using TabPage::DeactivatePage;
+public:
+ using SfxTabPage::ActivatePage;
+ using SfxTabPage::DeactivatePage;
+
+ virtual void ActivatePage( const SfxItemSet& rSet );
+// virtual int DeactivatePage( SfxItemSet* pSet = 0 );
};
@@ -92,6 +94,7 @@ struct SvxCharNamePage_Impl;
class SvxCharNamePage : public SvxCharBasePage
{
+
private:
FixedLine* m_pWestLine;
FixedText* m_pWestFontNameFT;
@@ -161,16 +164,16 @@ private:
DECL_LINK( FontModifyHdl_Impl, void* );
DECL_LINK( ColorBoxSelectHdl_Impl, ColorListBox* );
-protected:
+public:
+ using SfxTabPage::ActivatePage;
+ using SfxTabPage::DeactivatePage;
+
virtual void ActivatePage( const SfxItemSet& rSet );
virtual int DeactivatePage( SfxItemSet* pSet = 0 );
public:
~SvxCharNamePage();
- virtual void DeactivatePage();
- virtual void ActivatePage();
-
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet );
static USHORT* GetRanges();
@@ -184,14 +187,13 @@ public:
void SetPreviewBackgroundToCharacter();
void DisableControls( USHORT nDisable );
- virtual void PageCreated (SfxAllItemSet aSet); //add CHINA001
+ virtual void PageCreated (SfxAllItemSet aSet);
};
// class SvxCharEffectsPage ----------------------------------------------
class SvxCharEffectsPage : public SvxCharBasePage
{
- using TabPage::DeactivatePage;
private:
FixedText m_aUnderlineFT;
@@ -239,7 +241,11 @@ private:
DECL_LINK( UpdatePreview_Impl, ListBox* );
DECL_LINK( ColorBoxSelectHdl_Impl, ColorListBox* );
-protected:
+public:
+// using SfxTabPage::ActivatePage;
+ using SfxTabPage::DeactivatePage;
+
+// virtual void ActivatePage( const SfxItemSet& rSet );
virtual int DeactivatePage( SfxItemSet* pSet = 0 );
public:
@@ -253,13 +259,14 @@ public:
void EnableFlash();
// the writer uses SID_ATTR_BRUSH as font background
void SetPreviewBackgroundToCharacter();
- virtual void PageCreated (SfxAllItemSet aSet); //add CHINA001
+ virtual void PageCreated (SfxAllItemSet aSet);
};
// class SvxCharPositionPage ---------------------------------------------
class SvxCharPositionPage : public SvxCharBasePage
{
+
private:
FixedLine m_aPositionLine;
RadioButton m_aHighPosBtn;
@@ -311,7 +318,10 @@ private:
DECL_LINK( LoseFocusHdl_Impl, MetricField* );
DECL_LINK( ScaleWidthModifyHdl_Impl, MetricField* );
-protected:
+public:
+ using SfxTabPage::ActivatePage;
+ using SfxTabPage::DeactivatePage;
+
virtual int DeactivatePage( SfxItemSet* pSet = 0 );
virtual void ActivatePage( const SfxItemSet& rSet );
@@ -324,10 +334,7 @@ public:
virtual void FillUserData();
// the writer uses SID_ATTR_BRUSH as font background
void SetPreviewBackgroundToCharacter();
- virtual void PageCreated (SfxAllItemSet aSet); //add CHINA001
-
- virtual void DeactivatePage();
- virtual void ActivatePage();
+ virtual void PageCreated (SfxAllItemSet aSet);
};
// class SvxCharTwoLinesPage ---------------------------------------------
@@ -357,7 +364,10 @@ private:
DECL_LINK( TwoLinesHdl_Impl, CheckBox* );
DECL_LINK( CharacterMapHdl_Impl, ListBox* );
-protected:
+public:
+ using SfxTabPage::ActivatePage;
+ using SfxTabPage::DeactivatePage;
+
virtual void ActivatePage( const SfxItemSet& rSet );
virtual int DeactivatePage( SfxItemSet* pSet = 0 );
@@ -369,10 +379,7 @@ public:
virtual BOOL FillItemSet( SfxItemSet& rSet );
// the writer uses SID_ATTR_BRUSH as font background
void SetPreviewBackgroundToCharacter();
- virtual void PageCreated (SfxAllItemSet aSet); //add CHINA001
-
- virtual void DeactivatePage();
- virtual void ActivatePage();
+ virtual void PageCreated (SfxAllItemSet aSet);
};
#endif // #ifndef _SVX_CHARDLG_HXX