summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorFelix Zhang <fezhang@suse.com>2011-11-15 16:57:53 +0800
committerJan Holesovsky <kendy@suse.cz>2011-11-15 14:39:55 +0100
commitd52f57837e302a9ef483e042b58da8b54d266597 (patch)
tree032a95dfe8f7798bef9d0715b4b4bbba1c66c788 /cui
parentd11a82acfd1f529eb399780a1ec2d7a8edb2a40d (diff)
remove obsolete layout macros
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/numfmt.hxx3
-rw-r--r--cui/source/tabpages/numfmt.cxx9
2 files changed, 4 insertions, 8 deletions
diff --git a/cui/source/inc/numfmt.hxx b/cui/source/inc/numfmt.hxx
index 9b5abb4a6709..2d20de4a60ee 100644
--- a/cui/source/inc/numfmt.hxx
+++ b/cui/source/inc/numfmt.hxx
@@ -71,7 +71,6 @@ public:
// -----------------------------------------------------------------------
#include <sfx2/layout.hxx>
-#define LocalizedString String
class SvxNumberFormatTabPage : public SfxTabPage
{
@@ -142,7 +141,7 @@ private:
long nCurFormatHeight;
long nStdFormatY;
long nStdFormatHeight;
- LocalizedString sAutomaticEntry;
+ String sAutomaticEntry;
Window* pLastActivWindow;
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 2adfd5c12867..8c9ec83c2498 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -215,9 +215,6 @@ void SvxNumberPreviewImpl::DataChanged( const DataChangedEvent& rDCEvt )
#define HDL(hdl) LINK( this, SvxNumberFormatTabPage, hdl )
-#define CUI_RES_PLAIN CUI_RES
-#define THIS_CUI_RES CUI_RES
-
SvxNumberFormatTabPage::SvxNumberFormatTabPage( Window* pParent,
const SfxItemSet& rCoreAttrs )
@@ -231,7 +228,7 @@ SvxNumberFormatTabPage::SvxNumberFormatTabPage( Window* pParent,
aFtLanguage ( this, CUI_RES( FT_LANGUAGE ) ),
aLbLanguage ( this, CUI_RES( LB_LANGUAGE ), sal_False ),
aCbSourceFormat ( this, CUI_RES( CB_SOURCEFORMAT ) ),
- aWndPreview ( this, CUI_RES_PLAIN( WND_NUMBER_PREVIEW ) ),
+ aWndPreview ( this, CUI_RES( WND_NUMBER_PREVIEW ) ),
aFlOptions ( this, CUI_RES( FL_OPTIONS ) ),
aFtDecimals ( this, CUI_RES( FT_DECIMALS ) ),
aEdDecimals ( this, CUI_RES( ED_DECIMALS ) ),
@@ -252,7 +249,7 @@ SvxNumberFormatTabPage::SvxNumberFormatTabPage( Window* pParent,
pNumFmtShell ( NULL ),
nInitFormat ( ULONG_MAX ),
- sAutomaticEntry ( THIS_CUI_RES( STR_AUTO_ENTRY)),
+ sAutomaticEntry ( CUI_RES( STR_AUTO_ENTRY)),
pLastActivWindow( NULL )
{
Init_Impl();
@@ -269,7 +266,7 @@ SvxNumberFormatTabPage::~SvxNumberFormatTabPage()
void SvxNumberFormatTabPage::Init_Impl()
{
- ImageList aIconList( CUI_RES_PLAIN ( IL_ICON ) );
+ ImageList aIconList( CUI_RES ( IL_ICON ) );
bNumItemFlag=sal_True;
bOneAreaFlag=sal_False;