summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-09 23:59:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 09:04:33 +0100
commit821738d39367342223f45ffaa97c4b0ff9d70460 (patch)
treecb542baf228bf68bd2219261b9986e3f9c9948d3
parente259baa1cfe2823bb3c3e1dee5a30f47b80d6000 (diff)
callcatcher: unused getScriptLibraryContainer
-rw-r--r--xmlscript/source/xmldlg_imexp/imp_share.hxx1
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_import.cxx21
2 files changed, 0 insertions, 22 deletions
diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx
index 0c413a3afe..4751091a7d 100644
--- a/xmlscript/source/xmldlg_imexp/imp_share.hxx
+++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx
@@ -193,7 +193,6 @@ public:
inline css::uno::Reference< css::frame::XModel > getDocOwner() { return _xDoc; }
- css::uno::Reference< css::script::XLibraryContainer > getScriptLibraryContainer();
// XRoot
virtual void SAL_CALL startDocument(
css::uno::Reference< css::xml::input::XNamespaceMapping >
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index b5d61fd7dc..7f1f90e4fe 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -2027,28 +2027,7 @@ Reference< xml::input::XElement > DialogImport::getStyle(
}
return 0;
}
-//__________________________________________________________________________________________________
-Reference< script::XLibraryContainer > DialogImport::getScriptLibraryContainer()
-{
- if( !_xScriptLibraryContainer.is() )
- {
- try
- {
- Reference< beans::XPropertySet > xProps( _xDoc, UNO_QUERY );
- if( xProps.is() )
- _xScriptLibraryContainer.set( xProps->getPropertyValue( OUSTR("BasicLibraries") ), UNO_QUERY );
- }
- catch( const Exception& )
- {
- }
- }
-
- return _xScriptLibraryContainer;
-}
-//##################################################################################################
-
-//==================================================================================================
Reference< xml::sax::XDocumentHandler > SAL_CALL importDialogModel(
Reference< container::XNameContainer > const & xDialogModel,
Reference< XComponentContext > const & xContext,