diff options
Diffstat (limited to 'sw/source/ui/fldui/flddinf.cxx')
-rw-r--r-- | sw/source/ui/fldui/flddinf.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sw/source/ui/fldui/flddinf.cxx b/sw/source/ui/fldui/flddinf.cxx index 95acf983bc5d..ec80dc058431 100644 --- a/sw/source/ui/fldui/flddinf.cxx +++ b/sw/source/ui/fldui/flddinf.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -66,13 +66,13 @@ using namespace com::sun::star; SwFldDokInfPage::SwFldDokInfPage(Window* pWindow, const SfxItemSet& rCoreSet ) : SwFldPage( pWindow, SW_RES( TP_FLD_DOKINF ), rCoreSet ), - aTypeFT (this, SW_RES(FT_DOKINFTYPE)), - aTypeTLB (this, SW_RES(TLB_DOKINFTYPE)), + aTypeFT (this, SW_RES(FT_DOKINFTYPE)), + aTypeTLB (this, SW_RES(TLB_DOKINFTYPE)), aSelectionFT(this, SW_RES(FT_DOKINFSELECTION)), aSelectionLB(this, SW_RES(LB_DOKINFSELECTION)), - aFormatFT (this, SW_RES(FT_DOKINFFORMAT)), - aFormatLB (this, SW_RES(LB_DOKINFFORMAT)), - aFixedCB (this, SW_RES(CB_DOKINFFIXEDCONTENT)), + aFormatFT (this, SW_RES(FT_DOKINFFORMAT)), + aFormatLB (this, SW_RES(LB_DOKINFFORMAT)), + aFixedCB (this, SW_RES(CB_DOKINFFIXEDCONTENT)), pSelEntry (0), aInfoStr (SW_RES(STR_DOKINF_INFO)) @@ -101,7 +101,7 @@ __EXPORT SwFldDokInfPage::~SwFldDokInfPage() void __EXPORT SwFldDokInfPage::Reset(const SfxItemSet& ) { - Init(); // Allgemeine initialisierung + Init(); // Allgemeine initialisierung // TypeListBox initialisieren aTypeTLB.SetUpdateMode(FALSE); @@ -262,7 +262,7 @@ IMPL_LINK( SwFldDokInfPage, SubTypeHdl, ListBox *, EMPTYARG ) aFormatFT.Enable(FALSE); if( nSubType == DI_CUSTOM ) { - //find out which type the custom field has - for a start set to DATE format + //find out which type the custom field has - for a start set to DATE format ::rtl::OUString sName = aTypeTLB.GetEntryText(pSelEntry); try { @@ -283,7 +283,7 @@ IMPL_LINK( SwFldDokInfPage, SubTypeHdl, ListBox *, EMPTYARG ) } catch( const uno::Exception& ) { - } + } } else return 0; @@ -356,7 +356,7 @@ IMPL_LINK( SwFldDokInfPage, SubTypeHdl, ListBox *, EMPTYARG ) if (nNewType == NUMBERFORMAT_DATE) nFormat = pFormatter->GetFormatIndex( NF_DATE_SYSTEM_SHORT, eLang); else if (nNewType == NUMBERFORMAT_TIME) - nFormat = pFormatter->GetFormatIndex( NF_TIME_HHMM, eLang); + nFormat = pFormatter->GetFormatIndex( NF_TIME_HHMM, eLang); } } aFormatLB.SetDefFormat(nFormat); @@ -386,7 +386,7 @@ USHORT SwFldDokInfPage::FillSelectionLB(USHORT nSubType) EnableInsert(nSubType != USHRT_MAX); - if (nSubType == USHRT_MAX) // Info-Text + if (nSubType == USHRT_MAX) // Info-Text nSubType = DI_SUBTYPE_BEGIN; aSelectionLB.Clear(); @@ -470,7 +470,7 @@ BOOL __EXPORT SwFldDokInfPage::FillItemSet(SfxItemSet& ) return FALSE; } -SfxTabPage* __EXPORT SwFldDokInfPage::Create( Window* pParent, +SfxTabPage* __EXPORT SwFldDokInfPage::Create( Window* pParent, const SfxItemSet& rAttrSet ) { return ( new SwFldDokInfPage( pParent, rAttrSet ) ); @@ -481,7 +481,7 @@ USHORT SwFldDokInfPage::GetGroup() return GRP_REG; } -void SwFldDokInfPage::FillUserData() +void SwFldDokInfPage::FillUserData() { String sData( String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( USER_DATA_VERSION ))); |