diff options
Diffstat (limited to 'sc/source/filter/xml/xmlcelli.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 601d71e559c5..7712e528d2b2 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -415,7 +415,7 @@ void ScXMLTableRowCellContext::PushFormat(sal_Int32 nBegin, sal_Int32 nEnd, cons ScAddress aCellPos = rXMLImport.GetTables().GetCurrentCellPos(); pSheetData->AddTextStyle(rStyleName, aCellPos, rFmt.maSelection); - std::unique_ptr<SfxPoolItem> pPoolItem; + boost::scoped_ptr<SfxPoolItem> pPoolItem; sal_uInt16 nLastItemID = EE_CHAR_END + 1; std::vector<XMLPropertyState>::const_iterator it = rProps.begin(), itEnd = rProps.end(); @@ -1369,7 +1369,7 @@ void ScXMLTableRowCellContext::PutFormulaCell( const ScAddress& rCellPos ) OUString aText = maFormula->first; - std::unique_ptr<ScExternalRefManager::ApiGuard> pExtRefGuard ( + ::boost::scoped_ptr<ScExternalRefManager::ApiGuard> pExtRefGuard ( new ScExternalRefManager::ApiGuard(pDoc)); if ( !aText.isEmpty() ) |