diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-27 09:16:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-27 09:58:35 +0100 |
commit | f00cd93a66a6cf236114e810b1470e562315b777 (patch) | |
tree | 7edff4a18f651eb90b000a661d25883410f784bd | |
parent | 93be66f98f3180cbbe358bb5b38f64852a0d30fc (diff) |
callcatcher: update unused code, esp unused Resource based ctor
e.g. no ImageRadioButton is now loaded from any res/rsc file, so
that ctor and associated code paths can be stripped out
Change-Id: Ic4cf19d45adb7c734f150e0b89eef193157a74a7
27 files changed, 14 insertions, 187 deletions
diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx index ae3e6c3dd2cc..b98fa5997f52 100644 --- a/include/svx/nbdtmg.hxx +++ b/include/svx/nbdtmg.hxx @@ -310,7 +310,6 @@ class SVX_DLLPUBLIC MixBulletsTypeMgr: public NBOTypeMgrBase static MixBulletsTypeMgr* _instance; public: MixBulletsTypeMgr(const NBOType aType); - MixBulletsTypeMgr(const NBOType aType,const SfxItemSet* pArg); MixBulletsTypeMgr(const MixBulletsTypeMgr& aTypeMgr); virtual ~MixBulletsTypeMgr() {} virtual void Init(); @@ -340,7 +339,6 @@ class SVX_DLLPUBLIC NumberingTypeMgr: public NBOTypeMgrBase static NumberingTypeMgr* _instance; public: NumberingTypeMgr(const NBOType aType); - NumberingTypeMgr(const NBOType aType,const SfxItemSet* pArg); NumberingTypeMgr(const NumberingTypeMgr& aTypeMgr); virtual ~NumberingTypeMgr() {} virtual void Init(); diff --git a/include/svx/nbdtmgfact.hxx b/include/svx/nbdtmgfact.hxx index 76638d996a98..0e2f8b8f91d3 100644 --- a/include/svx/nbdtmgfact.hxx +++ b/include/svx/nbdtmgfact.hxx @@ -17,17 +17,9 @@ */ #ifndef _NBDTMGFACT_HXX #define _NBDTMGFACT_HXX -#ifndef _NBDTMG_HXX #include "nbdtmg.hxx" -#endif -namespace svx { namespace sidebar { -class SVX_DLLPUBLIC NBOutlineTypeMgrFact -{ -public: - static NBOTypeMgrBase* CreateInstance(const NBOType aType); - NBOutlineTypeMgrFact(); - virtual ~NBOutlineTypeMgrFact() {} -}; -}} +namespace svx { namespace sidebar { namespace NBOutlineTypeMgrFact { + SVX_DLLPUBLIC NBOTypeMgrBase* CreateInstance(const NBOType aType); +}}} #endif diff --git a/include/tools/rc.h b/include/tools/rc.h index 5bcd4cb7f3b7..b8e42cbb49d7 100644 --- a/include/tools/rc.h +++ b/include/tools/rc.h @@ -186,9 +186,6 @@ typedef short RSWND_STYLE; #define RSC_IMAGEBUTTON_SYMBOL 0x02 #define RSC_IMAGEBUTTON_STATE 0x04 -// For "ImageRadioButtons": -#define RSC_IMAGERADIOBUTTON_IMAGE 0x01 - // For "Image": #define RSC_IMAGE_IMAGEBITMAP 0x01 #define RSC_IMAGE_MASKBITMAP 0x02 diff --git a/include/tools/rcid.h b/include/tools/rcid.h index d257639a99f8..9c90f91775af 100644 --- a/include/tools/rcid.h +++ b/include/tools/rcid.h @@ -71,7 +71,7 @@ #define RSC_MOREBUTTON (RSC_NOTYPE + 0x4c) #define RSC_SPINBUTTON (RSC_NOTYPE + 0x4d) #define RSC_RADIOBUTTON (RSC_NOTYPE + 0x4e) -#define RSC_IMAGERADIOBUTTON (RSC_NOTYPE + 0x4f) + #define RSC_CHECKBOX (RSC_NOTYPE + 0x50) #define RSC_TRISTATEBOX (RSC_NOTYPE + 0x51) #define RSC_EDIT (RSC_NOTYPE + 0x52) diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index b33f8feff2bd..cb6f7e8c8c9a 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -540,7 +540,6 @@ class VCL_DLLPUBLIC ImageRadioButton : public RadioButton public: explicit ImageRadioButton( Window* pParent, WinBits nStyle = 0 ); - explicit ImageRadioButton( Window* pParent, const ResId& ); virtual ~ImageRadioButton(); }; diff --git a/rsc/inc/rscdb.hxx b/rsc/inc/rscdb.hxx index b8bc6b571bcd..545f328cb46e 100644 --- a/rsc/inc/rscdb.hxx +++ b/rsc/inc/rscdb.hxx @@ -191,7 +191,6 @@ class RscTypCont RscTop * InitClassFixedBitmap( RscTop * pSuper, RscTop * pClassBitmap ); RscTop * InitClassFixedImage( RscTop * pSuper, RscTop * pClassImage ); RscTop * InitClassRadioButton( RscTop * pSuper ); - RscTop * InitClassImageRadioButton( RscTop * pSuper, RscTop * pClassImage ); RscTop * InitClassKeyCode( RscTop * pSuper, RscEnum * pKey ); RscTop * InitClassAccelItem( RscTop * pSuper, RscTop * pKeyCode ); RscTop * InitClassAccel( RscTop * pSuper, RscTop * pClassAccelItem ); diff --git a/rsc/source/parser/rscicpx.cxx b/rsc/source/parser/rscicpx.cxx index 9a54719667aa..c808488817bc 100644 --- a/rsc/source/parser/rscicpx.cxx +++ b/rsc/source/parser/rscicpx.cxx @@ -811,25 +811,6 @@ RscTop * RscTypCont::InitClassRadioButton( RscTop * pSuper ) return pClassRadioButton; } -RscTop * RscTypCont::InitClassImageRadioButton( RscTop * pSuper, RscTop * pClassImage ) -{ - Atom nId; - RscTop * pClassImageRadioButton; - - // Klasse anlegen - nId = pHS->getID( "ImageRadioButton" ); - pClassImageRadioButton = new RscClass( nId, RSC_IMAGERADIOBUTTON, pSuper ); - pClassImageRadioButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassImageRadioButton ); - - // Variablen anlegen - INS_WINBIT(pClassImageRadioButton,TopImage) - nId = aNmTb.Put( "RadioButtonImage", VARNAME ); - pClassImageRadioButton->SetVariable( nId, pClassImage, 0, 0, RSC_IMAGERADIOBUTTON_IMAGE ); - - return pClassImageRadioButton; -} - RscTop * RscTypCont::InitClassKeyCode( RscTop * pSuper, RscEnum * pKey ) { Atom nId; diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index 80a95dbb0f9f..015a882283bd 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -83,7 +83,6 @@ void RscTypCont::Init() RscTop * pClassCancelButton; RscTop * pClassHelpButton; RscTop * pClassRadioButton; - RscTop * pClassImageRadioButton; RscTop * pClassImageButton; RscTop * pClassTriStateBox; RscTop * pClassEdit; @@ -446,11 +445,6 @@ void RscTypCont::Init() pClassRadioButton = InitClassRadioButton( pClassButton ); pRoot->Insert( pClassRadioButton ); - nId = pHS->getID( "ImageRadioButton" ); - pClassImageRadioButton = InitClassImageRadioButton( pClassRadioButton, - pClassImage ); - pRoot->Insert( pClassImageRadioButton ); - pClassTriStateBox = InitClassTriStateBox( pClassControl, pTriState ); pRoot->Insert( pClassTriStateBox ); diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index d3aab5df2c9b..a0e3393a602a 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1342,12 +1342,6 @@ ScCheckListBox::ScCheckListBox( Window* pParent, WinBits nWinStyle ) Init(); } -ScCheckListBox::ScCheckListBox( Window* pParent, const ResId& rResId ) - : SvTreeListBox( pParent, rResId ), mpCheckButton( NULL ) -{ - Init(); -} - SvTreeListEntry* ScCheckListBox::FindEntry( SvTreeListEntry* pParent, const OUString& sNode ) { sal_uInt16 nRootPos = 0; diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx index 694d69313e08..f324482fee41 100644 --- a/sc/source/ui/inc/checklistmenu.hxx +++ b/sc/source/ui/inc/checklistmenu.hxx @@ -196,7 +196,6 @@ class ScCheckListBox : public SvTreeListBox public: ScCheckListBox( Window* pParent, WinBits nWinStyle = 0 ); - ScCheckListBox( Window* pParent, const ResId& rResId ); ~ScCheckListBox() { delete mpCheckButton; } void Init(); void CheckEntry( OUString& sName, SvTreeListEntry* pParent, sal_Bool bCheck = sal_True ); diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx index a3337ea6818a..fc2aa5378a56 100644 --- a/sfx2/source/sidebar/SidebarController.cxx +++ b/sfx2/source/sidebar/SidebarController.cxx @@ -807,25 +807,6 @@ void SidebarController::ShowPopupMenu ( -void SidebarController::ShowDetailMenu (const ::rtl::OUString& rsMenuCommand) const -{ - try - { - const util::URL aURL (Tools::GetURL(rsMenuCommand)); - Reference<frame::XDispatch> xDispatch (Tools::GetDispatch(mxFrame, aURL)); - if (xDispatch.is()) - xDispatch->dispatch(aURL, Sequence<beans::PropertyValue>()); - } - catch(Exception& rException) - { - OSL_TRACE("caught exception: %s", - OUStringToOString(rException.Message, RTL_TEXTENCODING_ASCII_US).getStr()); - } -} - - - - ::boost::shared_ptr<PopupMenu> SidebarController::CreatePopupMenu ( const ::std::vector<TabBar::DeckMenuData>& rMenuData) const { diff --git a/sfx2/source/sidebar/SidebarController.hxx b/sfx2/source/sidebar/SidebarController.hxx index c6ed4dec2852..44fb76c74efa 100644 --- a/sfx2/source/sidebar/SidebarController.hxx +++ b/sfx2/source/sidebar/SidebarController.hxx @@ -190,7 +190,6 @@ private: void ShowPopupMenu ( const Rectangle& rButtonBox, const ::std::vector<TabBar::DeckMenuData>& rMenuData) const; - void ShowDetailMenu (const ::rtl::OUString& rsMenuCommand) const; ::boost::shared_ptr<PopupMenu> CreatePopupMenu ( const ::std::vector<TabBar::DeckMenuData>& rMenuData) const; DECL_LINK(OnMenuItemSelected, Menu*); diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index 679aacad6430..f0d5ffe3bb1f 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -819,19 +819,6 @@ MixBulletsTypeMgr::MixBulletsTypeMgr(const NBOType aType): ImplLoad(OUString("standard.sya")); } -MixBulletsTypeMgr::MixBulletsTypeMgr(const NBOType aType,const SfxItemSet* pArg): - NBOTypeMgrBase(aType,pArg) -{ - Init(); - for(sal_Int32 nItem = 0; nItem < DEFAULT_BULLET_TYPES; nItem++ ) - { - pDefaultActualBullets[nItem] = pActualBullets[nItem]; - } - //Initial the first time to store the default value. Then do it again for customized value - Init(); - ImplLoad(OUString("standard.sya")); -} - MixBulletsTypeMgr::MixBulletsTypeMgr(const MixBulletsTypeMgr& aTypeMgr): NBOTypeMgrBase(aTypeMgr) { @@ -1359,19 +1346,6 @@ NumberingTypeMgr::NumberingTypeMgr(const NBOType aType): ImplLoad(OUString("standard.syb")); } -NumberingTypeMgr::NumberingTypeMgr(const NBOType aType,const SfxItemSet* pArg): - NBOTypeMgrBase(aType,pArg), - //pNumSettingsArr( new NumSettingsArr_Impl ), - pNumberSettingsArr (new NumberSettingsArr_Impl) -{ - Init(); - pDefaultNumberSettingsArr = pNumberSettingsArr; - pNumberSettingsArr = new NumberSettingsArr_Impl; - //Initial the first time to store the default value. Then do it again for customized value - Init(); - ImplLoad(OUString("standard.syb")); -} - NumberingTypeMgr::NumberingTypeMgr(const NumberingTypeMgr& aTypeMgr): NBOTypeMgrBase(aTypeMgr), //pNumSettingsArr( new NumSettingsArr_Impl ), diff --git a/svx/source/sidebar/nbdtmgfact.cxx b/svx/source/sidebar/nbdtmgfact.cxx index 7280d7eceabf..4b03aa86db36 100644 --- a/svx/source/sidebar/nbdtmgfact.cxx +++ b/svx/source/sidebar/nbdtmgfact.cxx @@ -15,15 +15,12 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef _NBDTMGFACT_HXX + #include <svx/nbdtmgfact.hxx> -#endif -namespace svx { namespace sidebar { -NBOutlineTypeMgrFact::NBOutlineTypeMgrFact() -{ -} -NBOTypeMgrBase* NBOutlineTypeMgrFact::CreateInstance(const NBOType aType) +namespace svx { namespace sidebar { namespace NBOutlineTypeMgrFact { + +NBOTypeMgrBase* CreateInstance(const NBOType aType) { //NBOTypeMgrBase* pRet= 0; if ( aType == eNBOType::BULLETS ) @@ -44,5 +41,5 @@ NBOTypeMgrBase* NBOutlineTypeMgrFact::CreateInstance(const NBOType aType) } return NULL; } -}} +}}} diff --git a/sw/source/ui/fldui/fldpage.cxx b/sw/source/ui/fldui/fldpage.cxx index 0096bc5d6fc6..ffbd02285f83 100644 --- a/sw/source/ui/fldui/fldpage.cxx +++ b/sw/source/ui/fldui/fldpage.cxx @@ -41,22 +41,6 @@ using namespace ::com::sun::star; -SwFldPage::SwFldPage( Window *pParent, const ResId &rId, - const SfxItemSet &rAttrSet ) - :SfxTabPage (pParent, rId, rAttrSet), - m_pCurFld (0), - m_pWrtShell (0), - m_nTypeSel (LISTBOX_ENTRY_NOTFOUND), - m_nSelectionSel (LISTBOX_ENTRY_NOTFOUND), - m_bFldEdit (false), - m_bInsert (sal_True), - m_bFldDlgHtmlMode (sal_False), - m_bRefresh (sal_False), - m_bFirstHTMLInit (sal_True) -{ - -} - SwFldPage::SwFldPage(Window *pParent, const OString& rID, const OUString& rUIXMLDescription, const SfxItemSet &rAttrSet) : SfxTabPage(pParent, rID, rUIXMLDescription, rAttrSet) diff --git a/sw/source/ui/fldui/fldpage.hxx b/sw/source/ui/fldui/fldpage.hxx index 83c86bd3e232..4593ed873b37 100644 --- a/sw/source/ui/fldui/fldpage.hxx +++ b/sw/source/ui/fldui/fldpage.hxx @@ -77,10 +77,6 @@ protected: using SfxTabPage::ActivatePage; public: - SwFldPage( Window *pParent, - const ResId &rId, - const SfxItemSet &rAttrSet ); - SwFldPage(Window *pParent, const OString& rID, const OUString& rUIXMLDescription, const SfxItemSet &rAttrSet); diff --git a/sw/source/ui/inc/condedit.hxx b/sw/source/ui/inc/condedit.hxx index b55c48ba32ab..fce123ab5e9b 100644 --- a/sw/source/ui/inc/condedit.hxx +++ b/sw/source/ui/inc/condedit.hxx @@ -31,7 +31,6 @@ class SW_DLLPUBLIC ConditionEdit : public Edit, public DropTargetHelper SW_DLLPRIVATE virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ); public: - ConditionEdit(Window* pParent, const ResId& rResId); ConditionEdit(Window* pParent, WinBits nStyle); void ShowBrackets(bool bShow) diff --git a/sw/source/ui/inc/numfmtlb.hxx b/sw/source/ui/inc/numfmtlb.hxx index 28cfd6e4425b..2dd2de9198a6 100644 --- a/sw/source/ui/inc/numfmtlb.hxx +++ b/sw/source/ui/inc/numfmtlb.hxx @@ -47,10 +47,6 @@ class SW_DLLPUBLIC NumFormatListBox : public ListBox public: NumFormatListBox(Window* pWin, WinBits nStyle); - NumFormatListBox( Window* pWin, const ResId& rResId, - short nFormatType = NUMBERFORMAT_NUMBER, sal_uLong nDefFmt = 0, - sal_Bool bUsrFmts = sal_True ); - NumFormatListBox( Window* pWin, SwView* pView, const ResId& rResId, short nFormatType = NUMBERFORMAT_NUMBER, sal_uLong nDefFmt = 0, sal_Bool bUsrFmts = sal_True ); diff --git a/sw/source/ui/utlui/condedit.cxx b/sw/source/ui/utlui/condedit.cxx index dc088bbaa2d6..e8f2b875fce8 100644 --- a/sw/source/ui/utlui/condedit.cxx +++ b/sw/source/ui/utlui/condedit.cxx @@ -27,14 +27,6 @@ using namespace ::svx; using namespace ::com::sun::star::uno; -ConditionEdit::ConditionEdit(Window* pParent, const ResId& rResId) - : Edit(pParent, rResId) - , DropTargetHelper(this) - , bBrackets(true) - , bEnableDrop(true) -{ -} - ConditionEdit::ConditionEdit(Window* pParent, WinBits nStyle) : Edit(pParent, nStyle) , DropTargetHelper(this) diff --git a/sw/source/ui/utlui/numfmtlb.cxx b/sw/source/ui/utlui/numfmtlb.cxx index f3e8de296bfa..b09ead625f91 100644 --- a/sw/source/ui/utlui/numfmtlb.cxx +++ b/sw/source/ui/utlui/numfmtlb.cxx @@ -54,22 +54,6 @@ using namespace ::com::sun::star::lang; * nDefFmt: Select this format and possibly insert it */ -NumFormatListBox::NumFormatListBox( Window* pWin, const ResId& rResId, - short nFormatType, sal_uLong nDefFmt, - sal_Bool bUsrFmts ) : - ListBox ( pWin, rResId ), - nCurrFormatType (-1), - nStdEntry (0), - bOneArea (sal_False), - nDefFormat (nDefFmt), - pVw (0), - pOwnFormatter (0), - bShowLanguageControl(sal_False), - bUseAutomaticLanguage(sal_True) -{ - Init(nFormatType, bUsrFmts); -} - NumFormatListBox::NumFormatListBox(Window* pWin, WinBits nStyle) : ListBox ( pWin, nStyle ), nCurrFormatType (-1), diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx index 662906e86ff3..5ba91b962a97 100644 --- a/toolkit/source/awt/vclxtoolkit.cxx +++ b/toolkit/source/awt/vclxtoolkit.cxx @@ -282,7 +282,6 @@ static ComponentInfo aComponentInfos [] = { "frame", WINDOW_GROUPBOX }, { "helpbutton", WINDOW_HELPBUTTON }, { "imagebutton", WINDOW_IMAGEBUTTON }, - { "imageradiobutton", WINDOW_IMAGERADIOBUTTON }, { "infobox", WINDOW_INFOBOX }, { "listbox", WINDOW_LISTBOX }, { "longcurrencybox", WINDOW_LONGCURRENCYBOX }, @@ -754,10 +753,6 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp, pNewWindow = new ImageButton( pParent, nWinBits ); *ppNewComp = new VCLXButton; break; - case WINDOW_IMAGERADIOBUTTON: - pNewWindow = new ImageRadioButton( pParent, nWinBits ); - *ppNewComp = new VCLXButton; - break; case WINDOW_INFOBOX: pNewWindow = new InfoBox( pParent, String() ); *ppNewComp = new VCLXMessageBox; diff --git a/toolkit/source/helper/unowrapper.cxx b/toolkit/source/helper/unowrapper.cxx index d138da4898e5..c317e6fa800b 100644 --- a/toolkit/source/helper/unowrapper.cxx +++ b/toolkit/source/helper/unowrapper.cxx @@ -42,7 +42,6 @@ using namespace ::com::sun::star; { switch ( pWindow->GetType() ) { - case WINDOW_IMAGERADIOBUTTON: case WINDOW_IMAGEBUTTON: case WINDOW_SPINBUTTON: case WINDOW_MENUBUTTON: diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index cc28f7de6350..b5b86a0a1792 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -1680,7 +1680,6 @@ OString ResMgr::GetAutoHelpId() case RSC_CURRENCYFIELD: aHID.append( "CurrencyField" ); break; case RSC_DATEFIELD: aHID.append( "DateField" ); break; case RSC_TIMEFIELD: aHID.append( "TimeField" ); break; - case RSC_IMAGERADIOBUTTON: aHID.append( "ImageRadioButton" ); break; case RSC_NUMERICBOX: aHID.append( "NumericBox" ); break; case RSC_METRICBOX: aHID.append( "MetricBox" ); break; case RSC_CURRENCYBOX: aHID.append( "CurrencyBox" ); break; diff --git a/unusedcode.easy b/unusedcode.easy index 1469ac1a9c74..fcf268649103 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -60,6 +60,7 @@ ScFormulaCell::GetValueAlways() ScFormulaCell::HasColRowName() const ScFormulaCell::IsSharedInvariant() const ScGlobal::GetStandardFormat(double, SvNumberFormatter&, unsigned long, short) +ScMyNotEmptyCellsIterator::GetCell() const ScRangeData::SetMaxCol(short) ScRangeData::SetMaxRow(int) ScRangeStringConverter::GetRangeListFromString(com::sun::star::uno::Sequence<com::sun::star::table::CellRangeAddress>&, rtl::OUString const&, ScDocument const*, formula::FormulaGrammar::AddressConvention, unsigned short, unsigned short) @@ -76,6 +77,7 @@ SmFontPickList::Contains(Font const&) const StatusBar::CopyItems(StatusBar const&) StatusBar::HideItems() StatusBar::ShowItems() +String::AllocBuffer(unsigned short) SvFileStream::GetFileHandle() const SvdProgressInfo::ReportError() SvpSalInstance::PostEvent(SalFrame const*, void*, unsigned short) @@ -149,12 +151,14 @@ drawinglayer::attribute::Sdr3DLightAttribute::isDefault() const drawinglayer::attribute::Sdr3DObjectAttribute::isDefault() const drawinglayer::attribute::SdrFillGraphicAttribute::getLogSize() const drawinglayer::geometry::ViewInformation2D::isDefault() const +editeng::SectionAttribute::SectionAttribute() formula::DoubleVectorRefToken::GetArrayLength() const formula::FormulaDlg::CheckMatrix() formula::FormulaDlg::isUserMatrix() const framework::MenuBarManager::getComponentContext() framework::MenuManager::getContext() jfw_plugin::VendorBase::createInstance() +oox::core::Decrypt::aes128cbc(std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, std::__debug::vector<unsigned char, std::allocator<unsigned char> >&) oox::core::FilterBaseImpl::finalizeFilter() oox::drawingml::TextListStyle::dump() const oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&) @@ -196,7 +200,6 @@ sfx2::sidebar::FocusManager::IsAnyButtonFocused() const sfx2::sidebar::FocusManager::IsAnyPanelFocused() const sfx2::sidebar::Paint::Set(sfx2::sidebar::Paint const&) sfx2::sidebar::Panel::PrintWindowTree() -sfx2::sidebar::SidebarController::ShowDetailMenu(rtl::OUString const&) const sfx2::sidebar::SidebarDockingWindow::GetChildWindow() std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >::_Rb_tree(std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >&&) std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr<formula::FormulaTokenArray>&) @@ -208,8 +211,6 @@ svx::sidebar::BulletsTypeMgr::BulletsTypeMgr(unsigned short, SfxItemSet const*) svx::sidebar::GraphyicBulletsTypeMgr::GraphyicBulletsTypeMgr(unsigned short, SfxItemSet const*) svx::sidebar::LinePropertyPanel::LinkStubImplPopupModeEndHdl(void*, void*) svx::sidebar::LineWidthControl::GetValueSet() -svx::sidebar::MixBulletsTypeMgr::MixBulletsTypeMgr(unsigned short, SfxItemSet const*) -svx::sidebar::NBOutlineTypeMgrFact::NBOutlineTypeMgrFact() svx::sidebar::NumberingTypeMgr::GetNumCount() const svx::sidebar::NumberingTypeMgr::GetNumSettingByIndex(unsigned short) const svx::sidebar::NumberingTypeMgr::NumberingTypeMgr(unsigned short, SfxItemSet const*) diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index a882bb762db2..6833a95cd7d7 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -1271,7 +1271,6 @@ void DbgDialogTest( Window* pWindow ) } if ( (pChild->GetType() == WINDOW_RADIOBUTTON) || - (pChild->GetType() == WINDOW_IMAGERADIOBUTTON) || (pChild->GetType() == WINDOW_CHECKBOX) || (pChild->GetType() == WINDOW_TRISTATEBOX) || (pChild->GetType() == WINDOW_PUSHBUTTON) ) @@ -1281,8 +1280,6 @@ void DbgDialogTest( Window* pWindow ) const char* pClass; if ( pChild->GetType() == WINDOW_RADIOBUTTON ) pClass = "RadioButton"; - else if ( pChild->GetType() == WINDOW_IMAGERADIOBUTTON ) - pClass = "ImageRadioButton"; else if ( pChild->GetType() == WINDOW_CHECKBOX ) pClass = "CheckBox"; else if ( pChild->GetType() == WINDOW_TRISTATEBOX ) @@ -1302,7 +1299,6 @@ void DbgDialogTest( Window* pWindow ) switch( pChild->GetType() ) { case WINDOW_RADIOBUTTON: - case WINDOW_IMAGERADIOBUTTON: aWidth = ((RadioButton*)pChild)->CalcMinimumSize(0).Width(); break; case WINDOW_CHECKBOX: @@ -1405,7 +1401,6 @@ void DbgDialogTest( Window* pWindow ) " WB_IGNORETAB")); if ( (pChild->GetType() == WINDOW_RADIOBUTTON) || - (pChild->GetType() == WINDOW_IMAGERADIOBUTTON) || (pChild->GetType() == WINDOW_CHECKBOX) || (pChild->GetType() == WINDOW_TRISTATEBOX) || (pChild->GetType() == WINDOW_FIXEDTEXT) ) @@ -1484,7 +1479,6 @@ void DbgDialogTest( Window* pWindow ) } if ( (pChild->GetType() == WINDOW_RADIOBUTTON) || - (pChild->GetType() == WINDOW_IMAGERADIOBUTTON) || (pChild->GetType() == WINDOW_CHECKBOX) || (pChild->GetType() == WINDOW_TRISTATEBOX) || (pChild->GetType() == WINDOW_PUSHBUTTON) || @@ -1516,8 +1510,7 @@ void DbgDialogTest( Window* pWindow ) Rectangle aChildRect( aNewPos, pChild->GetSizePixel() ); if ( cAccel || (pChild->GetStyle() & WB_TABSTOP) || - (pChild->GetType() == WINDOW_RADIOBUTTON) || - (pChild->GetType() == WINDOW_IMAGERADIOBUTTON) ) + (pChild->GetType() == WINDOW_RADIOBUTTON) ) { if ( (aNewPos.X() <= aTabPos.X()) && (aNewPos.Y() <= aTabPos.Y()) ) { diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index fb2e982537f4..32d70f37b055 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -4090,20 +4090,6 @@ ImageRadioButton::ImageRadioButton( Window* pParent, WinBits nStyle ) : // ----------------------------------------------------------------------- -ImageRadioButton::ImageRadioButton( Window* pParent, const ResId& rResId ) : - RadioButton( pParent, rResId.SetRT( RSC_IMAGERADIOBUTTON ) ) -{ - sal_uLong nObjMask = ReadLongRes(); - - if ( RSC_IMAGERADIOBUTTON_IMAGE & nObjMask ) - { - SetModeRadioImage( Image( ResId( (RSHEADER_TYPE*)GetClassRes(), *rResId.GetResMgr() ) ) ); - IncrementRes( GetObjSizeRes( (RSHEADER_TYPE*)GetClassRes() ) ); - } -} - -// ----------------------------------------------------------------------- - ImageRadioButton::~ImageRadioButton() { } diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index df1456d2b147..669e0eb62f43 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -8824,7 +8824,6 @@ sal_uInt16 Window::getDefaultAccessibleRole() const case WINDOW_COLORDIALOG: nRole = accessibility::AccessibleRole::COLOR_CHOOSER; break; case WINDOW_FONTDIALOG: nRole = accessibility::AccessibleRole::FONT_CHOOSER; break; - case WINDOW_IMAGERADIOBUTTON: case WINDOW_RADIOBUTTON: nRole = accessibility::AccessibleRole::RADIO_BUTTON; break; case WINDOW_TRISTATEBOX: case WINDOW_CHECKBOX: nRole = accessibility::AccessibleRole::CHECK_BOX; break; |