diff options
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/xmlnumi.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/xmltabi.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumi.cxx b/xmloff/source/style/xmlnumi.cxx index 80f65a55f90b..778741501711 100644 --- a/xmloff/source/style/xmlnumi.cxx +++ b/xmloff/source/style/xmlnumi.cxx @@ -882,7 +882,7 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > SvxXMLListStyleContext pLevelStyles = std::make_unique<SvxXMLListStyle_Impl>(); pLevelStyles->push_back( xLevelStyle ); - return xLevelStyle.get(); + return xLevelStyle; } XMLOFF_WARN_UNKNOWN_ELEMENT("xmloff", nElement); return nullptr; diff --git a/xmloff/source/style/xmltabi.cxx b/xmloff/source/style/xmltabi.cxx index f93e7d86c9b1..601c3f5fd191 100644 --- a/xmloff/source/style/xmltabi.cxx +++ b/xmloff/source/style/xmltabi.cxx @@ -141,7 +141,7 @@ css::uno::Reference< css::xml::sax::XFastContextHandler > SvxXMLTabStopImportCon mpTabStops->push_back( xTabStopContext ); - return xTabStopContext.get(); + return xTabStopContext; } else XMLOFF_WARN_UNKNOWN_ELEMENT("xmloff", nElement); |