Kaydet (Commit) 416723d2 authored tarafından Miklos Vajna's avatar Miklos Vajna

Unused GetStyleIdFromIndex()

Change-Id: Ic4f45b154f61e5d8ac2120d758d6ecb0c98bf889
üst 924a2689
...@@ -217,4 +217,3 @@ svl::GridPrinter::resize(unsigned long, unsigned long) ...@@ -217,4 +217,3 @@ svl::GridPrinter::resize(unsigned long, unsigned long)
svt::CheckInvariants(void const*) svt::CheckInvariants(void const*)
svt::table::UnoControlTableModel::checkInvariants() const svt::table::UnoControlTableModel::checkInvariants() const
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool) vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
writerfilter::dmapper::StyleSheetTable::GetStyleIdFromIndex(unsigned int)
...@@ -1494,16 +1494,6 @@ OUString StyleSheetTable::ConvertStyleName( const OUString& rWWName, bool bExten ...@@ -1494,16 +1494,6 @@ OUString StyleSheetTable::ConvertStyleName( const OUString& rWWName, bool bExten
return sRet; 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) void StyleSheetTable::applyDefaults(bool bParaProperties)
{ {
try{ try{
......
...@@ -101,7 +101,6 @@ public: ...@@ -101,7 +101,6 @@ public:
const StyleSheetEntryPtr FindParentStyleSheet(const OUString& sBaseStyle); const StyleSheetEntryPtr FindParentStyleSheet(const OUString& sBaseStyle);
OUString ConvertStyleName( const OUString& rWWName, bool bExtendedSearch = false ); OUString ConvertStyleName( const OUString& rWWName, bool bExtendedSearch = false );
OUString GetStyleIdFromIndex(const sal_uInt32 sti);
OUString getOrCreateCharStyle( PropertyValueVector_t& rCharProperties ); OUString getOrCreateCharStyle( PropertyValueVector_t& rCharProperties );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment