diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-02-25 16:28:25 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-02-25 16:28:25 +0000 |
commit | 44e277d24579360f236940db57e2fcebae7bb42b (patch) | |
tree | dcb78740be7b9a895dc2f5741bc0c62475da60c5 /sfx2/source | |
parent | 222fb1ad62ddfd323d6569706c1b745a6995e592 (diff) |
INTEGRATION: CWS supdremove02 (1.35.104); FILE MERGED
2008/01/21 12:56:01 rt 1.35.104.1: #i83674# Remove obsolete code.
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/about.cxx | 85 |
1 files changed, 2 insertions, 83 deletions
diff --git a/sfx2/source/dialog/about.cxx b/sfx2/source/dialog/about.cxx index 7d15960c66d9..167eb2a266c5 100644 --- a/sfx2/source/dialog/about.cxx +++ b/sfx2/source/dialog/about.cxx @@ -4,9 +4,9 @@ * * $RCSfile: about.cxx,v $ * - * $Revision: 1.35 $ + * $Revision: 1.36 $ * - * last change: $Author: vg $ $Date: 2007-09-20 16:37:00 $ + * last change: $Author: obo $ $Date: 2008-02-25 17:28:25 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -295,14 +295,12 @@ AboutDialog::AboutDialog( Window* pParent, const ResId& rId, const String& rVerS sCopyright.SearchAndReplaceAll(sSO, sProduct); } -#if SUPD == 680 String sNewYear( DEFINE_CONST_UNICODE("2005") ); xub_StrLen nIdx = sCopyright.SearchAndReplace( DEFINE_CONST_UNICODE("2002"), sNewYear ); if ( STRING_NOTFOUND == nIdx ) nIdx = sCopyright.SearchAndReplace( DEFINE_CONST_UNICODE("2003"), sNewYear ); if ( STRING_NOTFOUND == nIdx ) nIdx = sCopyright.SearchAndReplace( DEFINE_CONST_UNICODE("2004"), sNewYear ); -#endif aCopyrightText.SetText( sCopyright ); } @@ -381,72 +379,6 @@ BOOL AboutDialog::Close() // ----------------------------------------------------------------------- -#if SUPD == 645 -struct ExtraDeveloper_Impl -{ - char* _pName; - long _nValue; -}; -static ExtraDeveloper_Impl Developer_Impl[] = -{ - { "", 0 }, - { "S t a r O f f i c e C h i n a T e a m", 8 }, - { "", 0 }, - { "William Wan", 0 }, - { "", 0 }, - { "Binary Filter Stripping Project", 8 }, - { "", 0 }, - { "Gary Yang", 0 }, - { "James Meng", 0 }, - { "Minna Wu", 0 }, - { "", 0 }, - { "XML Security Project", 8 }, - { "", 0 }, - { "Michael Mi", 0 }, - { "Andrew Fan", 0 }, - { "Keanu Duan", 0 }, - { "Stone Xiang", 0 }, - { "", 0 }, - { "XSLT Transformation", 8 }, - { "", 0 }, - { "Gavin Lu", 0 }, - { "Tom Chen", 0 }, - { "", 0 }, - { "Evolution Address Book Intergration", 8 }, - { "", 0 }, - { "Berry Jia", 0 }, - { "Gilbert Fang", 0 }, - { "Wind Li", 0 }, - { "", 0 }, - { "SI - OSL", 8 }, - { "", 0 }, - { "Gorden Lin", 0 }, - { "", 0 }, - { "SDK", 8 }, - { "", 0 }, - { "Robert Chen", 0 }, - { "", 0 }, - { "QADEV", 8 }, - { "", 0 }, - { "Mia Xia", 0 }, - { "Mindy Liu", 0 }, - { "", 0 }, - { "QA", 8 }, - { "", 0 }, - { "Hercule Li", 0 }, - { "", 0 }, - { "Release Engineering", 8 }, - { "", 0 }, - { "Tin Tian", 0 }, - { "", 0 }, - { "StarOffice BD", 8 }, - { "", 0 }, - { "Sophia Zhang", 0 }, - { "Xiaoyan Tian", 0 }, - { "", 0 } -}; -#endif - void AboutDialog::Paint( const Rectangle& rRect ) { if ( bNormal ) // not in scroll mode @@ -539,11 +471,6 @@ void AboutDialog::Paint( const Rectangle& rRect ) USHORT nDevCnt = static_cast< USHORT >( aDeveloperAry.Count() ); USHORT nCount = nDevCnt; -#if SUPD == 645 - int nExtra = sizeof(Developer_Impl) / sizeof(ExtraDeveloper_Impl); - nCount += nExtra; -#endif - if ( nCount ) { for ( USHORT i = 0; i < nCount; ++i ) @@ -556,14 +483,6 @@ void AboutDialog::Paint( const Rectangle& rRect ) aStr = aDeveloperAry.GetString(i); nVal = aDeveloperAry.GetValue(i); } -#if SUPD == 645 - else - { - USHORT nDev = i - nDevCnt; - aStr = String::CreateFromAscii( Developer_Impl[nDev]._pName ); - nVal = Developer_Impl[nDev]._nValue; - } -#endif aSize = Size( GetTextWidth( aStr ), GetTextHeight() ); aPnt = Point( nW - ( aSize.Width() / 2 ), nPos ); |