summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-02 09:55:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-02 09:58:53 +0000
commit7297ec19950c48f498d22bd88c1d3fccbe7d77ea (patch)
tree1e41a07701e9035d78c8706fb7b4595de75b12a6
parentcallcatcher: some unused code (diff)
downloadcore-7297ec19950c48f498d22bd88c1d3fccbe7d77ea.tar.gz
core-7297ec19950c48f498d22bd88c1d3fccbe7d77ea.zip
update list post SvUShorts removal
-rw-r--r--unusedcode.easy6
-rw-r--r--xmloff/inc/xmloff/xmlnume.hxx5
-rw-r--r--xmloff/source/style/xmlnume.cxx42
3 files changed, 2 insertions, 51 deletions
diff --git a/unusedcode.easy b/unusedcode.easy
index 59369992ea56..3baabe9eb5f7 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -487,6 +487,8 @@ ScInputBarGroup::LinkStubImpl_ScrollHdl(void*, void*)
ScJobSetup::ScJobSetup(SfxPrinter*)
ScLeftFooterEditPage::GetRanges()
ScLeftHeaderEditPage::GetRanges()
+ScMacrosTest::testStarBasic()
+ScMacrosTest::testVba()
ScMatrix::CalcOffset(unsigned long, unsigned long) const
ScMultiTextWnd::GetLineCount()
ScMyCellInfo::ScMyCellInfo()
@@ -804,10 +806,6 @@ SvStringsSortDtor::Insert(SvStringsSortDtor const*, unsigned short, unsigned sho
SvStringsSortDtor::Remove(String* const&, unsigned short)
SvStringsSortDtor::Remove(unsigned short, unsigned short)
SvTabListBox::GetTabJustify(unsigned short) const
-SvUShorts::Insert(SvUShorts const*, unsigned short, unsigned short, unsigned short)
-SvUShorts::Replace(unsigned short const&, unsigned short)
-SvUShorts::Replace(unsigned short const*, unsigned short, unsigned short)
-SvUShorts::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned short const&, void*), void*)
SvUnoAttributeContainer::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
SvXMLAutoStylePoolNamesP_Impl::GetPos(rtl::OUString const*) const
SvXMLAutoStylePoolNamesP_Impl::Remove(rtl::OUString*)
diff --git a/xmloff/inc/xmloff/xmlnume.hxx b/xmloff/inc/xmloff/xmlnume.hxx
index 473bec6d5dec..7edda8ca02ae 100644
--- a/xmloff/inc/xmloff/xmlnume.hxx
+++ b/xmloff/inc/xmloff/xmlnume.hxx
@@ -98,11 +98,6 @@ public:
const ::rtl::OUString& rName,
const ::com::sun::star::uno::Reference<
::com::sun::star::container::XIndexReplace > & xNumRule );
-
- static sal_Bool GetOutlineStyles( XMLStringVector& rStyleNames,
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XModel > & rModel );
-
};
#endif // _XMLOFF_XMLNUME_HXX
diff --git a/xmloff/source/style/xmlnume.cxx b/xmloff/source/style/xmlnume.cxx
index 58145c4d1378..954587bcdea0 100644
--- a/xmloff/source/style/xmlnume.cxx
+++ b/xmloff/source/style/xmlnume.cxx
@@ -871,46 +871,4 @@ void SvxXMLNumRuleExport::exportStyles( sal_Bool bUsed,
}
}
-sal_Bool SvxXMLNumRuleExport::GetOutlineStyles( XMLStringVector& rStyleNames,
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XModel > & rModel )
-{
- Reference< XChapterNumberingSupplier > xCNSupplier( rModel,
- UNO_QUERY );
- sal_Int32 nLevels = 0;
- Reference< XIndexReplace > xNumRule;
- if( xCNSupplier.is() )
- {
- xNumRule = xCNSupplier->getChapterNumberingRules();
- if( xNumRule.is() )
- nLevels = xNumRule->getCount();
- }
-
- rStyleNames.resize( nLevels );
- for( sal_Int32 i=0; i<nLevels; i++ )
- {
- uno::Any aEntry( xNumRule->getByIndex( i ) );
- uno::Sequence<beans::PropertyValue> aSeq;
- if( aEntry >>= aSeq )
- {
- const sal_Int32 nCount = aSeq.getLength();
- const beans::PropertyValue* pPropArray = aSeq.getConstArray();
- for( sal_Int32 j=0; j<nCount; j++ )
- {
- const beans::PropertyValue& rProp = pPropArray[j];
-
- if( rProp.Name.equalsAsciiL(
- XML_UNO_NAME_NRULE_HEADING_STYLE_NAME,
- sizeof(XML_UNO_NAME_NRULE_HEADING_STYLE_NAME)-1 ) )
- {
- rProp.Value >>= rStyleNames[i];
- break;
- }
- }
- }
- }
-
- return nLevels != 0;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */