summaryrefslogtreecommitdiff
path: root/filter/source/xsltdialog/xmlfilterjar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/xsltdialog/xmlfilterjar.cxx')
-rw-r--r--filter/source/xsltdialog/xmlfilterjar.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/filter/source/xsltdialog/xmlfilterjar.cxx b/filter/source/xsltdialog/xmlfilterjar.cxx
index 4b6c633ee663..dc22a7ddbee8 100644
--- a/filter/source/xsltdialog/xmlfilterjar.cxx
+++ b/filter/source/xsltdialog/xmlfilterjar.cxx
@@ -57,7 +57,6 @@
#include "typedetectionexport.hxx"
#include "typedetectionimport.hxx"
-using namespace rtl;
using namespace osl;
using namespace comphelper;
using namespace com::sun::star;
@@ -69,6 +68,9 @@ using namespace com::sun::star::container;
using namespace com::sun::star::beans;
using namespace com::sun::star::io;
+using ::rtl::OUString;
+using ::rtl::Uri;
+
XMLFilterJarHelper::XMLFilterJarHelper( Reference< XMultiServiceFactory >& xMSF )
: mxMSF( xMSF ),
sVndSunStarPackage( RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.Package:" ) ),
@@ -223,7 +225,7 @@ bool XMLFilterJarHelper::savePackage( const OUString& rPackageURL, const XMLFilt
{
// in case of same named import / export XSLT the latter
// is ignored
- DBG_ERROR( "XMLFilterJarHelper::same named xslt filter exception!" );
+ OSL_FAIL( "XMLFilterJarHelper::same named xslt filter exception!" );
}
if( pFilter->maImportTemplate.getLength() )
@@ -260,7 +262,7 @@ bool XMLFilterJarHelper::savePackage( const OUString& rPackageURL, const XMLFilt
}
catch( Exception& )
{
- DBG_ERROR( "XMLFilterJarHelper::savePackage exception catched!" );
+ OSL_FAIL( "XMLFilterJarHelper::savePackage exception catched!" );
}
osl::File::remove( rPackageURL );
@@ -336,7 +338,7 @@ void XMLFilterJarHelper::openPackage( const OUString& rPackageURL, XMLFilterVect
}
catch( Exception& )
{
- DBG_ERROR( "XMLFilterJarHelper::savePackage exception catched!" );
+ OSL_FAIL( "XMLFilterJarHelper::savePackage exception catched!" );
}
}
@@ -398,7 +400,7 @@ bool XMLFilterJarHelper::copyFile( Reference< XHierarchicalNameAccess > xIfc, OU
}
catch( Exception& )
{
- DBG_ERROR( "XMLFilterJarHelper::copyFile exception catched" );
+ OSL_FAIL( "XMLFilterJarHelper::copyFile exception catched" );
}
return false;
}