summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-09-15 10:24:03 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-09-15 10:24:57 +0200
commit416723d29938556aaeca8bc8805209e394d30939 (patch)
treed2ffac52b11df7f085ee368028926fb7d6d7eb97 /writerfilter
parent924a2689b380407d6db64ff0693aaff79073ea6f (diff)
Unused GetStyleIdFromIndex()
Change-Id: Ic4f45b154f61e5d8ac2120d758d6ecb0c98bf889
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/StyleSheetTable.cxx10
-rw-r--r--writerfilter/source/dmapper/StyleSheetTable.hxx1
2 files changed, 0 insertions, 11 deletions
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 );