diff options
-rw-r--r-- | include/svx/nbdtmg.hxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/nbdtmg.cxx | 45 | ||||
-rw-r--r-- | sw/source/ui/inc/numfmtlb.hxx | 4 | ||||
-rw-r--r-- | sw/source/ui/utlui/numfmtlb.cxx | 16 | ||||
-rw-r--r-- | unusedcode.easy | 8 |
5 files changed, 5 insertions, 70 deletions
diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx index b98fa5997f52..ef5095b77a0d 100644 --- a/include/svx/nbdtmg.hxx +++ b/include/svx/nbdtmg.hxx @@ -347,8 +347,6 @@ class SVX_DLLPUBLIC NumberingTypeMgr: public NBOTypeMgrBase virtual sal_Bool ApplyNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_uInt16 mLevel=(sal_uInt16)0xFFFF,sal_Bool isDefault=false,sal_Bool isResetSize=false); virtual String GetDescription(sal_uInt16 nIndex,sal_Bool isDefault=false); virtual sal_Bool IsCustomized(sal_uInt16 nIndex); - sal_uInt16 GetNumCount() const; - NumberSettings_Impl* GetNumSettingByIndex(sal_uInt16 nIndex) const; static NumberingTypeMgr* GetInstance() { if ( _instance == 0 ) diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index f0d5ffe3bb1f..5eacb4d4e4c0 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -1351,34 +1351,6 @@ NumberingTypeMgr::NumberingTypeMgr(const NumberingTypeMgr& aTypeMgr): //pNumSettingsArr( new NumSettingsArr_Impl ), pNumberSettingsArr (new NumberSettingsArr_Impl) { - /* - for(sal_uInt16 i=0;i<aTypeMgr.GetNumCount();i++) - { - NumberSettings_Impl* _pSet = aTypeMgr.GetNumSettingByIndex(i); - if ( _pSet ) - { - pNumberSettingsArr->GetObject(i)->nIndex = _pSet->nIndex; - pNumberSettingsArr->GetObject(i)->nIndexDefault = _pSet->nIndexDefault; - pNumberSettingsArr->GetObject(i)->sDescription = _pSet->sDescription; - pNumberSettingsArr->GetObject(i)->bIsCustomized = _pSet->bIsCustomized; - if ( _pSet->pNumSetting ) - { - pNumberSettingsArr->GetObject(i)->pNumSetting->nNumberType = _pSet->pNumSetting->nNumberType; - pNumberSettingsArr->GetObject(i)->pNumSetting->nParentNumbering = _pSet->pNumSetting->nParentNumbering; - pNumberSettingsArr->GetObject(i)->pNumSetting->sPrefix = _pSet->pNumSetting->sPrefix; - pNumberSettingsArr->GetObject(i)->pNumSetting->sSuffix = _pSet->pNumSetting->sSuffix; - pNumberSettingsArr->GetObject(i)->pNumSetting->sBulletChar = _pSet->pNumSetting->sBulletChar; - pNumberSettingsArr->GetObject(i)->pNumSetting->sBulletFont = _pSet->pNumSetting->sBulletFont; - - pNumberSettingsArr->GetObject(i)->pNumSetting->eLabelFollowedBy = _pSet->pNumSetting->eLabelFollowedBy; - pNumberSettingsArr->GetObject(i)->pNumSetting->nTabValue = _pSet->pNumSetting->nTabValue; - pNumberSettingsArr->GetObject(i)->pNumSetting->eNumAlign = _pSet->pNumSetting->eNumAlign; - pNumberSettingsArr->GetObject(i)->pNumSetting->nNumAlignAt = _pSet->pNumSetting->nNumAlignAt; - pNumberSettingsArr->GetObject(i)->pNumSetting->nNumIndentAt = _pSet->pNumSetting->nNumIndentAt; - } - } - } - */ ImplLoad(OUString("standard.syb")); } @@ -1592,23 +1564,6 @@ sal_Bool NumberingTypeMgr::IsCustomized(sal_uInt16 nIndex) return bRet; } -sal_uInt16 NumberingTypeMgr::GetNumCount() const -{ - sal_uInt16 nRet = 0; - if ( pNumberSettingsArr ) - nRet = pNumberSettingsArr->size(); - - return nRet; -} -NumberSettings_Impl* NumberingTypeMgr::GetNumSettingByIndex(sal_uInt16 nIndex) const -{ - NumberSettings_Impl* pRet = 0; - if ( pNumberSettingsArr && nIndex< pNumberSettingsArr->size() ) - { - pRet = (*pNumberSettingsArr)[nIndex].get(); - } - return pRet; -} /*************************************************************************************************** **********************Multi-level /Outline Type lib******************************************************* ****************************************************************************************************/ diff --git a/sw/source/ui/inc/numfmtlb.hxx b/sw/source/ui/inc/numfmtlb.hxx index 2dd2de9198a6..6ab9a77ef01b 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, SwView* pView, const ResId& rResId, - short nFormatType = NUMBERFORMAT_NUMBER, sal_uLong nDefFmt = 0, - sal_Bool bUsrFmts = sal_True ); - ~NumFormatListBox(); void Clear(); diff --git a/sw/source/ui/utlui/numfmtlb.cxx b/sw/source/ui/utlui/numfmtlb.cxx index 221f8baad606..d01580607966 100644 --- a/sw/source/ui/utlui/numfmtlb.cxx +++ b/sw/source/ui/utlui/numfmtlb.cxx @@ -87,22 +87,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeNumFormatListBox(Window *pP return pListBox; } -NumFormatListBox::NumFormatListBox( Window* pWin, SwView* pView, - const ResId& rResId, short nFormatType, - sal_uLong nDefFmt, sal_Bool bUsrFmts ) : - ListBox ( pWin, rResId ), - nCurrFormatType (-1), - nStdEntry (0), - bOneArea (sal_False), - nDefFormat (nDefFmt), - pVw (pView), - pOwnFormatter (0), - bShowLanguageControl(sal_False), - bUseAutomaticLanguage(sal_True) -{ - Init(nFormatType, bUsrFmts); -} - void NumFormatListBox::Init(short nFormatType, sal_Bool bUsrFmts) { SwView *pView = GetView(); diff --git a/unusedcode.easy b/unusedcode.easy index 031fdf3a50c6..3845da1d4353 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -5,6 +5,8 @@ (anonymous namespace)::VBATest::testMiscOLEStuff() AffineMatrixItem::GetAffineMatrix2D() const BackingWindow::LinkStubWindowEventListener(void*, void*) +Bcp47CountryEntry::getLocale() const +BitmapReadAccess::GetColorWithFallback(long, long, BitmapColor const&) const BitmapWriteAccess::FillPolyPolygon(PolyPolygon const&) CuiAboutConfigTabPage::LinkStubHeaderSelect_Impl(void*, void*) DbgRegisterNamedUserChannel(rtl::OUString const&, void (*)(char const*)) @@ -150,7 +152,8 @@ drawinglayer::attribute::Sdr3DLightAttribute::isDefault() const drawinglayer::attribute::Sdr3DObjectAttribute::isDefault() const drawinglayer::attribute::SdrFillGraphicAttribute::getLogSize() const drawinglayer::geometry::ViewInformation2D::isDefault() const -editeng::SectionAttribute::SectionAttribute() +editeng::MisspellRange::MisspellRange() +editeng::Section::Section() formula::DoubleVectorRefToken::GetArrayLength() const formula::FormulaDlg::CheckMatrix() formula::FormulaDlg::isUserMatrix() const @@ -211,10 +214,9 @@ svx::sidebar::GraphyicBulletsTypeMgr::GraphyicBulletsTypeMgr(unsigned short, Sfx svx::sidebar::LinePropertyPanel::LinkStubImplPopupModeEndHdl(void*, void*) svx::sidebar::LineWidthControl::GetValueSet() svx::sidebar::NumberingTypeMgr::GetNumCount() const -svx::sidebar::NumberingTypeMgr::GetNumSettingByIndex(unsigned short) const -svx::sidebar::NumberingTypeMgr::NumberingTypeMgr(unsigned short, SfxItemSet const*) svx::sidebar::ParaPropertyPanel::InitImageList(boost::scoped_ptr<ToolBox>&, ImageList&, ImageList&) svx::sidebar::ParaPropertyPanel::LinkStubImplPopupModeEndHdl(void*, void*) +sw::util::HdFtDistanceGlue::EqualTopBottom(sw::util::HdFtDistanceGlue const&) const unoidl::UnoidlProvider::getConstant(unsigned int) const utl::ConfigItem::getUniqueSetElementName(rtl::OUString const&, rtl::OUString&) utl::toISO8601(com::sun::star::util::Time const&) |