diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-03 21:40:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-04 09:00:05 +0100 |
commit | 04723baf6e87fb8d3c097f41529e388bf48df43c (patch) | |
tree | b9f02835a5fbe5884bce911ae80f9a08686729de | |
parent | f1d4ce6ea51574a0f0a80c4c9ed2ddbc356fbec0 (diff) |
callcatcher: various unused methods
-rw-r--r-- | editeng/inc/editeng/editeng.hxx | 4 | ||||
-rw-r--r-- | editeng/source/editeng/editeng.cxx | 40 | ||||
-rw-r--r-- | linguistic/source/lngopt.cxx | 136 | ||||
-rw-r--r-- | linguistic/source/lngopt.hxx | 4 | ||||
-rw-r--r-- | svl/inc/svl/zforlist.hxx | 4 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 22 | ||||
-rw-r--r-- | svtools/inc/svtools/taskbar.hxx | 2 | ||||
-rw-r--r-- | svtools/source/control/taskbar.cxx | 21 | ||||
-rw-r--r-- | svx/inc/svx/gallery.hxx | 3 | ||||
-rw-r--r-- | svx/source/gallery2/galexpl.cxx | 23 | ||||
-rw-r--r-- | tools/inc/tools/fract.hxx | 1 | ||||
-rw-r--r-- | tools/source/generic/fract.cxx | 45 | ||||
-rw-r--r-- | unusedcode.easy | 15 | ||||
-rw-r--r-- | vcl/inc/vcl/msgbox.hxx | 3 | ||||
-rw-r--r-- | vcl/source/window/msgbox.cxx | 15 |
15 files changed, 0 insertions, 338 deletions
diff --git a/editeng/inc/editeng/editeng.hxx b/editeng/inc/editeng/editeng.hxx index 5ab7c23f4866..0db0464c5506 100644 --- a/editeng/inc/editeng/editeng.hxx +++ b/editeng/inc/editeng/editeng.hxx @@ -227,10 +227,6 @@ public: String GetWord( sal_uInt16 nPara, xub_StrLen nIndex ); ESelection GetWord( const ESelection& rSelection, sal_uInt16 nWordType ) const; - ESelection WordLeft( const ESelection& rSelection, sal_uInt16 nWordType ) const; - ESelection WordRight( const ESelection& rSelection, sal_uInt16 nWordType ) const; - ESelection CursorLeft( const ESelection& rSelection, sal_uInt16 nCharacterIteratorMode ) const; - ESelection CursorRight( const ESelection& rSelection, sal_uInt16 nCharacterIteratorMode ) const; ESelection SelectSentence( const ESelection& rCurSel ) const; void Clear(); diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx index 97cfc74fd1e8..5d745c0d1e70 100644 --- a/editeng/source/editeng/editeng.cxx +++ b/editeng/source/editeng/editeng.cxx @@ -751,46 +751,6 @@ ESelection EditEngine::GetWord( const ESelection& rSelection, sal_uInt16 nWordTy return pE->pImpEditEngine->CreateESel( aSel ); } -ESelection EditEngine::WordLeft( const ESelection& rSelection, sal_uInt16 nWordType ) const -{ - // ImpEditEngine-Iteration-Methods should be const! - EditEngine* pE = (EditEngine*)this; - - EditSelection aSel( pE->pImpEditEngine->CreateSel( rSelection ) ); - aSel = pE->pImpEditEngine->WordLeft( aSel.Min(), nWordType ); - return pE->pImpEditEngine->CreateESel( aSel ); -} - -ESelection EditEngine::WordRight( const ESelection& rSelection, sal_uInt16 nWordType ) const -{ - // ImpEditEngine-Iteration-Methods should be const! - EditEngine* pE = (EditEngine*)this; - - EditSelection aSel( pE->pImpEditEngine->CreateSel( rSelection ) ); - aSel = pE->pImpEditEngine->WordRight( aSel.Max(), nWordType ); - return pE->pImpEditEngine->CreateESel( aSel ); -} - -ESelection EditEngine::CursorLeft( const ESelection& rSelection, sal_uInt16 nCharacterIteratorMode ) const -{ - // ImpEditEngine-Iteration-Methods should be const! - EditEngine* pE = (EditEngine*)this; - - EditSelection aSel( pE->pImpEditEngine->CreateSel( rSelection ) ); - aSel = pE->pImpEditEngine->CursorLeft( aSel.Min(), nCharacterIteratorMode ); - return pE->pImpEditEngine->CreateESel( aSel ); -} - -ESelection EditEngine::CursorRight( const ESelection& rSelection, sal_uInt16 nCharacterIteratorMode ) const -{ - // ImpEditEngine-Iteration-Methods should be const! - EditEngine* pE = (EditEngine*)this; - - EditSelection aSel( pE->pImpEditEngine->CreateSel( rSelection ) ); - aSel = pE->pImpEditEngine->CursorRight( aSel.Max(), nCharacterIteratorMode ); - return pE->pImpEditEngine->CreateESel( aSel ); -} - ESelection EditEngine::SelectSentence( const ESelection& rCurSel ) const { EditEngine* pE = (EditEngine*)this; diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx index b7b2f1546015..047a4ca16dd9 100644 --- a/linguistic/source/lngopt.cxx +++ b/linguistic/source/lngopt.cxx @@ -118,142 +118,6 @@ sal_Bool LinguOptions::SetLocale_Impl( sal_Int16 &rLanguage, Any &rOld, const An return bRes; } - -sal_Bool LinguOptions::SetValue( Any &rOld, const Any &rVal, sal_Int32 nWID ) -{ - MutexGuard aGuard( GetLinguMutex() ); - - sal_Bool bRes = sal_False; - - sal_Int16 *pnVal = 0; - sal_Bool *pbVal = 0; - - switch( nWID ) - { - case WID_IS_GERMAN_PRE_REFORM : /*! deprecated !*/ break; - case WID_IS_USE_DICTIONARY_LIST : pbVal = &pData->bIsUseDictionaryList; break; - case WID_IS_IGNORE_CONTROL_CHARACTERS : pbVal = &pData->bIsIgnoreControlCharacters; break; - case WID_IS_HYPH_AUTO : pbVal = &pData->bIsHyphAuto; break; - case WID_IS_HYPH_SPECIAL : pbVal = &pData->bIsHyphSpecial; break; - case WID_IS_SPELL_AUTO : pbVal = &pData->bIsSpellAuto; break; - case WID_IS_SPELL_HIDE : /*! deprecated !*/ break; - case WID_IS_SPELL_IN_ALL_LANGUAGES :/*! deprecated !*/ break; - case WID_IS_SPELL_SPECIAL : pbVal = &pData->bIsSpellSpecial; break; - case WID_IS_WRAP_REVERSE : pbVal = &pData->bIsSpellReverse; break; - case WID_DEFAULT_LANGUAGE : pnVal = &pData->nDefaultLanguage; break; - case WID_IS_SPELL_CAPITALIZATION : pbVal = &pData->bIsSpellCapitalization; break; - case WID_IS_SPELL_WITH_DIGITS : pbVal = &pData->bIsSpellWithDigits; break; - case WID_IS_SPELL_UPPER_CASE : pbVal = &pData->bIsSpellUpperCase; break; - case WID_HYPH_MIN_LEADING : pnVal = &pData->nHyphMinLeading; break; - case WID_HYPH_MIN_TRAILING : pnVal = &pData->nHyphMinTrailing; break; - case WID_HYPH_MIN_WORD_LENGTH : pnVal = &pData->nHyphMinWordLength; break; - case WID_DEFAULT_LOCALE : - { - bRes = SetLocale_Impl( pData->nDefaultLanguage, rOld, rVal, ::com::sun::star::i18n::ScriptType::LATIN ); - break; - } - case WID_DEFAULT_LOCALE_CJK : - { - bRes = SetLocale_Impl( pData->nDefaultLanguage_CJK, rOld, rVal, ::com::sun::star::i18n::ScriptType::ASIAN ); - break; - } - case WID_DEFAULT_LOCALE_CTL : - { - bRes = SetLocale_Impl( pData->nDefaultLanguage_CTL, rOld, rVal, ::com::sun::star::i18n::ScriptType::COMPLEX ); - break; - } - default : - { - DBG_ASSERT( 0,"lng : unknown WID"); - bRes = sal_False; - } - } - - if (pbVal) - { - sal_Bool bNew = sal_False; - rVal >>= bNew; - if (bNew != *pbVal) - { - rOld <<= *pbVal; - *pbVal = bNew; - bRes = sal_True; - } - } - if (pnVal) - { - sal_Int16 nNew = 0; - rVal >>= nNew; - if (nNew != *pnVal) - { - rOld <<= *pnVal; - *pnVal = nNew; - bRes = sal_True; - } - } - - - return bRes; -} - -void LinguOptions::GetValue( Any &rVal, sal_Int32 nWID ) const -{ - MutexGuard aGuard( GetLinguMutex() ); - - sal_Int16 *pnVal = 0; - sal_Bool *pbVal = 0; - sal_Bool bDummy = sal_False; - - switch( nWID ) - { - case WID_IS_GERMAN_PRE_REFORM : pbVal = &bDummy; /*! deprecated !*/ break; - case WID_IS_USE_DICTIONARY_LIST : pbVal = &pData->bIsUseDictionaryList; break; - case WID_IS_IGNORE_CONTROL_CHARACTERS : pbVal = &pData->bIsIgnoreControlCharacters; break; - case WID_IS_HYPH_AUTO : pbVal = &pData->bIsHyphAuto; break; - case WID_IS_HYPH_SPECIAL : pbVal = &pData->bIsHyphSpecial; break; - case WID_IS_SPELL_AUTO : pbVal = &pData->bIsSpellAuto; break; - case WID_IS_SPELL_HIDE : pbVal = &bDummy; /*! deprecated !*/ break; - case WID_IS_SPELL_IN_ALL_LANGUAGES :pbVal = &bDummy; /*! deprecated !*/ break; - case WID_IS_SPELL_SPECIAL : pbVal = &pData->bIsSpellSpecial; break; - case WID_IS_WRAP_REVERSE : pbVal = &pData->bIsSpellReverse; break; - case WID_DEFAULT_LANGUAGE : pnVal = &pData->nDefaultLanguage; break; - case WID_IS_SPELL_CAPITALIZATION : pbVal = &pData->bIsSpellCapitalization; break; - case WID_IS_SPELL_WITH_DIGITS : pbVal = &pData->bIsSpellWithDigits; break; - case WID_IS_SPELL_UPPER_CASE : pbVal = &pData->bIsSpellUpperCase; break; - case WID_HYPH_MIN_LEADING : pnVal = &pData->nHyphMinLeading; break; - case WID_HYPH_MIN_TRAILING : pnVal = &pData->nHyphMinTrailing; break; - case WID_HYPH_MIN_WORD_LENGTH : pnVal = &pData->nHyphMinWordLength; break; - case WID_DEFAULT_LOCALE : - { - Locale aLocale( MsLangId::convertLanguageToLocale( pData->nDefaultLanguage ) ); - rVal.setValue( &aLocale, ::getCppuType((Locale*)0 )); - break; - } - case WID_DEFAULT_LOCALE_CJK : - { - Locale aLocale( MsLangId::convertLanguageToLocale( pData->nDefaultLanguage_CJK ) ); - rVal.setValue( &aLocale, ::getCppuType((Locale*)0 )); - break; - } - case WID_DEFAULT_LOCALE_CTL : - { - Locale aLocale( MsLangId::convertLanguageToLocale( pData->nDefaultLanguage_CTL ) ); - rVal.setValue( &aLocale, ::getCppuType((Locale*)0 )); - break; - } - default : - { - DBG_ASSERT( 0,"lng : unknown WID"); - } - } - - if (pbVal) - rVal <<= *pbVal; - if (pnVal) - rVal <<= *pnVal; -} - - struct WID_Name { sal_Int32 nWID; diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx index d0e8ae556496..f7d6948daaab 100644 --- a/linguistic/source/lngopt.hxx +++ b/linguistic/source/lngopt.hxx @@ -79,10 +79,6 @@ public: LinguOptions(const LinguOptions &rOpt); ~LinguOptions(); - sal_Bool SetValue( ::com::sun::star::uno::Any &rOld, - const ::com::sun::star::uno::Any &rVal, sal_Int32 nWID ); - void GetValue( ::com::sun::star::uno::Any &rVal, sal_Int32 nWID ) const; - static ::rtl::OUString GetName( sal_Int32 nWID ); const ::com::sun::star::uno::Sequence< rtl::OUString > diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx index c27f7795b745..67a1678fcf9d 100644 --- a/svl/inc/svl/zforlist.hxx +++ b/svl/inc/svl/zforlist.hxx @@ -266,10 +266,6 @@ public: /// Symbols and language identical bool operator==( const NfCurrencyEntry& r ) const; - /// Set this format to be the EURo entry, overwrite other settings - void SetEuro(); - bool IsEuro() const; - /** Apply format information (nPositiveFormat, nNegativeFormat, nDigits, cZeroChar) of another format. */ void ApplyVariableInformation( const NfCurrencyEntry& ); diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 5bbaf8faca14..8ce8eef7a0f8 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -3823,28 +3823,6 @@ bool NfCurrencyEntry::operator==( const NfCurrencyEntry& r ) const ; } - -void NfCurrencyEntry::SetEuro() -{ - aSymbol = NfCurrencyEntry::GetEuroSymbol(); - aBankSymbol.AssignAscii( RTL_CONSTASCII_STRINGPARAM( "EUR" ) ); - eLanguage = LANGUAGE_DONTKNOW; - nPositiveFormat = 3; - nNegativeFormat = 8; - nDigits = 2; - cZeroChar = '0'; -} - - -bool NfCurrencyEntry::IsEuro() const -{ - if ( aBankSymbol.EqualsAscii( "EUR" ) ) - return true; - String aEuro( NfCurrencyEntry::GetEuroSymbol() ); - return aSymbol == aEuro; -} - - void NfCurrencyEntry::ApplyVariableInformation( const NfCurrencyEntry& r ) { nPositiveFormat = r.nPositiveFormat; diff --git a/svtools/inc/svtools/taskbar.hxx b/svtools/inc/svtools/taskbar.hxx index d844c0236a6e..144a6902b124 100644 --- a/svtools/inc/svtools/taskbar.hxx +++ b/svtools/inc/svtools/taskbar.hxx @@ -37,7 +37,6 @@ class TaskBar; class TaskStatusFieldItem; -class ImplTaskBarFloat; struct ImplTaskSBFldItem; struct ImplTaskItem; @@ -335,7 +334,6 @@ public: class SVT_DLLPUBLIC TaskBar : public Window { private: - ImplTaskBarFloat* mpAutoHideBar; TaskButtonBar* mpButtonBar; TaskToolBox* mpTaskToolBox; TaskStatusBar* mpStatusBar; diff --git a/svtools/source/control/taskbar.cxx b/svtools/source/control/taskbar.cxx index a41730c3318b..3d15ae9bc347 100644 --- a/svtools/source/control/taskbar.cxx +++ b/svtools/source/control/taskbar.cxx @@ -36,27 +36,6 @@ #include <svtools/taskbar.hxx> -// ======================================================================= - -class ImplTaskBarFloat : public FloatingWindow -{ -public: - TaskBar* mpTaskBar; - -public: - ImplTaskBarFloat( TaskBar* pTaskBar ); -}; - -// ----------------------------------------------------------------------- - -ImplTaskBarFloat::ImplTaskBarFloat( TaskBar* pTaskBar ) : - FloatingWindow( pTaskBar, 0 ) -{ - mpTaskBar = pTaskBar; -} - -// ======================================================================= - #define TASKBAR_BORDER 2 #define TASKBAR_OFFSIZE 3 #define TASKBAR_OFFX 2 diff --git a/svx/inc/svx/gallery.hxx b/svx/inc/svx/gallery.hxx index bb7b9abbdef6..a04659d5158a 100644 --- a/svx/inc/svx/gallery.hxx +++ b/svx/inc/svx/gallery.hxx @@ -224,7 +224,6 @@ public: INetURLObject GetURL() const; String GetFilterName() const; Graphic GetGraphic() const; - sal_Bool GetVCDrawModel( FmFormModel& rModel ) const; sal_Bool IsLinkage() const; static bool FillThemeList( std::vector<String>& rThemeList ); @@ -255,7 +254,6 @@ public: sal_Bool bProgess = sal_False ); static sal_Bool InsertGraphicObj( const String& rThemeName, const Graphic& rGraphic ); - static sal_Bool InsertGraphicObj( sal_uIntPtr nThemeId, const Graphic& rGraphic ); static sal_uIntPtr GetSdrObjCount( const String& rThemeName ); static sal_uIntPtr GetSdrObjCount( sal_uIntPtr nThemeId ); @@ -266,7 +264,6 @@ public: SdrModel* pModel = NULL, Bitmap* pThumb = NULL ); static sal_Bool InsertSdrObj( const String& rThemeName, FmFormModel& rModel ); - static sal_Bool InsertSdrObj( sal_uIntPtr nThemeId, FmFormModel& rModel ); static sal_Bool BeginLocking( const String& rThemeName ); static sal_Bool BeginLocking( sal_uIntPtr nThemeId ); diff --git a/svx/source/gallery2/galexpl.cxx b/svx/source/gallery2/galexpl.cxx index a813ffe8a15b..d5add09c8ac5 100644 --- a/svx/source/gallery2/galexpl.cxx +++ b/svx/source/gallery2/galexpl.cxx @@ -95,13 +95,6 @@ Graphic GalleryExplorer::GetGraphic() const // ------------------------------------------------------------------------ -sal_Bool GalleryExplorer::GetVCDrawModel( FmFormModel& rModel ) const -{ - return GALLERYBROWSER()->GetVCDrawModel( rModel ); -} - -// ------------------------------------------------------------------------ - sal_Bool GalleryExplorer::IsLinkage() const { return GALLERYBROWSER()->IsLinkage(); @@ -329,14 +322,6 @@ sal_Bool GalleryExplorer::InsertGraphicObj( const String& rThemeName, const Grap // ------------------------------------------------------------------------ -sal_Bool GalleryExplorer::InsertGraphicObj( sal_uIntPtr nThemeId, const Graphic& rGraphic ) -{ - Gallery* pGal = ImplGetGallery(); - return( pGal ? InsertGraphicObj( pGal->GetThemeName( nThemeId ), rGraphic ) : sal_False ); -} - -// ------------------------------------------------------------------------ - sal_uIntPtr GalleryExplorer::GetSdrObjCount( const String& rThemeName ) { Gallery* pGal = ImplGetGallery(); @@ -436,14 +421,6 @@ sal_Bool GalleryExplorer::InsertSdrObj( const String& rThemeName, FmFormModel& r return bRet; } -// ------------------------------------------------------------------------ - -sal_Bool GalleryExplorer::InsertSdrObj( sal_uIntPtr nThemeId, FmFormModel& rModel ) -{ - Gallery* pGal = ImplGetGallery(); - return( pGal ? InsertSdrObj( pGal->GetThemeName( nThemeId ), rModel ) : sal_False ); -} - // ----------------------------------------------------------------------------- sal_Bool GalleryExplorer::BeginLocking( const String& rThemeName ) diff --git a/tools/inc/tools/fract.hxx b/tools/inc/tools/fract.hxx index 1e9f67a50da9..f0fa7e956fda 100644 --- a/tools/inc/tools/fract.hxx +++ b/tools/inc/tools/fract.hxx @@ -46,7 +46,6 @@ public: Fraction() { nNumerator = 0; nDenominator = 1; } Fraction( const Fraction & rFrac ); Fraction( long nNum, long nDen=1 ); - Fraction( long nN1, long nN2, long nD1, long nD2 ); Fraction( double dVal ); bool IsValid() const; diff --git a/tools/source/generic/fract.cxx b/tools/source/generic/fract.cxx index 104662b4ff7b..dfa6fb7da2cb 100644 --- a/tools/source/generic/fract.cxx +++ b/tools/source/generic/fract.cxx @@ -128,51 +128,6 @@ static void Reduce( BigInt &rVal1, BigInt &rVal2 ) |* *************************************************************************/ -Fraction::Fraction( long nN1, long nN2, long nD1, long nD2 ) -{ - long n; - int i = 1; - - if( nN1 < 0 ) { i = -i; nN1 = -nN1; } - if( nN2 < 0 ) { i = -i; nN2 = -nN2; } - if( nD1 < 0 ) { i = -i; nD1 = -nD1; } - if( nD2 < 0 ) { i = -i; nD2 = -nD2; } - - n = GetGGT( nN1, nD1 ); if( n > 1 ) { nN1 /= n; nD1 /= n; } - n = GetGGT( nN1, nD2 ); if( n > 1 ) { nN1 /= n; nD2 /= n; } - n = GetGGT( nN2, nD1 ); if( n > 1 ) { nN2 /= n; nD1 /= n; } - n = GetGGT( nN2, nD2 ); if( n > 1 ) { nN2 /= n; nD2 /= n; } - - BigInt nN( nN1 ); - nN *= BigInt( nN2 ); - - BigInt nD( nD1 ); - nD *= BigInt( nD2 ); - - while ( nN.bIsBig || nD.bIsBig ) - { - BigInt n1 = 1; - BigInt n2 = 2; - - nN += n1; - nN /= n2; - nD += n1; - nD /= n2; - - // Kuerzen ueber Groesste Gemeinsame Teiler - Reduce( nN, nD ); - } - - nNumerator = i * (long)nN; - nDenominator = (long)nD; -} - -/************************************************************************* -|* -|* Fraction::Fraction() -|* -*************************************************************************/ - // Zur Initialisierung eines Bruches wird nNum dem Zaehler und nDen dem // Nenner zugewiesen. Da negative Werte des Nenners einen Bruch als // ungueltig kennzeichnen, wird bei der Eingabe eines negativen Nenners diff --git a/unusedcode.easy b/unusedcode.easy index 751a571c0fb3..7a3b2d951ec4 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -111,8 +111,6 @@ EECharAttribArray::Insert(EECharAttribArray const*, unsigned short, unsigned sho EECharAttribArray::Replace(EECharAttrib const&, unsigned short) EECharAttribArray::Replace(EECharAttrib const*, unsigned short, unsigned short) EECharAttribArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(EECharAttrib const&, void*), void*) -EditEngine::CursorLeft(ESelection const&, unsigned short) const -EditEngine::CursorRight(ESelection const&, unsigned short) const EditEngine::EnablePasteSpecial(unsigned char) EditEngine::EndSpelling() EditEngine::GetAsianCompressionMode() const @@ -138,8 +136,6 @@ EditEngine::SetBigTextObjectStart(unsigned short) EditEngine::SetGroupChars(String const&) EditEngine::SetText(unsigned short, EditTextObject const&) EditEngine::StopSelectionMode() -EditEngine::WordLeft(ESelection const&, unsigned short) const -EditEngine::WordRight(ESelection const&, unsigned short) const EditView::Drop(DropEvent const&) EditView::GetDropPos() EditView::GetSelectionMode() const @@ -178,7 +174,6 @@ FontStyleMenu::Fill(String const&, FontList const*) FontStyleMenu::FontStyleMenu() FormattedField::SetValidateText(String const&, String const*) FormatterBase::SetFieldText(String const&, unsigned char) -Fraction::Fraction(long, long, long, long) GDIMetaFile::CopyAction(unsigned long) const GDIMetaFile::GetActionPos(String const&) GDIMetaFile::GetLabel(unsigned long) @@ -194,9 +189,6 @@ GDIMetaFile::WindEnd() GDIMetaFile::WindNext() GalleryExplorer::DrawCentered(OutputDevice*, FmFormModel const&) GalleryExplorer::GetObjCount(unsigned long) -GalleryExplorer::GetVCDrawModel(FmFormModel&) const -GalleryExplorer::InsertGraphicObj(unsigned long, Graphic const&) -GalleryExplorer::InsertSdrObj(unsigned long, FmFormModel&) GraphCtrl::GraphCtrl(Window*, long) Graphic::Draw(OutputDevice*, String const&, Font&, Bitmap const&, Point const&, Size const&) Graphic::GetGraphicsCompressMode(SvStream&) @@ -237,7 +229,6 @@ ImplImageList::GetImageCount() const ImplListBox::GetEntryFlags(unsigned short) const ImplRegionBand::IsInside(long, long) ImplRegionBand::IsOver(long, long) -ImplTaskBarFloat::ImplTaskBarFloat(TaskBar*) ImplWin::GetModeImage() const ImplWin::SetModeImage(Image const&) IniParser::Dump() @@ -261,8 +252,6 @@ LineListBox::GetEntryDistance(unsigned short) const LineListBox::GetEntryLine1(unsigned short) const LineListBox::GetEntryLine2(unsigned short) const LinguMgr::UpdateAll() -LinguOptions::GetValue(com::sun::star::uno::Any&, int) const -LinguOptions::SetValue(com::sun::star::uno::Any&, com::sun::star::uno::Any const&, int) LinkStructArr::DeleteAndDestroy(unsigned short, unsigned short) LngSvcMgr::RemoveLngSvcEvtBroadcaster(com::sun::star::uno::Reference<com::sun::star::linguistic2::XLinguServiceEventBroadcaster> const&) LocaleDataWrapper::getCollatorImplementations() const @@ -292,10 +281,8 @@ Matrix3d::Inverse() const Matrix3d::Matrix3d() MergeData::~MergeData() MergeDataFile::Dump() -MessBox::GetModeImage() const MessBox::MessBox(unsigned short) MessBox::SetDefaultCheckBoxText() -MessBox::SetModeImage(Image const&) MetaCommentAction::MetaCommentAction(unsigned char const*, unsigned int) MetricBox::RemoveValue(long, FieldUnit) MetricField::ConvertValue(long, unsigned short, FieldUnit, MapUnit) @@ -313,9 +300,7 @@ MultiSelection::PrevSelected() NameNode::IsOrderTree() const NativeNumberWrapper::isValidNatNum(com::sun::star::lang::Locale const&, short) const NfCurrencyEntry::ApplyVariableInformation(NfCurrencyEntry const&) -NfCurrencyEntry::IsEuro() const NfCurrencyEntry::NfCurrencyEntry() -NfCurrencyEntry::SetEuro() NfShCurrencyEntries::DeleteAndDestroy(unsigned short, unsigned short) NotificationSettings::CopyData() NotifyBrokenPackage::isAborted() diff --git a/vcl/inc/vcl/msgbox.hxx b/vcl/inc/vcl/msgbox.hxx index 326dae5616e3..bc8bf8e39bed 100644 --- a/vcl/inc/vcl/msgbox.hxx +++ b/vcl/inc/vcl/msgbox.hxx @@ -100,9 +100,6 @@ public: void SetImage( const Image& rImage ) { maImage = rImage; } const Image& GetImage() const { return maImage; } - sal_Bool SetModeImage( const Image& rImage ); - const Image& GetModeImage( ) const; - void SetDefaultCheckBoxText(); void SetCheckBoxText( const XubString& rText ) { maCheckBoxText = rText;} const XubString& GetCheckBoxText() const { return maCheckBoxText;} diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx index e27cefe6eeb7..bc328326e5c2 100644 --- a/vcl/source/window/msgbox.cxx +++ b/vcl/source/window/msgbox.cxx @@ -459,21 +459,6 @@ void MessBox::SetDefaultCheckBoxText() // ----------------------------------------------------------------------- -sal_Bool MessBox::SetModeImage( const Image& rImage ) -{ - SetImage( rImage ); - return sal_True; -} - -// ----------------------------------------------------------------------- - -const Image& MessBox::GetModeImage( ) const -{ - return maImage; -} - -// ----------------------------------------------------------------------- - Size MessBox::GetOptimalSize(WindowSizeType eType) const { switch( eType ) { |