summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_export.cxx6
-rw-r--r--xmlscript/source/xmlflat_imexp/xmlbas_export.cxx2
-rw-r--r--xmlscript/source/xmllib_imexp/xmllib_export.cxx6
-rw-r--r--xmlscript/source/xmllib_imexp/xmllib_import.cxx2
4 files changed, 8 insertions, 8 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
index 23dc6c0a90fc..77f606728d0a 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
@@ -1360,7 +1360,7 @@ void StyleBag::dump( Reference< xml::sax::XExtendedDocumentHandler > const & xOu
for (auto const & _style : _styles)
{
Reference< xml::sax::XAttributeList > xAttr( _style->createElement() );
- static_cast< ElementDescriptor * >( xAttr.get() )->dump( xOut.get() );
+ static_cast< ElementDescriptor * >( xAttr.get() )->dump( xOut );
}
xOut->ignorableWhitespace( OUString() );
xOut->endElement( aStylesName );
@@ -1396,7 +1396,7 @@ void exportDialogModel(
xOut->ignorableWhitespace( OUString() );
xOut->startElement( aWindowName, xWindow );
// dump out events
- pWindow->dumpSubElements( xOut.get() );
+ pWindow->dumpSubElements( xOut );
// dump out stylebag
all_styles.dump( xOut );
@@ -1407,7 +1407,7 @@ void exportDialogModel(
xOut->ignorableWhitespace( OUString() );
xOut->startElement( aBBoardName, xElem );
- pElem->dumpSubElements( xOut.get() );
+ pElem->dumpSubElements( xOut );
// end bulletinboard
xOut->ignorableWhitespace( OUString() );
xOut->endElement( aBBoardName );
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
index 4b9251494f70..8a7ade47d61a 100644
--- a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
+++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx
@@ -136,7 +136,7 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& /
// try the XEmbeddedScripts interface
Reference< document::XEmbeddedScripts > xDocumentScripts( m_xModel, UNO_QUERY );
if ( xDocumentScripts.is() )
- xLibContainer.set( xDocumentScripts->getBasicLibraries().get() );
+ xLibContainer = xDocumentScripts->getBasicLibraries();
if ( !xLibContainer.is() )
{
diff --git a/xmlscript/source/xmllib_imexp/xmllib_export.cxx b/xmlscript/source/xmllib_imexp/xmllib_export.cxx
index 828db4ee2e64..33e531ac14c5 100644
--- a/xmlscript/source/xmllib_imexp/xmllib_export.cxx
+++ b/xmlscript/source/xmllib_imexp/xmllib_export.cxx
@@ -79,7 +79,7 @@ exportLibraryContainer(
pLibElement->addAttribute( XMLNS_LIBRARY_PREFIX ":readonly", rLib.bReadOnly ? sTrueStr : sFalseStr );
}
- pLibElement->dump( xOut.get() );
+ pLibElement->dump( xOut );
}
xOut->ignorableWhitespace( OUString() );
@@ -123,10 +123,10 @@ exportLibrary(
pElement->addAttribute( XMLNS_LIBRARY_PREFIX ":name",
rElementName );
- pLibElement->addSubElement( pElement.get() );
+ pLibElement->addSubElement( pElement );
}
- pLibElement->dump( xOut.get() );
+ pLibElement->dump( xOut );
xOut->endDocument();
}
diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
index 5e063430e3bb..02c46a65f239 100644
--- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx
+++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
@@ -33,7 +33,7 @@ namespace xmlscript
Reference< xml::input::XElement > LibElementBase::getParent()
{
- return mxParent.get();
+ return mxParent;
}
OUString LibElementBase::getLocalName()