diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-09-15 10:24:03 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-09-15 10:24:57 +0200 |
commit | 416723d29938556aaeca8bc8805209e394d30939 (patch) | |
tree | d2ffac52b11df7f085ee368028926fb7d6d7eb97 | |
parent | 924a2689b380407d6db64ff0693aaff79073ea6f (diff) |
Unused GetStyleIdFromIndex()
Change-Id: Ic4f45b154f61e5d8ac2120d758d6ecb0c98bf889
-rw-r--r-- | unusedcode.easy | 1 | ||||
-rw-r--r-- | writerfilter/source/dmapper/StyleSheetTable.cxx | 10 | ||||
-rw-r--r-- | writerfilter/source/dmapper/StyleSheetTable.hxx | 1 |
3 files changed, 0 insertions, 12 deletions
diff --git a/unusedcode.easy b/unusedcode.easy index 73783bafa21f..b24e0b3f6ad3 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -217,4 +217,3 @@ svl::GridPrinter::resize(unsigned long, unsigned long) svt::CheckInvariants(void const*) svt::table::UnoControlTableModel::checkInvariants() const vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool) -writerfilter::dmapper::StyleSheetTable::GetStyleIdFromIndex(unsigned int) diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx index 1c39a8ac8f53..eb22ecf80a18 100644 --- a/writerfilter/source/dmapper/StyleSheetTable.cxx +++ b/writerfilter/source/dmapper/StyleSheetTable.cxx @@ -1494,16 +1494,6 @@ OUString StyleSheetTable::ConvertStyleName( const OUString& rWWName, bool bExten return sRet; } -OUString StyleSheetTable::GetStyleIdFromIndex(const sal_uInt32 sti) -{ - OUString sRet; - if (sti >= (sizeof(aStyleNamePairs) / sizeof( sal_Char*) / 2)) - sRet = OUString(); - else - sRet = OUString::createFromAscii(aStyleNamePairs[2 * sti]); - return sRet; -} - void StyleSheetTable::applyDefaults(bool bParaProperties) { try{ diff --git a/writerfilter/source/dmapper/StyleSheetTable.hxx b/writerfilter/source/dmapper/StyleSheetTable.hxx index 43b3b432eb52..ada430278ac5 100644 --- a/writerfilter/source/dmapper/StyleSheetTable.hxx +++ b/writerfilter/source/dmapper/StyleSheetTable.hxx @@ -101,7 +101,6 @@ public: const StyleSheetEntryPtr FindParentStyleSheet(const OUString& sBaseStyle); OUString ConvertStyleName( const OUString& rWWName, bool bExtendedSearch = false ); - OUString GetStyleIdFromIndex(const sal_uInt32 sti); OUString getOrCreateCharStyle( PropertyValueVector_t& rCharProperties ); |