summaryrefslogtreecommitdiff
path: root/oox/source/xls/sharedstringsbuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/xls/sharedstringsbuffer.cxx')
-rw-r--r--oox/source/xls/sharedstringsbuffer.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/oox/source/xls/sharedstringsbuffer.cxx b/oox/source/xls/sharedstringsbuffer.cxx
index 59d3a905bc40..c2464e1cf36f 100644
--- a/oox/source/xls/sharedstringsbuffer.cxx
+++ b/oox/source/xls/sharedstringsbuffer.cxx
@@ -73,11 +73,9 @@ void SharedStringsBuffer::finalizeImport()
maStrings.forEachMem( &RichString::finalizeImport );
}
-void SharedStringsBuffer::convertString( const Reference< XText >& rxText, sal_Int32 nStringId, sal_Int32 nXfId ) const
+RichStringRef SharedStringsBuffer::getString( sal_Int32 nStringId ) const
{
- if( rxText.is() )
- if( const RichString* pString = maStrings.get( nStringId ).get() )
- pString->convert( rxText, nXfId );
+ return maStrings.get( nStringId );
}
// ============================================================================