Kaydet (Commit) 54d801cd authored tarafından Sascha Ballach's avatar Sascha Ballach

#90626#; add XNamed

üst 08cddab6
......@@ -2,9 +2,9 @@
*
* $RCSfile: xmlexp.cxx,v $
*
* $Revision: 1.97 $
* $Revision: 1.98 $
*
* last change: $Author: sab $ $Date: 2002-07-01 14:17:28 $
* last change: $Author: sab $ $Date: 2002-11-11 14:32:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -693,6 +693,11 @@ sal_Bool SAL_CALL SvXMLExport::filter( const uno::Sequence< beans::PropertyValue
if( !(rValue >>= sOrigFileName ) )
return sal_False;
}
else if (rPropName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "FilterName" ) ) )
{
if( !(rValue >>= sFilterName ) )
return sal_False;
}
}
#ifdef TIMELOG
......@@ -730,6 +735,19 @@ void SAL_CALL SvXMLExport::cancel() throw(uno::RuntimeException)
SetError(XMLERROR_CANCEL|XMLERROR_FLAG_SEVERE, aEmptySeq);
}
::rtl::OUString SAL_CALL SvXMLExport::getName( )
throw (::com::sun::star::uno::RuntimeException)
{
return sFilterName;
}
void SAL_CALL SvXMLExport::setName( const ::rtl::OUString& aName )
throw (::com::sun::star::uno::RuntimeException)
{
// do nothing, because it is not possible to set the FilterName
}
// XServiceInfo
OUString SAL_CALL SvXMLExport::getImplementationName( ) throw(uno::RuntimeException)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment