diff options
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/core/xmlmultiimagehelper.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/XMLTextFrameContext.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 93ef19a46957..5d7d1910d98a 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -810,7 +810,7 @@ sal_Bool SAL_CALL SvXMLExport::filter( const uno::Sequence< beans::PropertyValue OUString sMessage( ex.getValueTypeName() + ": \"" + e.Message + "\""); if (e.Context.is()) { - const char* pContext = typeid(*e.Context.get()).name(); + const char* pContext = typeid(*e.Context).name(); sMessage += " (context: " + OUString::createFromAscii(pContext) + " )"; } SetError( XMLERROR_FLAG_ERROR | XMLERROR_FLAG_SEVERE | XMLERROR_API, @@ -1690,7 +1690,7 @@ void SvXMLExport::ExportStyles_( bool ) XMLTextParagraphExport* SvXMLExport::CreateTextParagraphExport() { - return new XMLTextParagraphExport( *this, *(GetAutoStylePool().get()) ); + return new XMLTextParagraphExport( *this, *GetAutoStylePool() ); } XMLShapeExport* SvXMLExport::CreateShapeExport() diff --git a/xmloff/source/core/xmlmultiimagehelper.cxx b/xmloff/source/core/xmlmultiimagehelper.cxx index 36b65fdd7449..af03e7bb1361 100644 --- a/xmloff/source/core/xmlmultiimagehelper.cxx +++ b/xmloff/source/core/xmlmultiimagehelper.cxx @@ -113,7 +113,7 @@ SvXMLImportContextRef MultiImageImportHelper::solveMultipleImages() for(std::vector<SvXMLImportContextRef>::size_type a = 0; a < maImplContextVector.size(); a++) { - const SvXMLImportContext& rContext = *maImplContextVector[a].get(); + const SvXMLImportContext& rContext = *maImplContextVector[a]; OUString sMimeType; @@ -152,7 +152,7 @@ SvXMLImportContextRef MultiImageImportHelper::solveMultipleImages() // remove the rest from parent for(std::vector<SvXMLImportContextRef>::size_type a = 0; a < maImplContextVector.size(); a++) { - SvXMLImportContext& rCandidate = *maImplContextVector[a].get(); + SvXMLImportContext& rCandidate = *maImplContextVector[a]; removeGraphicFromImportContext(rCandidate); } diff --git a/xmloff/source/text/XMLTextFrameContext.cxx b/xmloff/source/text/XMLTextFrameContext.cxx index 7fb33155622b..0f33c760a6ac 100644 --- a/xmloff/source/text/XMLTextFrameContext.cxx +++ b/xmloff/source/text/XMLTextFrameContext.cxx @@ -1522,7 +1522,7 @@ SvXMLImportContextRef XMLTextFrameContext::CreateChildContext( if(getSupportsMultipleContents() && XML_TEXT_FRAME_GRAPHIC == nFrameType) { - addContent(*m_xImplContext.get()); + addContent(*m_xImplContext); } } } @@ -1535,7 +1535,7 @@ SvXMLImportContextRef XMLTextFrameContext::CreateChildContext( m_eDefaultAnchorType, XML_TEXT_FRAME_GRAPHIC, m_xAttrList, true); m_xImplContext = xContext; - addContent(*m_xImplContext.get()); + addContent(*m_xImplContext); } else if( m_bSupportsReplacement && !m_xReplImplContext.is() && XML_NAMESPACE_DRAW == p_nPrefix && |