Remove visual noise from ucbhelper
Change-Id: Id9396eca64069f2f0ba636ac9efa090f121afdd3 Reviewed-on: https://gerrit.libreoffice.org/8330 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
committed by
Caolán McNamara
parent
3dd72c19eb
commit
c99a199488
@@ -30,39 +30,39 @@ using namespace com::sun::star;
|
|||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// ActiveDataSink Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// ActiveDataSink Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods
|
// XInterface methods
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_2( ActiveDataSink,
|
XINTERFACE_IMPL_2( ActiveDataSink,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
io::XActiveDataSink );
|
io::XActiveDataSink );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods
|
// XTypeProvider methods
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_2( ActiveDataSink,
|
XTYPEPROVIDER_IMPL_2( ActiveDataSink,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
io::XActiveDataSink );
|
io::XActiveDataSink );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XActiveDataSink methods.
|
// XActiveDataSink methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ActiveDataSink::setInputStream(
|
void SAL_CALL ActiveDataSink::setInputStream(
|
||||||
@@ -72,7 +72,7 @@ void SAL_CALL ActiveDataSink::setInputStream(
|
|||||||
m_xStream = aStream;
|
m_xStream = aStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< io::XInputStream > SAL_CALL ActiveDataSink::getInputStream()
|
uno::Reference< io::XInputStream > SAL_CALL ActiveDataSink::getInputStream()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
|
@@ -30,39 +30,39 @@ using namespace com::sun::star;
|
|||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// ActiveDataStreamer Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// ActiveDataStreamer Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods
|
// XInterface methods
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_2( ActiveDataStreamer,
|
XINTERFACE_IMPL_2( ActiveDataStreamer,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
io::XActiveDataStreamer );
|
io::XActiveDataStreamer );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods
|
// XTypeProvider methods
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_2( ActiveDataStreamer,
|
XTYPEPROVIDER_IMPL_2( ActiveDataStreamer,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
io::XActiveDataStreamer );
|
io::XActiveDataStreamer );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XActiveDataStreamer methods.
|
// XActiveDataStreamer methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ActiveDataStreamer::setStream( const uno::Reference< io::XStream >& xStream )
|
void SAL_CALL ActiveDataStreamer::setStream( const uno::Reference< io::XStream >& xStream )
|
||||||
@@ -71,7 +71,7 @@ void SAL_CALL ActiveDataStreamer::setStream( const uno::Reference< io::XStream >
|
|||||||
m_xStream = xStream;
|
m_xStream = xStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< io::XStream > SAL_CALL ActiveDataStreamer::getStream()
|
uno::Reference< io::XStream > SAL_CALL ActiveDataStreamer::getStream()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
|
@@ -38,13 +38,13 @@ using namespace com::sun::star::uno;
|
|||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// struct CommandEnvironment_Impl.
|
// struct CommandEnvironment_Impl.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
struct CommandEnvironment_Impl
|
struct CommandEnvironment_Impl
|
||||||
{
|
{
|
||||||
@@ -58,13 +58,13 @@ struct CommandEnvironment_Impl
|
|||||||
m_xProgressHandler( rxProgressHandler ) {}
|
m_xProgressHandler( rxProgressHandler ) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// CommandEnvironment Implementation.
|
// CommandEnvironment Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
CommandEnvironment::CommandEnvironment(
|
CommandEnvironment::CommandEnvironment(
|
||||||
const Reference< XInteractionHandler >& rxInteractionHandler,
|
const Reference< XInteractionHandler >& rxInteractionHandler,
|
||||||
@@ -74,38 +74,38 @@ CommandEnvironment::CommandEnvironment(
|
|||||||
rxProgressHandler );
|
rxProgressHandler );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
CommandEnvironment::~CommandEnvironment()
|
CommandEnvironment::~CommandEnvironment()
|
||||||
{
|
{
|
||||||
delete m_pImpl;
|
delete m_pImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods
|
// XInterface methods
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_2( CommandEnvironment,
|
XINTERFACE_IMPL_2( CommandEnvironment,
|
||||||
XTypeProvider,
|
XTypeProvider,
|
||||||
XCommandEnvironment );
|
XCommandEnvironment );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods
|
// XTypeProvider methods
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_2( CommandEnvironment,
|
XTYPEPROVIDER_IMPL_2( CommandEnvironment,
|
||||||
XTypeProvider,
|
XTypeProvider,
|
||||||
XCommandEnvironment );
|
XCommandEnvironment );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XCommandEnvironemnt methods.
|
// XCommandEnvironemnt methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
Reference< XInteractionHandler > SAL_CALL
|
Reference< XInteractionHandler > SAL_CALL
|
||||||
@@ -115,7 +115,7 @@ CommandEnvironment::getInteractionHandler()
|
|||||||
return m_pImpl->m_xInteractionHandler;
|
return m_pImpl->m_xInteractionHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Reference< XProgressHandler > SAL_CALL
|
Reference< XProgressHandler > SAL_CALL
|
||||||
CommandEnvironment::getProgressHandler()
|
CommandEnvironment::getProgressHandler()
|
||||||
|
@@ -125,13 +125,13 @@ void EmptyInputStream::closeInput()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// class ContentEventListener_Impl.
|
// class ContentEventListener_Impl.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
class ContentEventListener_Impl : public cppu::OWeakObject,
|
class ContentEventListener_Impl : public cppu::OWeakObject,
|
||||||
public XContentEventListener
|
public XContentEventListener
|
||||||
@@ -154,13 +154,13 @@ public:
|
|||||||
throw( RuntimeException );
|
throw( RuntimeException );
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// class Content_Impl.
|
// class Content_Impl.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
class Content_Impl : public salhelper::SimpleReferenceObject
|
class Content_Impl : public salhelper::SimpleReferenceObject
|
||||||
{
|
{
|
||||||
@@ -201,9 +201,9 @@ public:
|
|||||||
void inserted();
|
void inserted();
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// Helpers.
|
// Helpers.
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
static void ensureContentProviderForURL( const Reference< XUniversalContentBroker >& rBroker,
|
static void ensureContentProviderForURL( const Reference< XUniversalContentBroker >& rBroker,
|
||||||
const OUString & rURL )
|
const OUString & rURL )
|
||||||
@@ -220,7 +220,7 @@ static void ensureContentProviderForURL( const Reference< XUniversalContentBroke
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
static Reference< XContentIdentifier > getContentIdentifier(
|
static Reference< XContentIdentifier > getContentIdentifier(
|
||||||
const Reference< XUniversalContentBroker > & rBroker,
|
const Reference< XUniversalContentBroker > & rBroker,
|
||||||
const OUString & rURL,
|
const OUString & rURL,
|
||||||
@@ -246,7 +246,7 @@ static Reference< XContentIdentifier > getContentIdentifier(
|
|||||||
return Reference< XContentIdentifier >();
|
return Reference< XContentIdentifier >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
static Reference< XContent > getContent(
|
static Reference< XContent > getContent(
|
||||||
const Reference< XUniversalContentBroker > & rBroker,
|
const Reference< XUniversalContentBroker > & rBroker,
|
||||||
const Reference< XContentIdentifier > & xId,
|
const Reference< XContentIdentifier > & xId,
|
||||||
@@ -281,20 +281,20 @@ static Reference< XContent > getContent(
|
|||||||
return Reference< XContent >();
|
return Reference< XContent >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// Content Implementation.
|
// Content Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
Content::Content()
|
Content::Content()
|
||||||
: m_xImpl( new Content_Impl )
|
: m_xImpl( new Content_Impl )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Content::Content( const OUString& rURL,
|
Content::Content( const OUString& rURL,
|
||||||
const Reference< XCommandEnvironment >& rEnv,
|
const Reference< XCommandEnvironment >& rEnv,
|
||||||
const Reference< XComponentContext >& rCtx )
|
const Reference< XComponentContext >& rCtx )
|
||||||
@@ -311,7 +311,7 @@ Content::Content( const OUString& rURL,
|
|||||||
m_xImpl = new Content_Impl( rCtx, xContent, rEnv );
|
m_xImpl = new Content_Impl( rCtx, xContent, rEnv );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Content::Content( const Reference< XContent >& rContent,
|
Content::Content( const Reference< XContent >& rContent,
|
||||||
const Reference< XCommandEnvironment >& rEnv,
|
const Reference< XCommandEnvironment >& rEnv,
|
||||||
const Reference< XComponentContext >& rCtx )
|
const Reference< XComponentContext >& rCtx )
|
||||||
@@ -320,13 +320,13 @@ Content::Content( const Reference< XContent >& rContent,
|
|||||||
m_xImpl = new Content_Impl( rCtx, rContent, rEnv );
|
m_xImpl = new Content_Impl( rCtx, rContent, rEnv );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Content::Content( const Content& rOther )
|
Content::Content( const Content& rOther )
|
||||||
{
|
{
|
||||||
m_xImpl = rOther.m_xImpl;
|
m_xImpl = rOther.m_xImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// static
|
// static
|
||||||
bool Content::create( const OUString& rURL,
|
bool Content::create( const OUString& rURL,
|
||||||
const Reference< XCommandEnvironment >& rEnv,
|
const Reference< XCommandEnvironment >& rEnv,
|
||||||
@@ -351,44 +351,44 @@ bool Content::create( const OUString& rURL,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Content::~Content()
|
Content::~Content()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Content& Content::operator=( const Content& rOther )
|
Content& Content::operator=( const Content& rOther )
|
||||||
{
|
{
|
||||||
m_xImpl = rOther.m_xImpl;
|
m_xImpl = rOther.m_xImpl;
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XContent > Content::get() const
|
Reference< XContent > Content::get() const
|
||||||
{
|
{
|
||||||
return m_xImpl->getContent();
|
return m_xImpl->getContent();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
const OUString& Content::getURL() const
|
const OUString& Content::getURL() const
|
||||||
{
|
{
|
||||||
return m_xImpl->getURL();
|
return m_xImpl->getURL();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
const Reference< XCommandEnvironment >& Content::getCommandEnvironment() const
|
const Reference< XCommandEnvironment >& Content::getCommandEnvironment() const
|
||||||
{
|
{
|
||||||
return m_xImpl->getEnvironment();
|
return m_xImpl->getEnvironment();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void Content::setCommandEnvironment(
|
void Content::setCommandEnvironment(
|
||||||
const Reference< XCommandEnvironment >& xNewEnv )
|
const Reference< XCommandEnvironment >& xNewEnv )
|
||||||
{
|
{
|
||||||
m_xImpl->setEnvironment( xNewEnv );
|
m_xImpl->setEnvironment( xNewEnv );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XCommandInfo > Content::getCommands()
|
Reference< XCommandInfo > Content::getCommands()
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -404,7 +404,7 @@ Reference< XCommandInfo > Content::getCommands()
|
|||||||
return xInfo;
|
return xInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XPropertySetInfo > Content::getProperties()
|
Reference< XPropertySetInfo > Content::getProperties()
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -420,7 +420,7 @@ Reference< XPropertySetInfo > Content::getProperties()
|
|||||||
return xInfo;
|
return xInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Any Content::getPropertyValue( const OUString& rPropertyName )
|
Any Content::getPropertyValue( const OUString& rPropertyName )
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -431,7 +431,7 @@ Any Content::getPropertyValue( const OUString& rPropertyName )
|
|||||||
return aRet.getConstArray()[ 0 ];
|
return aRet.getConstArray()[ 0 ];
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Any Content::setPropertyValue( const OUString& rName,
|
Any Content::setPropertyValue( const OUString& rName,
|
||||||
const Any& rValue )
|
const Any& rValue )
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
@@ -446,7 +446,7 @@ Any Content::setPropertyValue( const OUString& rName,
|
|||||||
return aErrors.getConstArray()[ 0 ];
|
return aErrors.getConstArray()[ 0 ];
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Sequence< Any > Content::getPropertyValues(
|
Sequence< Any > Content::getPropertyValues(
|
||||||
const Sequence< OUString >& rPropertyNames )
|
const Sequence< OUString >& rPropertyNames )
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
@@ -467,7 +467,7 @@ Sequence< Any > Content::getPropertyValues(
|
|||||||
return aValues;
|
return aValues;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XRow > Content::getPropertyValuesInterface(
|
Reference< XRow > Content::getPropertyValuesInterface(
|
||||||
const Sequence< OUString >& rPropertyNames )
|
const Sequence< OUString >& rPropertyNames )
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
@@ -500,7 +500,7 @@ Reference< XRow > Content::getPropertyValuesInterface(
|
|||||||
return xRow;
|
return xRow;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Sequence< Any > Content::setPropertyValues(
|
Sequence< Any > Content::setPropertyValues(
|
||||||
const Sequence< OUString >& rPropertyNames,
|
const Sequence< OUString >& rPropertyNames,
|
||||||
const Sequence< Any >& rValues )
|
const Sequence< Any >& rValues )
|
||||||
@@ -548,7 +548,7 @@ Sequence< Any > Content::setPropertyValues(
|
|||||||
return aErrors;
|
return aErrors;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Any Content::executeCommand( const OUString& rCommandName,
|
Any Content::executeCommand( const OUString& rCommandName,
|
||||||
const Any& rCommandArgument )
|
const Any& rCommandArgument )
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
@@ -561,7 +561,7 @@ Any Content::executeCommand( const OUString& rCommandName,
|
|||||||
return m_xImpl->executeCommand( aCommand );
|
return m_xImpl->executeCommand( aCommand );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Any Content::createCursorAny( const Sequence< OUString >& rPropertyNames,
|
Any Content::createCursorAny( const Sequence< OUString >& rPropertyNames,
|
||||||
ResultSetInclude eMode )
|
ResultSetInclude eMode )
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
@@ -594,7 +594,7 @@ Any Content::createCursorAny( const Sequence< OUString >& rPropertyNames,
|
|||||||
return m_xImpl->executeCommand( aCommand );
|
return m_xImpl->executeCommand( aCommand );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XResultSet > Content::createCursor(
|
Reference< XResultSet > Content::createCursor(
|
||||||
const Sequence< OUString >& rPropertyNames,
|
const Sequence< OUString >& rPropertyNames,
|
||||||
ResultSetInclude eMode )
|
ResultSetInclude eMode )
|
||||||
@@ -624,7 +624,7 @@ Reference< XResultSet > Content::createCursor(
|
|||||||
return aResult;
|
return aResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XDynamicResultSet > Content::createDynamicCursor(
|
Reference< XDynamicResultSet > Content::createDynamicCursor(
|
||||||
const Sequence< OUString >& rPropertyNames,
|
const Sequence< OUString >& rPropertyNames,
|
||||||
ResultSetInclude eMode )
|
ResultSetInclude eMode )
|
||||||
@@ -638,7 +638,7 @@ Reference< XDynamicResultSet > Content::createDynamicCursor(
|
|||||||
return aResult;
|
return aResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XResultSet > Content::createSortedCursor(
|
Reference< XResultSet > Content::createSortedCursor(
|
||||||
const Sequence< OUString >& rPropertyNames,
|
const Sequence< OUString >& rPropertyNames,
|
||||||
const Sequence< NumberedSortingInfo >& rSortInfo,
|
const Sequence< NumberedSortingInfo >& rSortInfo,
|
||||||
@@ -690,7 +690,7 @@ Reference< XResultSet > Content::createSortedCursor(
|
|||||||
return aResult;
|
return aResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XInputStream > Content::openStream()
|
Reference< XInputStream > Content::openStream()
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -715,7 +715,7 @@ Reference< XInputStream > Content::openStream()
|
|||||||
return xSink->getInputStream();
|
return xSink->getInputStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XInputStream > Content::openStreamNoLock()
|
Reference< XInputStream > Content::openStreamNoLock()
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -740,7 +740,7 @@ Reference< XInputStream > Content::openStreamNoLock()
|
|||||||
return xSink->getInputStream();
|
return xSink->getInputStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XStream > Content::openWriteableStream()
|
Reference< XStream > Content::openWriteableStream()
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -765,7 +765,7 @@ Reference< XStream > Content::openWriteableStream()
|
|||||||
return xStreamer->getStream();
|
return xStreamer->getStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XStream > Content::openWriteableStreamNoLock()
|
Reference< XStream > Content::openWriteableStreamNoLock()
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -790,7 +790,7 @@ Reference< XStream > Content::openWriteableStreamNoLock()
|
|||||||
return xStreamer->getStream();
|
return xStreamer->getStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool Content::openStream( const Reference< XActiveDataSink >& rSink )
|
bool Content::openStream( const Reference< XActiveDataSink >& rSink )
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -813,7 +813,7 @@ bool Content::openStream( const Reference< XActiveDataSink >& rSink )
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool Content::openStream( const Reference< XOutputStream >& rStream )
|
bool Content::openStream( const Reference< XOutputStream >& rStream )
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -836,7 +836,7 @@ bool Content::openStream( const Reference< XOutputStream >& rStream )
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void Content::writeStream( const Reference< XInputStream >& rStream,
|
void Content::writeStream( const Reference< XInputStream >& rStream,
|
||||||
bool bReplaceExisting )
|
bool bReplaceExisting )
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
@@ -855,7 +855,7 @@ void Content::writeStream( const Reference< XInputStream >& rStream,
|
|||||||
m_xImpl->inserted();
|
m_xImpl->inserted();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Sequence< ContentInfo > Content::queryCreatableContentsInfo()
|
Sequence< ContentInfo > Content::queryCreatableContentsInfo()
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -875,7 +875,7 @@ Sequence< ContentInfo > Content::queryCreatableContentsInfo()
|
|||||||
return aInfo;
|
return aInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool Content::insertNewContent( const OUString& rContentType,
|
bool Content::insertNewContent( const OUString& rContentType,
|
||||||
const Sequence< OUString >&
|
const Sequence< OUString >&
|
||||||
rPropertyNames,
|
rPropertyNames,
|
||||||
@@ -890,7 +890,7 @@ bool Content::insertNewContent( const OUString& rContentType,
|
|||||||
rNewContent );
|
rNewContent );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool Content::insertNewContent( const OUString& rContentType,
|
bool Content::insertNewContent( const OUString& rContentType,
|
||||||
const Sequence< OUString >&
|
const Sequence< OUString >&
|
||||||
rPropertyNames,
|
rPropertyNames,
|
||||||
@@ -954,7 +954,7 @@ bool Content::insertNewContent( const OUString& rContentType,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool Content::transferContent( const Content& rSourceContent,
|
bool Content::transferContent( const Content& rSourceContent,
|
||||||
InsertOperation eOperation,
|
InsertOperation eOperation,
|
||||||
const OUString & rTitle,
|
const OUString & rTitle,
|
||||||
@@ -1033,7 +1033,7 @@ bool Content::transferContent( const Content& rSourceContent,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool Content::isFolder()
|
bool Content::isFolder()
|
||||||
throw( CommandAbortedException, RuntimeException, Exception )
|
throw( CommandAbortedException, RuntimeException, Exception )
|
||||||
{
|
{
|
||||||
@@ -1056,7 +1056,7 @@ bool Content::isFolder()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
SAL_WNOUNREACHABLE_CODE_PUSH
|
SAL_WNOUNREACHABLE_CODE_PUSH
|
||||||
|
|
||||||
@@ -1082,13 +1082,13 @@ bool Content::isDocument()
|
|||||||
|
|
||||||
SAL_WNOUNREACHABLE_CODE_POP
|
SAL_WNOUNREACHABLE_CODE_POP
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// Content_Impl Implementation.
|
// Content_Impl Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
Content_Impl::Content_Impl( const Reference< XComponentContext >& rCtx,
|
Content_Impl::Content_Impl( const Reference< XComponentContext >& rCtx,
|
||||||
const Reference< XContent >& rContent,
|
const Reference< XContent >& rContent,
|
||||||
@@ -1111,7 +1111,7 @@ Content_Impl::Content_Impl( const Reference< XComponentContext >& rCtx,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void Content_Impl::reinit( const Reference< XContent >& xContent )
|
void Content_Impl::reinit( const Reference< XContent >& xContent )
|
||||||
{
|
{
|
||||||
osl::MutexGuard aGuard( m_aMutex );
|
osl::MutexGuard aGuard( m_aMutex );
|
||||||
@@ -1152,7 +1152,7 @@ void Content_Impl::reinit( const Reference< XContent >& xContent )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Content_Impl::~Content_Impl()
|
Content_Impl::~Content_Impl()
|
||||||
{
|
{
|
||||||
@@ -1168,7 +1168,7 @@ Content_Impl::~Content_Impl()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void Content_Impl::disposing( const EventObject& Source )
|
void Content_Impl::disposing( const EventObject& Source )
|
||||||
{
|
{
|
||||||
Reference<XContent> xContent;
|
Reference<XContent> xContent;
|
||||||
@@ -1197,7 +1197,7 @@ void Content_Impl::disposing( const EventObject& Source )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
const OUString& Content_Impl::getURL() const
|
const OUString& Content_Impl::getURL() const
|
||||||
{
|
{
|
||||||
if ( m_aURL.isEmpty() && m_xContent.is() )
|
if ( m_aURL.isEmpty() && m_xContent.is() )
|
||||||
@@ -1215,7 +1215,7 @@ const OUString& Content_Impl::getURL() const
|
|||||||
return m_aURL;
|
return m_aURL;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XContent > Content_Impl::getContent()
|
Reference< XContent > Content_Impl::getContent()
|
||||||
{
|
{
|
||||||
if ( !m_xContent.is() && !m_aURL.isEmpty() )
|
if ( !m_xContent.is() && !m_aURL.isEmpty() )
|
||||||
@@ -1255,7 +1255,7 @@ Reference< XContent > Content_Impl::getContent()
|
|||||||
return m_xContent;
|
return m_xContent;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Reference< XCommandProcessor > Content_Impl::getCommandProcessor()
|
Reference< XCommandProcessor > Content_Impl::getCommandProcessor()
|
||||||
{
|
{
|
||||||
if ( !m_xCommandProcessor.is() )
|
if ( !m_xCommandProcessor.is() )
|
||||||
@@ -1270,7 +1270,7 @@ Reference< XCommandProcessor > Content_Impl::getCommandProcessor()
|
|||||||
return m_xCommandProcessor;
|
return m_xCommandProcessor;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
Any Content_Impl::executeCommand( const Command& rCommand )
|
Any Content_Impl::executeCommand( const Command& rCommand )
|
||||||
{
|
{
|
||||||
Reference< XCommandProcessor > xProc = getCommandProcessor();
|
Reference< XCommandProcessor > xProc = getCommandProcessor();
|
||||||
@@ -1281,14 +1281,14 @@ Any Content_Impl::executeCommand( const Command& rCommand )
|
|||||||
return xProc->execute( rCommand, 0, m_xEnv );
|
return xProc->execute( rCommand, 0, m_xEnv );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
inline const Reference< XCommandEnvironment >&
|
inline const Reference< XCommandEnvironment >&
|
||||||
Content_Impl::getEnvironment() const
|
Content_Impl::getEnvironment() const
|
||||||
{
|
{
|
||||||
return m_xEnv;
|
return m_xEnv;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
inline void Content_Impl::setEnvironment(
|
inline void Content_Impl::setEnvironment(
|
||||||
const Reference< XCommandEnvironment >& xNewEnv )
|
const Reference< XCommandEnvironment >& xNewEnv )
|
||||||
{
|
{
|
||||||
@@ -1296,7 +1296,7 @@ inline void Content_Impl::setEnvironment(
|
|||||||
m_xEnv = xNewEnv;
|
m_xEnv = xNewEnv;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void Content_Impl::inserted()
|
void Content_Impl::inserted()
|
||||||
{
|
{
|
||||||
// URL might have changed during 'insert' => recalculate in next getURL()
|
// URL might have changed during 'insert' => recalculate in next getURL()
|
||||||
@@ -1304,29 +1304,29 @@ void Content_Impl::inserted()
|
|||||||
m_aURL = "";
|
m_aURL = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// ContentEventListener_Impl Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// ContentEventListener_Impl Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_2( ContentEventListener_Impl,
|
XINTERFACE_IMPL_2( ContentEventListener_Impl,
|
||||||
XContentEventListener,
|
XContentEventListener,
|
||||||
XEventListener ); /* base of XContentEventListener */
|
XEventListener ); /* base of XContentEventListener */
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XContentEventListener methods.
|
// XContentEventListener methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ContentEventListener_Impl::contentEvent( const ContentEvent& evt )
|
void SAL_CALL ContentEventListener_Impl::contentEvent( const ContentEvent& evt )
|
||||||
@@ -1350,11 +1350,11 @@ void SAL_CALL ContentEventListener_Impl::contentEvent( const ContentEvent& evt )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XEventListenr methods.
|
// XEventListenr methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ContentEventListener_Impl::disposing( const EventObject& Source )
|
void SAL_CALL ContentEventListener_Impl::disposing( const EventObject& Source )
|
||||||
|
@@ -31,11 +31,11 @@ using namespace com::sun::star;
|
|||||||
|
|
||||||
namespace ucbhelper {
|
namespace ucbhelper {
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
//
|
|
||||||
// getLocalFileURL
|
// getLocalFileURL
|
||||||
//
|
|
||||||
//============================================================================
|
|
||||||
|
|
||||||
OUString
|
OUString
|
||||||
getLocalFileURL() SAL_THROW((uno::RuntimeException))
|
getLocalFileURL() SAL_THROW((uno::RuntimeException))
|
||||||
@@ -47,11 +47,11 @@ getLocalFileURL() SAL_THROW((uno::RuntimeException))
|
|||||||
return OUString("file:///");
|
return OUString("file:///");
|
||||||
}
|
}
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
//
|
|
||||||
// getFileURLFromSystemPath
|
// getFileURLFromSystemPath
|
||||||
//
|
|
||||||
//============================================================================
|
|
||||||
|
|
||||||
OUString
|
OUString
|
||||||
getFileURLFromSystemPath(
|
getFileURLFromSystemPath(
|
||||||
@@ -70,11 +70,11 @@ getFileURLFromSystemPath(
|
|||||||
return OUString();
|
return OUString();
|
||||||
}
|
}
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
//
|
|
||||||
// getSystemPathFromFileURL
|
// getSystemPathFromFileURL
|
||||||
//
|
|
||||||
//============================================================================
|
|
||||||
|
|
||||||
OUString
|
OUString
|
||||||
getSystemPathFromFileURL(
|
getSystemPathFromFileURL(
|
||||||
|
@@ -52,11 +52,11 @@ using namespace ucbhelper;
|
|||||||
#define FTP_PROXY_NAME_KEY "ooInetFTPProxyName"
|
#define FTP_PROXY_NAME_KEY "ooInetFTPProxyName"
|
||||||
#define FTP_PROXY_PORT_KEY "ooInetFTPProxyPort"
|
#define FTP_PROXY_PORT_KEY "ooInetFTPProxyPort"
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
namespace proxydecider_impl
|
namespace proxydecider_impl
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -75,10 +75,10 @@ public:
|
|||||||
bool Matches( const OUString & rStr ) const;
|
bool Matches( const OUString & rStr ) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
typedef std::pair< WildCard, WildCard > NoProxyListEntry;
|
typedef std::pair< WildCard, WildCard > NoProxyListEntry;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
class HostnameCache
|
class HostnameCache
|
||||||
{
|
{
|
||||||
@@ -119,7 +119,7 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
class InternetProxyDecider_Impl :
|
class InternetProxyDecider_Impl :
|
||||||
public cppu::WeakImplHelper1< util::XChangesListener >
|
public cppu::WeakImplHelper1< util::XChangesListener >
|
||||||
{
|
{
|
||||||
@@ -160,13 +160,13 @@ private:
|
|||||||
void setNoProxyList( const OUString & rNoProxyList );
|
void setNoProxyList( const OUString & rNoProxyList );
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// WildCard Implementation.
|
// WildCard Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
bool WildCard::Matches( const OUString& rString ) const
|
bool WildCard::Matches( const OUString& rString ) const
|
||||||
{
|
{
|
||||||
@@ -236,7 +236,7 @@ bool WildCard::Matches( const OUString& rString ) const
|
|||||||
return ( *pStr == '\0' ) && ( *pWild == '\0' );
|
return ( *pStr == '\0' ) && ( *pWild == '\0' );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool getConfigStringValue(
|
bool getConfigStringValue(
|
||||||
const uno::Reference< container::XNameAccess > & xNameAccess,
|
const uno::Reference< container::XNameAccess > & xNameAccess,
|
||||||
const char * key,
|
const char * key,
|
||||||
@@ -263,7 +263,7 @@ bool getConfigStringValue(
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool getConfigInt32Value(
|
bool getConfigInt32Value(
|
||||||
const uno::Reference< container::XNameAccess > & xNameAccess,
|
const uno::Reference< container::XNameAccess > & xNameAccess,
|
||||||
const char * key,
|
const char * key,
|
||||||
@@ -291,13 +291,13 @@ bool getConfigInt32Value(
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InternetProxyDecider_Impl Implementation.
|
// InternetProxyDecider_Impl Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
InternetProxyDecider_Impl::InternetProxyDecider_Impl(
|
InternetProxyDecider_Impl::InternetProxyDecider_Impl(
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext )
|
const uno::Reference< uno::XComponentContext >& rxContext )
|
||||||
@@ -306,9 +306,9 @@ InternetProxyDecider_Impl::InternetProxyDecider_Impl(
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
//////////////////////////////////////////////////////////////
|
|
||||||
// Read proxy configuration from config db.
|
// Read proxy configuration from config db.
|
||||||
//////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
uno::Reference< lang::XMultiServiceFactory > xConfigProv =
|
uno::Reference< lang::XMultiServiceFactory > xConfigProv =
|
||||||
configuration::theDefaultProvider::get( rxContext );
|
configuration::theDefaultProvider::get( rxContext );
|
||||||
@@ -392,13 +392,13 @@ InternetProxyDecider_Impl::InternetProxyDecider_Impl(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
InternetProxyDecider_Impl::~InternetProxyDecider_Impl()
|
InternetProxyDecider_Impl::~InternetProxyDecider_Impl()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void InternetProxyDecider_Impl::dispose()
|
void InternetProxyDecider_Impl::dispose()
|
||||||
{
|
{
|
||||||
uno::Reference< util::XChangesNotifier > xNotifier;
|
uno::Reference< util::XChangesNotifier > xNotifier;
|
||||||
@@ -419,7 +419,7 @@ void InternetProxyDecider_Impl::dispose()
|
|||||||
xNotifier->removeChangesListener( this );
|
xNotifier->removeChangesListener( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool InternetProxyDecider_Impl::shouldUseProxy( const OUString & rHost,
|
bool InternetProxyDecider_Impl::shouldUseProxy( const OUString & rHost,
|
||||||
sal_Int32 nPort,
|
sal_Int32 nPort,
|
||||||
bool bUseFullyQualified ) const
|
bool bUseFullyQualified ) const
|
||||||
@@ -467,7 +467,7 @@ bool InternetProxyDecider_Impl::shouldUseProxy( const OUString & rHost,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
const InternetProxyServer & InternetProxyDecider_Impl::getProxy(
|
const InternetProxyServer & InternetProxyDecider_Impl::getProxy(
|
||||||
const OUString & rProtocol,
|
const OUString & rProtocol,
|
||||||
const OUString & rHost,
|
const OUString & rHost,
|
||||||
@@ -483,16 +483,16 @@ const InternetProxyServer & InternetProxyDecider_Impl::getProxy(
|
|||||||
|
|
||||||
if ( !rHost.isEmpty() && !m_aNoProxyList.empty() )
|
if ( !rHost.isEmpty() && !m_aNoProxyList.empty() )
|
||||||
{
|
{
|
||||||
//////////////////////////////////////////////////////////////////
|
|
||||||
// First, try direct hostname match - #110515#
|
// First, try direct hostname match - #110515#
|
||||||
//////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
if ( !shouldUseProxy( rHost, nPort, false ) )
|
if ( !shouldUseProxy( rHost, nPort, false ) )
|
||||||
return m_aEmptyProxy;
|
return m_aEmptyProxy;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
|
||||||
// Second, try match against full qualified hostname - #104401#
|
// Second, try match against full qualified hostname - #104401#
|
||||||
//////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
OUString aHost;
|
OUString aHost;
|
||||||
|
|
||||||
@@ -527,15 +527,15 @@ const InternetProxyServer & InternetProxyDecider_Impl::getProxy(
|
|||||||
return m_aEmptyProxy;
|
return m_aEmptyProxy;
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
|
||||||
// Third, try match of fully qualified entries in no-proxy list
|
// Third, try match of fully qualified entries in no-proxy list
|
||||||
// against full qualified hostname
|
// against full qualified hostname
|
||||||
//
|
|
||||||
// Example:
|
// Example:
|
||||||
// list: staroffice-doc -> full: xyz.germany.sun.com
|
// list: staroffice-doc -> full: xyz.germany.sun.com
|
||||||
// in: staroffice-doc.germany.sun.com -> full: xyz.germany.sun.com
|
// in: staroffice-doc.germany.sun.com -> full: xyz.germany.sun.com
|
||||||
//
|
|
||||||
//////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
if ( !shouldUseProxy( aFullyQualifiedHost, nPort, true ) )
|
if ( !shouldUseProxy( aFullyQualifiedHost, nPort, true ) )
|
||||||
return m_aEmptyProxy;
|
return m_aEmptyProxy;
|
||||||
@@ -559,7 +559,7 @@ const InternetProxyServer & InternetProxyDecider_Impl::getProxy(
|
|||||||
return m_aEmptyProxy;
|
return m_aEmptyProxy;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InternetProxyDecider_Impl::changesOccurred(
|
void SAL_CALL InternetProxyDecider_Impl::changesOccurred(
|
||||||
const util::ChangesEvent& Event )
|
const util::ChangesEvent& Event )
|
||||||
@@ -656,7 +656,7 @@ void SAL_CALL InternetProxyDecider_Impl::changesOccurred(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InternetProxyDecider_Impl::disposing(const lang::EventObject&)
|
void SAL_CALL InternetProxyDecider_Impl::disposing(const lang::EventObject&)
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -670,7 +670,7 @@ void SAL_CALL InternetProxyDecider_Impl::disposing(const lang::EventObject&)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void InternetProxyDecider_Impl::setNoProxyList(
|
void InternetProxyDecider_Impl::setNoProxyList(
|
||||||
const OUString & rNoProxyList )
|
const OUString & rNoProxyList )
|
||||||
{
|
{
|
||||||
@@ -783,13 +783,13 @@ void InternetProxyDecider_Impl::setNoProxyList(
|
|||||||
|
|
||||||
} // namespace proxydecider_impl
|
} // namespace proxydecider_impl
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InternetProxyDecider Implementation.
|
// InternetProxyDecider Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
InternetProxyDecider::InternetProxyDecider(
|
InternetProxyDecider::InternetProxyDecider(
|
||||||
const uno::Reference< uno::XComponentContext>& rxContext )
|
const uno::Reference< uno::XComponentContext>& rxContext )
|
||||||
@@ -798,7 +798,7 @@ InternetProxyDecider::InternetProxyDecider(
|
|||||||
m_pImpl->acquire();
|
m_pImpl->acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
InternetProxyDecider::~InternetProxyDecider()
|
InternetProxyDecider::~InternetProxyDecider()
|
||||||
{
|
{
|
||||||
// Break circular reference between config listener and notifier.
|
// Break circular reference between config listener and notifier.
|
||||||
@@ -808,7 +808,7 @@ InternetProxyDecider::~InternetProxyDecider()
|
|||||||
m_pImpl->release();
|
m_pImpl->release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool InternetProxyDecider::shouldUseProxy( const OUString & rProtocol,
|
bool InternetProxyDecider::shouldUseProxy( const OUString & rProtocol,
|
||||||
const OUString & rHost,
|
const OUString & rHost,
|
||||||
sal_Int32 nPort ) const
|
sal_Int32 nPort ) const
|
||||||
@@ -819,7 +819,7 @@ bool InternetProxyDecider::shouldUseProxy( const OUString & rProtocol,
|
|||||||
return !rData.aName.isEmpty();
|
return !rData.aName.isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
const InternetProxyServer & InternetProxyDecider::getProxy(
|
const InternetProxyServer & InternetProxyDecider::getProxy(
|
||||||
const OUString & rProtocol,
|
const OUString & rProtocol,
|
||||||
const OUString & rHost,
|
const OUString & rHost,
|
||||||
|
@@ -39,7 +39,7 @@ using namespace com::sun::star;
|
|||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void cancelCommandExecution( const uno::Any & rException,
|
void cancelCommandExecution( const uno::Any & rException,
|
||||||
const uno::Reference<
|
const uno::Reference<
|
||||||
ucb::XCommandEnvironment > & xEnv )
|
ucb::XCommandEnvironment > & xEnv )
|
||||||
@@ -80,7 +80,7 @@ void cancelCommandExecution( const uno::Any & rException,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void cancelCommandExecution( const ucb::IOErrorCode eError,
|
void cancelCommandExecution( const ucb::IOErrorCode eError,
|
||||||
const uno::Sequence< uno::Any > & rArgs,
|
const uno::Sequence< uno::Any > & rArgs,
|
||||||
const uno::Reference<
|
const uno::Reference<
|
||||||
|
@@ -36,13 +36,13 @@ using namespace com::sun::star::ucb;
|
|||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// struct ContentIdentifier_Impl.
|
// struct ContentIdentifier_Impl.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
struct ContentIdentifier_Impl
|
struct ContentIdentifier_Impl
|
||||||
{
|
{
|
||||||
@@ -53,11 +53,11 @@ struct ContentIdentifier_Impl
|
|||||||
ContentIdentifier_Impl( const OUString& rURL );
|
ContentIdentifier_Impl( const OUString& rURL );
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// ContentIdentifier_Impl Implementation.
|
// ContentIdentifier_Impl Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
ContentIdentifier_Impl::ContentIdentifier_Impl(const OUString& rURL )
|
ContentIdentifier_Impl::ContentIdentifier_Impl(const OUString& rURL )
|
||||||
{
|
{
|
||||||
@@ -74,45 +74,45 @@ ContentIdentifier_Impl::ContentIdentifier_Impl(const OUString& rURL )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// ContentIdentifier Implementation.
|
// ContentIdentifier Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
ContentIdentifier::ContentIdentifier( const OUString& rURL )
|
ContentIdentifier::ContentIdentifier( const OUString& rURL )
|
||||||
{
|
{
|
||||||
m_pImpl = new ContentIdentifier_Impl( rURL );
|
m_pImpl = new ContentIdentifier_Impl( rURL );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
ContentIdentifier::~ContentIdentifier()
|
ContentIdentifier::~ContentIdentifier()
|
||||||
{
|
{
|
||||||
delete m_pImpl;
|
delete m_pImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
|
// XInterface methods.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ContentIdentifier::acquire() throw()
|
void SAL_CALL ContentIdentifier::acquire() throw()
|
||||||
{
|
{
|
||||||
OWeakObject::acquire();
|
OWeakObject::acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ContentIdentifier::release() throw()
|
void SAL_CALL ContentIdentifier::release() throw()
|
||||||
{
|
{
|
||||||
OWeakObject::release();
|
OWeakObject::release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Any SAL_CALL
|
Any SAL_CALL
|
||||||
ContentIdentifier::queryInterface( const Type & rType )
|
ContentIdentifier::queryInterface( const Type & rType )
|
||||||
@@ -125,11 +125,11 @@ ContentIdentifier::queryInterface( const Type & rType )
|
|||||||
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
|
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
Sequence< sal_Int8 > SAL_CALL
|
Sequence< sal_Int8 > SAL_CALL
|
||||||
@@ -149,7 +149,7 @@ ContentIdentifier::getImplementationId()
|
|||||||
return (*pId).getImplementationId();
|
return (*pId).getImplementationId();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Sequence< com::sun::star::uno::Type > SAL_CALL
|
Sequence< com::sun::star::uno::Type > SAL_CALL
|
||||||
ContentIdentifier::getTypes()
|
ContentIdentifier::getTypes()
|
||||||
@@ -172,11 +172,11 @@ ContentIdentifier::getTypes()
|
|||||||
return (*pCollection).getTypes();
|
return (*pCollection).getTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XContentIdentifier methods.
|
// XContentIdentifier methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ContentIdentifier::getContentIdentifier()
|
OUString SAL_CALL ContentIdentifier::getContentIdentifier()
|
||||||
@@ -185,7 +185,7 @@ OUString SAL_CALL ContentIdentifier::getContentIdentifier()
|
|||||||
return m_pImpl->m_aContentId;
|
return m_pImpl->m_aContentId;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ContentIdentifier::getContentProviderScheme()
|
OUString SAL_CALL ContentIdentifier::getContentProviderScheme()
|
||||||
throw( RuntimeException )
|
throw( RuntimeException )
|
||||||
|
@@ -32,13 +32,13 @@
|
|||||||
|
|
||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// PropertySetInfo Implementation.
|
// PropertySetInfo Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
namespace ucbhelper {
|
namespace ucbhelper {
|
||||||
|
|
||||||
@@ -51,38 +51,38 @@ PropertySetInfo::PropertySetInfo(
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
PropertySetInfo::~PropertySetInfo()
|
PropertySetInfo::~PropertySetInfo()
|
||||||
{
|
{
|
||||||
delete m_pProps;
|
delete m_pProps;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_2( PropertySetInfo,
|
XINTERFACE_IMPL_2( PropertySetInfo,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
beans::XPropertySetInfo );
|
beans::XPropertySetInfo );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_2( PropertySetInfo,
|
XTYPEPROVIDER_IMPL_2( PropertySetInfo,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
beans::XPropertySetInfo );
|
beans::XPropertySetInfo );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XPropertySetInfo methods.
|
// XPropertySetInfo methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
|
uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
|
||||||
@@ -93,9 +93,9 @@ uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
|
|||||||
osl::MutexGuard aGuard( m_aMutex );
|
osl::MutexGuard aGuard( m_aMutex );
|
||||||
if ( !m_pProps )
|
if ( !m_pProps )
|
||||||
{
|
{
|
||||||
//////////////////////////////////////////////////////////////
|
|
||||||
// Get info for core ( native) properties.
|
// Get info for core ( native) properties.
|
||||||
//////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -112,9 +112,9 @@ uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
|
|||||||
m_pProps = new uno::Sequence< beans::Property >( 0 );
|
m_pProps = new uno::Sequence< beans::Property >( 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////
|
|
||||||
// Get info for additional properties.
|
// Get info for additional properties.
|
||||||
//////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
uno::Reference< com::sun::star::ucb::XPersistentPropertySet >
|
uno::Reference< com::sun::star::ucb::XPersistentPropertySet >
|
||||||
xSet ( m_pContent->getAdditionalPropertySet( false ) );
|
xSet ( m_pContent->getAdditionalPropertySet( false ) );
|
||||||
@@ -148,7 +148,7 @@ uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
|
|||||||
return *m_pProps;
|
return *m_pProps;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
|
beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
|
||||||
const OUString& aName )
|
const OUString& aName )
|
||||||
@@ -161,7 +161,7 @@ beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
|
|||||||
throw beans::UnknownPropertyException();
|
throw beans::UnknownPropertyException();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
|
sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
|
||||||
const OUString& Name )
|
const OUString& Name )
|
||||||
@@ -171,11 +171,11 @@ sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
|
|||||||
return queryProperty( Name, aProp );
|
return queryProperty( Name, aProp );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// Non-Interface methods.
|
// Non-Interface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
void PropertySetInfo::reset()
|
void PropertySetInfo::reset()
|
||||||
{
|
{
|
||||||
@@ -184,7 +184,7 @@ void PropertySetInfo::reset()
|
|||||||
m_pProps = 0;
|
m_pProps = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool PropertySetInfo::queryProperty(
|
bool PropertySetInfo::queryProperty(
|
||||||
const OUString& rName, beans::Property& rProp )
|
const OUString& rName, beans::Property& rProp )
|
||||||
{
|
{
|
||||||
@@ -207,13 +207,13 @@ bool PropertySetInfo::queryProperty(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// CommandProcessorInfo Implementation.
|
// CommandProcessorInfo Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
CommandProcessorInfo::CommandProcessorInfo(
|
CommandProcessorInfo::CommandProcessorInfo(
|
||||||
const uno::Reference< com::sun::star::ucb::XCommandEnvironment >& rxEnv,
|
const uno::Reference< com::sun::star::ucb::XCommandEnvironment >& rxEnv,
|
||||||
@@ -224,38 +224,38 @@ CommandProcessorInfo::CommandProcessorInfo(
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
CommandProcessorInfo::~CommandProcessorInfo()
|
CommandProcessorInfo::~CommandProcessorInfo()
|
||||||
{
|
{
|
||||||
delete m_pCommands;
|
delete m_pCommands;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_2( CommandProcessorInfo,
|
XINTERFACE_IMPL_2( CommandProcessorInfo,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
com::sun::star::ucb::XCommandInfo );
|
com::sun::star::ucb::XCommandInfo );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_2( CommandProcessorInfo,
|
XTYPEPROVIDER_IMPL_2( CommandProcessorInfo,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
com::sun::star::ucb::XCommandInfo );
|
com::sun::star::ucb::XCommandInfo );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XCommandInfo methods.
|
// XCommandInfo methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< com::sun::star::ucb::CommandInfo > SAL_CALL
|
uno::Sequence< com::sun::star::ucb::CommandInfo > SAL_CALL
|
||||||
@@ -267,9 +267,9 @@ CommandProcessorInfo::getCommands()
|
|||||||
osl::MutexGuard aGuard( m_aMutex );
|
osl::MutexGuard aGuard( m_aMutex );
|
||||||
if ( !m_pCommands )
|
if ( !m_pCommands )
|
||||||
{
|
{
|
||||||
//////////////////////////////////////////////////////////////
|
|
||||||
// Get info for commands.
|
// Get info for commands.
|
||||||
//////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -294,7 +294,7 @@ CommandProcessorInfo::getCommands()
|
|||||||
return *m_pCommands;
|
return *m_pCommands;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
com::sun::star::ucb::CommandInfo SAL_CALL
|
com::sun::star::ucb::CommandInfo SAL_CALL
|
||||||
CommandProcessorInfo::getCommandInfoByName(
|
CommandProcessorInfo::getCommandInfoByName(
|
||||||
@@ -309,7 +309,7 @@ CommandProcessorInfo::getCommandInfoByName(
|
|||||||
throw com::sun::star::ucb::UnsupportedCommandException();
|
throw com::sun::star::ucb::UnsupportedCommandException();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
com::sun::star::ucb::CommandInfo SAL_CALL
|
com::sun::star::ucb::CommandInfo SAL_CALL
|
||||||
CommandProcessorInfo::getCommandInfoByHandle( sal_Int32 Handle )
|
CommandProcessorInfo::getCommandInfoByHandle( sal_Int32 Handle )
|
||||||
@@ -323,7 +323,7 @@ CommandProcessorInfo::getCommandInfoByHandle( sal_Int32 Handle )
|
|||||||
throw com::sun::star::ucb::UnsupportedCommandException();
|
throw com::sun::star::ucb::UnsupportedCommandException();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByName(
|
sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByName(
|
||||||
const OUString& Name )
|
const OUString& Name )
|
||||||
@@ -333,7 +333,7 @@ sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByName(
|
|||||||
return queryCommand( Name, aInfo );
|
return queryCommand( Name, aInfo );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByHandle( sal_Int32 Handle )
|
sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByHandle( sal_Int32 Handle )
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -342,11 +342,11 @@ sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByHandle( sal_Int32 Handle )
|
|||||||
return queryCommand( Handle, aInfo );
|
return queryCommand( Handle, aInfo );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// Non-Interface methods.
|
// Non-Interface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
void CommandProcessorInfo::reset()
|
void CommandProcessorInfo::reset()
|
||||||
{
|
{
|
||||||
@@ -356,7 +356,7 @@ void CommandProcessorInfo::reset()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool CommandProcessorInfo::queryCommand(
|
bool CommandProcessorInfo::queryCommand(
|
||||||
const OUString& rName,
|
const OUString& rName,
|
||||||
com::sun::star::ucb::CommandInfo& rCommand )
|
com::sun::star::ucb::CommandInfo& rCommand )
|
||||||
@@ -381,7 +381,7 @@ bool CommandProcessorInfo::queryCommand(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool CommandProcessorInfo::queryCommand(
|
bool CommandProcessorInfo::queryCommand(
|
||||||
sal_Int32 nHandle,
|
sal_Int32 nHandle,
|
||||||
com::sun::star::ucb::CommandInfo& rCommand )
|
com::sun::star::ucb::CommandInfo& rCommand )
|
||||||
|
@@ -30,13 +30,13 @@
|
|||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
using namespace ucbhelper;
|
using namespace ucbhelper;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InteractionRequest Implementation.
|
// InteractionRequest Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
@@ -56,32 +56,32 @@ struct InteractionRequest_Impl
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
InteractionRequest::InteractionRequest()
|
InteractionRequest::InteractionRequest()
|
||||||
: m_pImpl( new InteractionRequest_Impl )
|
: m_pImpl( new InteractionRequest_Impl )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
InteractionRequest::InteractionRequest( const uno::Any & rRequest )
|
InteractionRequest::InteractionRequest( const uno::Any & rRequest )
|
||||||
: m_pImpl( new InteractionRequest_Impl( rRequest ) )
|
: m_pImpl( new InteractionRequest_Impl( rRequest ) )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
InteractionRequest::~InteractionRequest()
|
InteractionRequest::~InteractionRequest()
|
||||||
{
|
{
|
||||||
delete m_pImpl;
|
delete m_pImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void InteractionRequest::setRequest( const uno::Any & rRequest )
|
void InteractionRequest::setRequest( const uno::Any & rRequest )
|
||||||
{
|
{
|
||||||
m_pImpl->m_aRequest = rRequest;
|
m_pImpl->m_aRequest = rRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void InteractionRequest::setContinuations(
|
void InteractionRequest::setContinuations(
|
||||||
const uno::Sequence< uno::Reference<
|
const uno::Sequence< uno::Reference<
|
||||||
task::XInteractionContinuation > > & rContinuations )
|
task::XInteractionContinuation > > & rContinuations )
|
||||||
@@ -89,25 +89,25 @@ void InteractionRequest::setContinuations(
|
|||||||
m_pImpl->m_aContinuations = rContinuations;
|
m_pImpl->m_aContinuations = rContinuations;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
rtl::Reference< InteractionContinuation >
|
rtl::Reference< InteractionContinuation >
|
||||||
InteractionRequest::getSelection() const
|
InteractionRequest::getSelection() const
|
||||||
{
|
{
|
||||||
return m_pImpl->m_xSelection;
|
return m_pImpl->m_xSelection;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void InteractionRequest::setSelection(
|
void InteractionRequest::setSelection(
|
||||||
const rtl::Reference< InteractionContinuation > & rxSelection )
|
const rtl::Reference< InteractionContinuation > & rxSelection )
|
||||||
{
|
{
|
||||||
m_pImpl->m_xSelection = rxSelection;
|
m_pImpl->m_xSelection = rxSelection;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionRequest::acquire()
|
void SAL_CALL InteractionRequest::acquire()
|
||||||
@@ -116,7 +116,7 @@ void SAL_CALL InteractionRequest::acquire()
|
|||||||
OWeakObject::acquire();
|
OWeakObject::acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionRequest::release()
|
void SAL_CALL InteractionRequest::release()
|
||||||
throw()
|
throw()
|
||||||
@@ -124,7 +124,7 @@ void SAL_CALL InteractionRequest::release()
|
|||||||
OWeakObject::release();
|
OWeakObject::release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL
|
uno::Any SAL_CALL
|
||||||
InteractionRequest::queryInterface( const uno::Type & rType )
|
InteractionRequest::queryInterface( const uno::Type & rType )
|
||||||
@@ -137,11 +137,11 @@ InteractionRequest::queryInterface( const uno::Type & rType )
|
|||||||
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
|
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL InteractionRequest::getImplementationId()
|
uno::Sequence< sal_Int8 > SAL_CALL InteractionRequest::getImplementationId()
|
||||||
@@ -160,7 +160,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionRequest::getImplementationId()
|
|||||||
return (*pId).getImplementationId();
|
return (*pId).getImplementationId();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< uno::Type > SAL_CALL InteractionRequest::getTypes()
|
uno::Sequence< uno::Type > SAL_CALL InteractionRequest::getTypes()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -182,11 +182,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionRequest::getTypes()
|
|||||||
return (*pCollection).getTypes();
|
return (*pCollection).getTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionRequest methods.
|
// XInteractionRequest methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL InteractionRequest::getRequest()
|
uno::Any SAL_CALL InteractionRequest::getRequest()
|
||||||
@@ -195,7 +195,7 @@ uno::Any SAL_CALL InteractionRequest::getRequest()
|
|||||||
return m_pImpl->m_aRequest;
|
return m_pImpl->m_aRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< uno::Reference< task::XInteractionContinuation > > SAL_CALL
|
uno::Sequence< uno::Reference< task::XInteractionContinuation > > SAL_CALL
|
||||||
InteractionRequest::getContinuations()
|
InteractionRequest::getContinuations()
|
||||||
@@ -204,13 +204,13 @@ InteractionRequest::getContinuations()
|
|||||||
return m_pImpl->m_aContinuations;
|
return m_pImpl->m_aContinuations;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InteractionContinuation Implementation.
|
// InteractionContinuation Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
@@ -225,39 +225,39 @@ struct InteractionContinuation_Impl
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
InteractionContinuation::InteractionContinuation(
|
InteractionContinuation::InteractionContinuation(
|
||||||
InteractionRequest * pRequest )
|
InteractionRequest * pRequest )
|
||||||
: m_pImpl( new InteractionContinuation_Impl( pRequest ) )
|
: m_pImpl( new InteractionContinuation_Impl( pRequest ) )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
InteractionContinuation::~InteractionContinuation()
|
InteractionContinuation::~InteractionContinuation()
|
||||||
{
|
{
|
||||||
delete m_pImpl;
|
delete m_pImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void InteractionContinuation::recordSelection()
|
void InteractionContinuation::recordSelection()
|
||||||
{
|
{
|
||||||
m_pImpl->m_pRequest->setSelection( this );
|
m_pImpl->m_pRequest->setSelection( this );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InteractionAbort Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// InteractionAbort Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionAbort::acquire()
|
void SAL_CALL InteractionAbort::acquire()
|
||||||
@@ -266,7 +266,7 @@ void SAL_CALL InteractionAbort::acquire()
|
|||||||
OWeakObject::acquire();
|
OWeakObject::acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionAbort::release()
|
void SAL_CALL InteractionAbort::release()
|
||||||
throw()
|
throw()
|
||||||
@@ -274,7 +274,7 @@ void SAL_CALL InteractionAbort::release()
|
|||||||
OWeakObject::release();
|
OWeakObject::release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL
|
uno::Any SAL_CALL
|
||||||
InteractionAbort::queryInterface( const uno::Type & rType )
|
InteractionAbort::queryInterface( const uno::Type & rType )
|
||||||
@@ -289,11 +289,11 @@ InteractionAbort::queryInterface( const uno::Type & rType )
|
|||||||
? aRet : InteractionContinuation::queryInterface( rType );
|
? aRet : InteractionContinuation::queryInterface( rType );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL InteractionAbort::getImplementationId()
|
uno::Sequence< sal_Int8 > SAL_CALL InteractionAbort::getImplementationId()
|
||||||
@@ -312,7 +312,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionAbort::getImplementationId()
|
|||||||
return (*pId).getImplementationId();
|
return (*pId).getImplementationId();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< uno::Type > SAL_CALL InteractionAbort::getTypes()
|
uno::Sequence< uno::Type > SAL_CALL InteractionAbort::getTypes()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -334,11 +334,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionAbort::getTypes()
|
|||||||
return (*pCollection).getTypes();
|
return (*pCollection).getTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionContinuation methods.
|
// XInteractionContinuation methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionAbort::select()
|
void SAL_CALL InteractionAbort::select()
|
||||||
@@ -347,19 +347,19 @@ void SAL_CALL InteractionAbort::select()
|
|||||||
recordSelection();
|
recordSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InteractionRetry Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// InteractionRetry Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionRetry::acquire()
|
void SAL_CALL InteractionRetry::acquire()
|
||||||
@@ -368,7 +368,7 @@ void SAL_CALL InteractionRetry::acquire()
|
|||||||
OWeakObject::acquire();
|
OWeakObject::acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionRetry::release()
|
void SAL_CALL InteractionRetry::release()
|
||||||
throw()
|
throw()
|
||||||
@@ -376,7 +376,7 @@ void SAL_CALL InteractionRetry::release()
|
|||||||
OWeakObject::release();
|
OWeakObject::release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL
|
uno::Any SAL_CALL
|
||||||
InteractionRetry::queryInterface( const uno::Type & rType )
|
InteractionRetry::queryInterface( const uno::Type & rType )
|
||||||
@@ -391,11 +391,11 @@ InteractionRetry::queryInterface( const uno::Type & rType )
|
|||||||
? aRet : InteractionContinuation::queryInterface( rType );
|
? aRet : InteractionContinuation::queryInterface( rType );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL InteractionRetry::getImplementationId()
|
uno::Sequence< sal_Int8 > SAL_CALL InteractionRetry::getImplementationId()
|
||||||
@@ -414,7 +414,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionRetry::getImplementationId()
|
|||||||
return (*pId).getImplementationId();
|
return (*pId).getImplementationId();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< uno::Type > SAL_CALL InteractionRetry::getTypes()
|
uno::Sequence< uno::Type > SAL_CALL InteractionRetry::getTypes()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -436,11 +436,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionRetry::getTypes()
|
|||||||
return (*pCollection).getTypes();
|
return (*pCollection).getTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionContinuation methods.
|
// XInteractionContinuation methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionRetry::select()
|
void SAL_CALL InteractionRetry::select()
|
||||||
@@ -449,19 +449,19 @@ void SAL_CALL InteractionRetry::select()
|
|||||||
recordSelection();
|
recordSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InteractionApprove Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// InteractionApprove Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionApprove::acquire()
|
void SAL_CALL InteractionApprove::acquire()
|
||||||
@@ -470,7 +470,7 @@ void SAL_CALL InteractionApprove::acquire()
|
|||||||
OWeakObject::acquire();
|
OWeakObject::acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionApprove::release()
|
void SAL_CALL InteractionApprove::release()
|
||||||
throw()
|
throw()
|
||||||
@@ -478,7 +478,7 @@ void SAL_CALL InteractionApprove::release()
|
|||||||
OWeakObject::release();
|
OWeakObject::release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL
|
uno::Any SAL_CALL
|
||||||
InteractionApprove::queryInterface( const uno::Type & rType )
|
InteractionApprove::queryInterface( const uno::Type & rType )
|
||||||
@@ -493,11 +493,11 @@ InteractionApprove::queryInterface( const uno::Type & rType )
|
|||||||
? aRet : InteractionContinuation::queryInterface( rType );
|
? aRet : InteractionContinuation::queryInterface( rType );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL InteractionApprove::getImplementationId()
|
uno::Sequence< sal_Int8 > SAL_CALL InteractionApprove::getImplementationId()
|
||||||
@@ -516,7 +516,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionApprove::getImplementationId()
|
|||||||
return (*pId).getImplementationId();
|
return (*pId).getImplementationId();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< uno::Type > SAL_CALL InteractionApprove::getTypes()
|
uno::Sequence< uno::Type > SAL_CALL InteractionApprove::getTypes()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -538,11 +538,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionApprove::getTypes()
|
|||||||
return (*pCollection).getTypes();
|
return (*pCollection).getTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionContinuation methods.
|
// XInteractionContinuation methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionApprove::select()
|
void SAL_CALL InteractionApprove::select()
|
||||||
@@ -551,19 +551,19 @@ void SAL_CALL InteractionApprove::select()
|
|||||||
recordSelection();
|
recordSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InteractionDisapprove Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// InteractionDisapprove Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionDisapprove::acquire()
|
void SAL_CALL InteractionDisapprove::acquire()
|
||||||
@@ -572,7 +572,7 @@ void SAL_CALL InteractionDisapprove::acquire()
|
|||||||
OWeakObject::acquire();
|
OWeakObject::acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionDisapprove::release()
|
void SAL_CALL InteractionDisapprove::release()
|
||||||
throw()
|
throw()
|
||||||
@@ -580,7 +580,7 @@ void SAL_CALL InteractionDisapprove::release()
|
|||||||
OWeakObject::release();
|
OWeakObject::release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL
|
uno::Any SAL_CALL
|
||||||
InteractionDisapprove::queryInterface( const uno::Type & rType )
|
InteractionDisapprove::queryInterface( const uno::Type & rType )
|
||||||
@@ -595,11 +595,11 @@ InteractionDisapprove::queryInterface( const uno::Type & rType )
|
|||||||
? aRet : InteractionContinuation::queryInterface( rType );
|
? aRet : InteractionContinuation::queryInterface( rType );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL InteractionDisapprove::getImplementationId()
|
uno::Sequence< sal_Int8 > SAL_CALL InteractionDisapprove::getImplementationId()
|
||||||
@@ -618,7 +618,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionDisapprove::getImplementationId()
|
|||||||
return (*pId).getImplementationId();
|
return (*pId).getImplementationId();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< uno::Type > SAL_CALL InteractionDisapprove::getTypes()
|
uno::Sequence< uno::Type > SAL_CALL InteractionDisapprove::getTypes()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -640,11 +640,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionDisapprove::getTypes()
|
|||||||
return (*pCollection).getTypes();
|
return (*pCollection).getTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionContinuation methods.
|
// XInteractionContinuation methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionDisapprove::select()
|
void SAL_CALL InteractionDisapprove::select()
|
||||||
@@ -653,19 +653,19 @@ void SAL_CALL InteractionDisapprove::select()
|
|||||||
recordSelection();
|
recordSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InteractionSupplyAuthentication Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// InteractionSupplyAuthentication Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionSupplyAuthentication::acquire()
|
void SAL_CALL InteractionSupplyAuthentication::acquire()
|
||||||
@@ -674,7 +674,7 @@ void SAL_CALL InteractionSupplyAuthentication::acquire()
|
|||||||
OWeakObject::acquire();
|
OWeakObject::acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionSupplyAuthentication::release()
|
void SAL_CALL InteractionSupplyAuthentication::release()
|
||||||
throw()
|
throw()
|
||||||
@@ -682,7 +682,7 @@ void SAL_CALL InteractionSupplyAuthentication::release()
|
|||||||
OWeakObject::release();
|
OWeakObject::release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL
|
uno::Any SAL_CALL
|
||||||
InteractionSupplyAuthentication::queryInterface( const uno::Type & rType )
|
InteractionSupplyAuthentication::queryInterface( const uno::Type & rType )
|
||||||
@@ -698,11 +698,11 @@ InteractionSupplyAuthentication::queryInterface( const uno::Type & rType )
|
|||||||
? aRet : InteractionContinuation::queryInterface( rType );
|
? aRet : InteractionContinuation::queryInterface( rType );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL
|
uno::Sequence< sal_Int8 > SAL_CALL
|
||||||
@@ -722,7 +722,7 @@ InteractionSupplyAuthentication::getImplementationId()
|
|||||||
return (*pId).getImplementationId();
|
return (*pId).getImplementationId();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< uno::Type > SAL_CALL InteractionSupplyAuthentication::getTypes()
|
uno::Sequence< uno::Type > SAL_CALL InteractionSupplyAuthentication::getTypes()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -745,11 +745,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionSupplyAuthentication::getTypes()
|
|||||||
return (*pCollection).getTypes();
|
return (*pCollection).getTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionContinuation methods.
|
// XInteractionContinuation methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionSupplyAuthentication::select()
|
void SAL_CALL InteractionSupplyAuthentication::select()
|
||||||
@@ -758,11 +758,11 @@ void SAL_CALL InteractionSupplyAuthentication::select()
|
|||||||
recordSelection();
|
recordSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionSupplyAuthentication methods.
|
// XInteractionSupplyAuthentication methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL
|
sal_Bool SAL_CALL
|
||||||
@@ -772,7 +772,7 @@ InteractionSupplyAuthentication::canSetRealm()
|
|||||||
return m_bCanSetRealm;
|
return m_bCanSetRealm;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL
|
void SAL_CALL
|
||||||
InteractionSupplyAuthentication::setRealm( const OUString& Realm )
|
InteractionSupplyAuthentication::setRealm( const OUString& Realm )
|
||||||
@@ -785,7 +785,7 @@ InteractionSupplyAuthentication::setRealm( const OUString& Realm )
|
|||||||
m_aRealm = Realm;
|
m_aRealm = Realm;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL
|
sal_Bool SAL_CALL
|
||||||
InteractionSupplyAuthentication::canSetUserName()
|
InteractionSupplyAuthentication::canSetUserName()
|
||||||
@@ -794,7 +794,7 @@ InteractionSupplyAuthentication::canSetUserName()
|
|||||||
return m_bCanSetUserName;
|
return m_bCanSetUserName;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL
|
void SAL_CALL
|
||||||
InteractionSupplyAuthentication::setUserName( const OUString& UserName )
|
InteractionSupplyAuthentication::setUserName( const OUString& UserName )
|
||||||
@@ -807,7 +807,7 @@ InteractionSupplyAuthentication::setUserName( const OUString& UserName )
|
|||||||
m_aUserName = UserName;
|
m_aUserName = UserName;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL
|
sal_Bool SAL_CALL
|
||||||
InteractionSupplyAuthentication::canSetPassword()
|
InteractionSupplyAuthentication::canSetPassword()
|
||||||
@@ -816,7 +816,7 @@ InteractionSupplyAuthentication::canSetPassword()
|
|||||||
return m_bCanSetPassword;
|
return m_bCanSetPassword;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL
|
void SAL_CALL
|
||||||
InteractionSupplyAuthentication::setPassword( const OUString& Password )
|
InteractionSupplyAuthentication::setPassword( const OUString& Password )
|
||||||
@@ -829,7 +829,7 @@ InteractionSupplyAuthentication::setPassword( const OUString& Password )
|
|||||||
m_aPassword = Password;
|
m_aPassword = Password;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< ucb::RememberAuthentication > SAL_CALL
|
uno::Sequence< ucb::RememberAuthentication > SAL_CALL
|
||||||
InteractionSupplyAuthentication::getRememberPasswordModes(
|
InteractionSupplyAuthentication::getRememberPasswordModes(
|
||||||
@@ -840,7 +840,7 @@ InteractionSupplyAuthentication::getRememberPasswordModes(
|
|||||||
return m_aRememberPasswordModes;
|
return m_aRememberPasswordModes;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL
|
void SAL_CALL
|
||||||
InteractionSupplyAuthentication::setRememberPassword(
|
InteractionSupplyAuthentication::setRememberPassword(
|
||||||
@@ -850,7 +850,7 @@ InteractionSupplyAuthentication::setRememberPassword(
|
|||||||
m_eRememberPasswordMode = Remember;
|
m_eRememberPasswordMode = Remember;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL
|
sal_Bool SAL_CALL
|
||||||
InteractionSupplyAuthentication::canSetAccount()
|
InteractionSupplyAuthentication::canSetAccount()
|
||||||
@@ -859,7 +859,7 @@ InteractionSupplyAuthentication::canSetAccount()
|
|||||||
return m_bCanSetAccount;
|
return m_bCanSetAccount;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL
|
void SAL_CALL
|
||||||
InteractionSupplyAuthentication::setAccount( const OUString& Account )
|
InteractionSupplyAuthentication::setAccount( const OUString& Account )
|
||||||
@@ -872,7 +872,7 @@ InteractionSupplyAuthentication::setAccount( const OUString& Account )
|
|||||||
m_aAccount = Account;
|
m_aAccount = Account;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< ucb::RememberAuthentication > SAL_CALL
|
uno::Sequence< ucb::RememberAuthentication > SAL_CALL
|
||||||
InteractionSupplyAuthentication::getRememberAccountModes(
|
InteractionSupplyAuthentication::getRememberAccountModes(
|
||||||
@@ -883,7 +883,7 @@ InteractionSupplyAuthentication::getRememberAccountModes(
|
|||||||
return m_aRememberAccountModes;
|
return m_aRememberAccountModes;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionSupplyAuthentication::setRememberAccount(
|
void SAL_CALL InteractionSupplyAuthentication::setRememberAccount(
|
||||||
ucb::RememberAuthentication Remember )
|
ucb::RememberAuthentication Remember )
|
||||||
@@ -892,11 +892,11 @@ void SAL_CALL InteractionSupplyAuthentication::setRememberAccount(
|
|||||||
m_eRememberAccountMode = Remember;
|
m_eRememberAccountMode = Remember;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionSupplyAuthentication2 methods.
|
// XInteractionSupplyAuthentication2 methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
::sal_Bool SAL_CALL
|
::sal_Bool SAL_CALL
|
||||||
@@ -908,7 +908,7 @@ InteractionSupplyAuthentication::canUseSystemCredentials(
|
|||||||
return m_bCanUseSystemCredentials;
|
return m_bCanUseSystemCredentials;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionSupplyAuthentication::setUseSystemCredentials(
|
void SAL_CALL InteractionSupplyAuthentication::setUseSystemCredentials(
|
||||||
::sal_Bool UseSystemCredentials )
|
::sal_Bool UseSystemCredentials )
|
||||||
@@ -919,19 +919,19 @@ void SAL_CALL InteractionSupplyAuthentication::setUseSystemCredentials(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InteractionSupplyName Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// InteractionSupplyName Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionSupplyName::acquire()
|
void SAL_CALL InteractionSupplyName::acquire()
|
||||||
@@ -940,7 +940,7 @@ void SAL_CALL InteractionSupplyName::acquire()
|
|||||||
OWeakObject::acquire();
|
OWeakObject::acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionSupplyName::release()
|
void SAL_CALL InteractionSupplyName::release()
|
||||||
throw()
|
throw()
|
||||||
@@ -948,7 +948,7 @@ void SAL_CALL InteractionSupplyName::release()
|
|||||||
OWeakObject::release();
|
OWeakObject::release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL
|
uno::Any SAL_CALL
|
||||||
InteractionSupplyName::queryInterface( const uno::Type & rType )
|
InteractionSupplyName::queryInterface( const uno::Type & rType )
|
||||||
@@ -963,11 +963,11 @@ InteractionSupplyName::queryInterface( const uno::Type & rType )
|
|||||||
? aRet : InteractionContinuation::queryInterface( rType );
|
? aRet : InteractionContinuation::queryInterface( rType );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL InteractionSupplyName::getImplementationId()
|
uno::Sequence< sal_Int8 > SAL_CALL InteractionSupplyName::getImplementationId()
|
||||||
@@ -986,7 +986,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionSupplyName::getImplementationId()
|
|||||||
return (*pId).getImplementationId();
|
return (*pId).getImplementationId();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< uno::Type > SAL_CALL InteractionSupplyName::getTypes()
|
uno::Sequence< uno::Type > SAL_CALL InteractionSupplyName::getTypes()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -1008,11 +1008,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionSupplyName::getTypes()
|
|||||||
return (*pCollection).getTypes();
|
return (*pCollection).getTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionContinuation methods.
|
// XInteractionContinuation methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionSupplyName::select()
|
void SAL_CALL InteractionSupplyName::select()
|
||||||
@@ -1021,11 +1021,11 @@ void SAL_CALL InteractionSupplyName::select()
|
|||||||
recordSelection();
|
recordSelection();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionSupplyName methods.
|
// XInteractionSupplyName methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL
|
void SAL_CALL
|
||||||
@@ -1035,19 +1035,19 @@ InteractionSupplyName::setName( const OUString& Name )
|
|||||||
m_aName = Name;
|
m_aName = Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// InteractionReplaceExistingData Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
|
// InteractionReplaceExistingData Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionReplaceExistingData::acquire()
|
void SAL_CALL InteractionReplaceExistingData::acquire()
|
||||||
@@ -1056,7 +1056,7 @@ void SAL_CALL InteractionReplaceExistingData::acquire()
|
|||||||
OWeakObject::acquire();
|
OWeakObject::acquire();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionReplaceExistingData::release()
|
void SAL_CALL InteractionReplaceExistingData::release()
|
||||||
throw()
|
throw()
|
||||||
@@ -1064,7 +1064,7 @@ void SAL_CALL InteractionReplaceExistingData::release()
|
|||||||
OWeakObject::release();
|
OWeakObject::release();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL
|
uno::Any SAL_CALL
|
||||||
InteractionReplaceExistingData::queryInterface( const uno::Type & rType )
|
InteractionReplaceExistingData::queryInterface( const uno::Type & rType )
|
||||||
@@ -1079,11 +1079,11 @@ InteractionReplaceExistingData::queryInterface( const uno::Type & rType )
|
|||||||
? aRet : InteractionContinuation::queryInterface( rType );
|
? aRet : InteractionContinuation::queryInterface( rType );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL
|
uno::Sequence< sal_Int8 > SAL_CALL
|
||||||
@@ -1103,7 +1103,7 @@ InteractionReplaceExistingData::getImplementationId()
|
|||||||
return (*pId).getImplementationId();
|
return (*pId).getImplementationId();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< uno::Type > SAL_CALL InteractionReplaceExistingData::getTypes()
|
uno::Sequence< uno::Type > SAL_CALL InteractionReplaceExistingData::getTypes()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -1126,11 +1126,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionReplaceExistingData::getTypes()
|
|||||||
return (*pCollection).getTypes();
|
return (*pCollection).getTypes();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInteractionContinuation methods.
|
// XInteractionContinuation methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL InteractionReplaceExistingData::select()
|
void SAL_CALL InteractionReplaceExistingData::select()
|
||||||
|
@@ -47,11 +47,11 @@ using namespace com::sun::star::util;
|
|||||||
namespace ucbhelper_impl
|
namespace ucbhelper_impl
|
||||||
{
|
{
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// PropertyValue.
|
// PropertyValue.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
const sal_uInt32 NO_VALUE_SET = 0x00000000;
|
const sal_uInt32 NO_VALUE_SET = 0x00000000;
|
||||||
const sal_uInt32 STRING_VALUE_SET = 0x00000001;
|
const sal_uInt32 STRING_VALUE_SET = 0x00000001;
|
||||||
@@ -121,11 +121,11 @@ using namespace ucbhelper_impl;
|
|||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// class PropertyValues.
|
// class PropertyValues.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
typedef std::vector< ucbhelper_impl::PropertyValue > PropertyValuesVector;
|
typedef std::vector< ucbhelper_impl::PropertyValue > PropertyValuesVector;
|
||||||
|
|
||||||
@@ -133,11 +133,11 @@ class PropertyValues : public PropertyValuesVector {};
|
|||||||
|
|
||||||
} // namespace ucbhelper
|
} // namespace ucbhelper
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// Welcome to the macro hell...
|
// Welcome to the macro hell...
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
#define GETVALUE_IMPL_TYPE( _type_, _type_name_, _member_name_, _cppu_type_ ) \
|
#define GETVALUE_IMPL_TYPE( _type_, _type_name_, _member_name_, _cppu_type_ ) \
|
||||||
\
|
\
|
||||||
@@ -242,15 +242,15 @@ class PropertyValues : public PropertyValuesVector {};
|
|||||||
|
|
||||||
namespace ucbhelper {
|
namespace ucbhelper {
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// PropertyValueSet Implementation.
|
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
|
// PropertyValueSet Implementation.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
PropertyValueSet::PropertyValueSet(
|
PropertyValueSet::PropertyValueSet(
|
||||||
const Reference< XComponentContext >& rxContext )
|
const Reference< XComponentContext >& rxContext )
|
||||||
: m_xContext( rxContext ),
|
: m_xContext( rxContext ),
|
||||||
@@ -261,40 +261,40 @@ PropertyValueSet::PropertyValueSet(
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
PropertyValueSet::~PropertyValueSet()
|
PropertyValueSet::~PropertyValueSet()
|
||||||
{
|
{
|
||||||
delete m_pValues;
|
delete m_pValues;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_3( PropertyValueSet,
|
XINTERFACE_IMPL_3( PropertyValueSet,
|
||||||
XTypeProvider,
|
XTypeProvider,
|
||||||
XRow,
|
XRow,
|
||||||
XColumnLocate );
|
XColumnLocate );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_3( PropertyValueSet,
|
XTYPEPROVIDER_IMPL_3( PropertyValueSet,
|
||||||
XTypeProvider,
|
XTypeProvider,
|
||||||
XRow,
|
XRow,
|
||||||
XColumnLocate );
|
XColumnLocate );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XRow methods.
|
// XRow methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL PropertyValueSet::wasNull()
|
sal_Bool SAL_CALL PropertyValueSet::wasNull()
|
||||||
@@ -306,7 +306,7 @@ sal_Bool SAL_CALL PropertyValueSet::wasNull()
|
|||||||
return m_bWasNull;
|
return m_bWasNull;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL PropertyValueSet::getString( sal_Int32 columnIndex )
|
OUString SAL_CALL PropertyValueSet::getString( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -314,7 +314,7 @@ OUString SAL_CALL PropertyValueSet::getString( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( OUString, STRING_VALUE_SET, aString );
|
GETVALUE_IMPL( OUString, STRING_VALUE_SET, aString );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL PropertyValueSet::getBoolean( sal_Int32 columnIndex )
|
sal_Bool SAL_CALL PropertyValueSet::getBoolean( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -323,7 +323,7 @@ sal_Bool SAL_CALL PropertyValueSet::getBoolean( sal_Int32 columnIndex )
|
|||||||
bool, BOOLEAN_VALUE_SET, bBoolean, getCppuBooleanType() );
|
bool, BOOLEAN_VALUE_SET, bBoolean, getCppuBooleanType() );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int8 SAL_CALL PropertyValueSet::getByte( sal_Int32 columnIndex )
|
sal_Int8 SAL_CALL PropertyValueSet::getByte( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -331,7 +331,7 @@ sal_Int8 SAL_CALL PropertyValueSet::getByte( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( sal_Int8, BYTE_VALUE_SET, nByte );
|
GETVALUE_IMPL( sal_Int8, BYTE_VALUE_SET, nByte );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int16 SAL_CALL PropertyValueSet::getShort( sal_Int32 columnIndex )
|
sal_Int16 SAL_CALL PropertyValueSet::getShort( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -339,7 +339,7 @@ sal_Int16 SAL_CALL PropertyValueSet::getShort( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( sal_Int16, SHORT_VALUE_SET, nShort );
|
GETVALUE_IMPL( sal_Int16, SHORT_VALUE_SET, nShort );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL PropertyValueSet::getInt( sal_Int32 columnIndex )
|
sal_Int32 SAL_CALL PropertyValueSet::getInt( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -347,7 +347,7 @@ sal_Int32 SAL_CALL PropertyValueSet::getInt( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( sal_Int32, INT_VALUE_SET, nInt );
|
GETVALUE_IMPL( sal_Int32, INT_VALUE_SET, nInt );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int64 SAL_CALL PropertyValueSet::getLong( sal_Int32 columnIndex )
|
sal_Int64 SAL_CALL PropertyValueSet::getLong( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -355,7 +355,7 @@ sal_Int64 SAL_CALL PropertyValueSet::getLong( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( sal_Int64, LONG_VALUE_SET, nLong );
|
GETVALUE_IMPL( sal_Int64, LONG_VALUE_SET, nLong );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
float SAL_CALL PropertyValueSet::getFloat( sal_Int32 columnIndex )
|
float SAL_CALL PropertyValueSet::getFloat( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -363,7 +363,7 @@ float SAL_CALL PropertyValueSet::getFloat( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( float, FLOAT_VALUE_SET, nFloat );
|
GETVALUE_IMPL( float, FLOAT_VALUE_SET, nFloat );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
double SAL_CALL PropertyValueSet::getDouble( sal_Int32 columnIndex )
|
double SAL_CALL PropertyValueSet::getDouble( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -371,7 +371,7 @@ double SAL_CALL PropertyValueSet::getDouble( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( double, DOUBLE_VALUE_SET, nDouble );
|
GETVALUE_IMPL( double, DOUBLE_VALUE_SET, nDouble );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Sequence< sal_Int8 > SAL_CALL
|
Sequence< sal_Int8 > SAL_CALL
|
||||||
PropertyValueSet::getBytes( sal_Int32 columnIndex )
|
PropertyValueSet::getBytes( sal_Int32 columnIndex )
|
||||||
@@ -380,7 +380,7 @@ PropertyValueSet::getBytes( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( Sequence< sal_Int8 >, BYTES_VALUE_SET, aBytes );
|
GETVALUE_IMPL( Sequence< sal_Int8 >, BYTES_VALUE_SET, aBytes );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Date SAL_CALL PropertyValueSet::getDate( sal_Int32 columnIndex )
|
Date SAL_CALL PropertyValueSet::getDate( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -388,7 +388,7 @@ Date SAL_CALL PropertyValueSet::getDate( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( Date, DATE_VALUE_SET, aDate );
|
GETVALUE_IMPL( Date, DATE_VALUE_SET, aDate );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Time SAL_CALL PropertyValueSet::getTime( sal_Int32 columnIndex )
|
Time SAL_CALL PropertyValueSet::getTime( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -396,7 +396,7 @@ Time SAL_CALL PropertyValueSet::getTime( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( Time, TIME_VALUE_SET, aTime );
|
GETVALUE_IMPL( Time, TIME_VALUE_SET, aTime );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
DateTime SAL_CALL PropertyValueSet::getTimestamp( sal_Int32 columnIndex )
|
DateTime SAL_CALL PropertyValueSet::getTimestamp( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -404,7 +404,7 @@ DateTime SAL_CALL PropertyValueSet::getTimestamp( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( DateTime, TIMESTAMP_VALUE_SET, aTimestamp );
|
GETVALUE_IMPL( DateTime, TIMESTAMP_VALUE_SET, aTimestamp );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Reference< XInputStream > SAL_CALL
|
Reference< XInputStream > SAL_CALL
|
||||||
PropertyValueSet::getBinaryStream( sal_Int32 columnIndex )
|
PropertyValueSet::getBinaryStream( sal_Int32 columnIndex )
|
||||||
@@ -414,7 +414,7 @@ PropertyValueSet::getBinaryStream( sal_Int32 columnIndex )
|
|||||||
Reference< XInputStream >, BINARYSTREAM_VALUE_SET, xBinaryStream );
|
Reference< XInputStream >, BINARYSTREAM_VALUE_SET, xBinaryStream );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Reference< XInputStream > SAL_CALL
|
Reference< XInputStream > SAL_CALL
|
||||||
PropertyValueSet::getCharacterStream( sal_Int32 columnIndex )
|
PropertyValueSet::getCharacterStream( sal_Int32 columnIndex )
|
||||||
@@ -424,7 +424,7 @@ PropertyValueSet::getCharacterStream( sal_Int32 columnIndex )
|
|||||||
Reference< XInputStream >, CHARACTERSTREAM_VALUE_SET, xCharacterStream );
|
Reference< XInputStream >, CHARACTERSTREAM_VALUE_SET, xCharacterStream );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Any SAL_CALL PropertyValueSet::getObject(
|
Any SAL_CALL PropertyValueSet::getObject(
|
||||||
sal_Int32 columnIndex,
|
sal_Int32 columnIndex,
|
||||||
@@ -554,7 +554,7 @@ Any SAL_CALL PropertyValueSet::getObject(
|
|||||||
return aValue;
|
return aValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Reference< XRef > SAL_CALL PropertyValueSet::getRef( sal_Int32 columnIndex )
|
Reference< XRef > SAL_CALL PropertyValueSet::getRef( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -562,7 +562,7 @@ Reference< XRef > SAL_CALL PropertyValueSet::getRef( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( Reference< XRef >, REF_VALUE_SET, xRef );
|
GETVALUE_IMPL( Reference< XRef >, REF_VALUE_SET, xRef );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Reference< XBlob > SAL_CALL PropertyValueSet::getBlob( sal_Int32 columnIndex )
|
Reference< XBlob > SAL_CALL PropertyValueSet::getBlob( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -570,7 +570,7 @@ Reference< XBlob > SAL_CALL PropertyValueSet::getBlob( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( Reference< XBlob >, BLOB_VALUE_SET, xBlob );
|
GETVALUE_IMPL( Reference< XBlob >, BLOB_VALUE_SET, xBlob );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Reference< XClob > SAL_CALL PropertyValueSet::getClob( sal_Int32 columnIndex )
|
Reference< XClob > SAL_CALL PropertyValueSet::getClob( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -578,7 +578,7 @@ Reference< XClob > SAL_CALL PropertyValueSet::getClob( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( Reference< XClob >, CLOB_VALUE_SET, xClob );
|
GETVALUE_IMPL( Reference< XClob >, CLOB_VALUE_SET, xClob );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
Reference< XArray > SAL_CALL PropertyValueSet::getArray( sal_Int32 columnIndex )
|
Reference< XArray > SAL_CALL PropertyValueSet::getArray( sal_Int32 columnIndex )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -586,11 +586,11 @@ Reference< XArray > SAL_CALL PropertyValueSet::getArray( sal_Int32 columnIndex )
|
|||||||
GETVALUE_IMPL( Reference< XArray >, ARRAY_VALUE_SET, xArray );
|
GETVALUE_IMPL( Reference< XArray >, ARRAY_VALUE_SET, xArray );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XColumnLocate methods.
|
// XColumnLocate methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL PropertyValueSet::findColumn( const OUString& columnName )
|
sal_Int32 SAL_CALL PropertyValueSet::findColumn( const OUString& columnName )
|
||||||
@@ -610,11 +610,11 @@ sal_Int32 SAL_CALL PropertyValueSet::findColumn( const OUString& columnName )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// Non-interface methods.
|
// Non-interface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
const Reference< XTypeConverter >& PropertyValueSet::getTypeConverter()
|
const Reference< XTypeConverter >& PropertyValueSet::getTypeConverter()
|
||||||
{
|
{
|
||||||
@@ -632,48 +632,48 @@ const Reference< XTypeConverter >& PropertyValueSet::getTypeConverter()
|
|||||||
return m_xTypeConverter;
|
return m_xTypeConverter;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void PropertyValueSet::appendString( const OUString& rPropName,
|
void PropertyValueSet::appendString( const OUString& rPropName,
|
||||||
const OUString& rValue )
|
const OUString& rValue )
|
||||||
{
|
{
|
||||||
SETVALUE_IMPL( rPropName, STRING_VALUE_SET, aString, rValue );
|
SETVALUE_IMPL( rPropName, STRING_VALUE_SET, aString, rValue );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void PropertyValueSet::appendBoolean( const OUString& rPropName,
|
void PropertyValueSet::appendBoolean( const OUString& rPropName,
|
||||||
bool bValue )
|
bool bValue )
|
||||||
{
|
{
|
||||||
SETVALUE_IMPL( rPropName, BOOLEAN_VALUE_SET, bBoolean, bValue );
|
SETVALUE_IMPL( rPropName, BOOLEAN_VALUE_SET, bBoolean, bValue );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void PropertyValueSet::appendLong( const OUString& rPropName,
|
void PropertyValueSet::appendLong( const OUString& rPropName,
|
||||||
sal_Int64 nValue )
|
sal_Int64 nValue )
|
||||||
{
|
{
|
||||||
SETVALUE_IMPL( rPropName, LONG_VALUE_SET, nLong, nValue );
|
SETVALUE_IMPL( rPropName, LONG_VALUE_SET, nLong, nValue );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void PropertyValueSet::appendTimestamp( const OUString& rPropName,
|
void PropertyValueSet::appendTimestamp( const OUString& rPropName,
|
||||||
const DateTime& rValue )
|
const DateTime& rValue )
|
||||||
{
|
{
|
||||||
SETVALUE_IMPL( rPropName, TIMESTAMP_VALUE_SET, aTimestamp, rValue );
|
SETVALUE_IMPL( rPropName, TIMESTAMP_VALUE_SET, aTimestamp, rValue );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void PropertyValueSet::appendObject( const OUString& rPropName,
|
void PropertyValueSet::appendObject( const OUString& rPropName,
|
||||||
const Any& rValue )
|
const Any& rValue )
|
||||||
{
|
{
|
||||||
SETVALUE_IMPL( rPropName, OBJECT_VALUE_SET, aObject, rValue );
|
SETVALUE_IMPL( rPropName, OBJECT_VALUE_SET, aObject, rValue );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void PropertyValueSet::appendVoid( const OUString& rPropName )
|
void PropertyValueSet::appendVoid( const OUString& rPropName )
|
||||||
{
|
{
|
||||||
SETVALUE_IMPL( rPropName, NO_VALUE_SET, aObject, Any() );
|
SETVALUE_IMPL( rPropName, NO_VALUE_SET, aObject, Any() );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void PropertyValueSet::appendPropertySet(
|
void PropertyValueSet::appendPropertySet(
|
||||||
const Reference< XPropertySet >& rxSet )
|
const Reference< XPropertySet >& rxSet )
|
||||||
{
|
{
|
||||||
@@ -743,7 +743,7 @@ void PropertyValueSet::appendPropertySet(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool PropertyValueSet::appendPropertySetValue(
|
bool PropertyValueSet::appendPropertySetValue(
|
||||||
const Reference< XPropertySet >& rxSet,
|
const Reference< XPropertySet >& rxSet,
|
||||||
const Property& rProperty )
|
const Property& rProperty )
|
||||||
|
@@ -33,11 +33,11 @@ using namespace com::sun::star;
|
|||||||
|
|
||||||
namespace ucbhelper {
|
namespace ucbhelper {
|
||||||
|
|
||||||
//============================================================================
|
|
||||||
//
|
|
||||||
// registerAtUcb
|
// registerAtUcb
|
||||||
//
|
|
||||||
//============================================================================
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
registerAtUcb(
|
registerAtUcb(
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
namespace ucbhelper_impl
|
namespace ucbhelper_impl
|
||||||
{
|
{
|
||||||
@@ -75,11 +75,11 @@ static const PropertyInfo aPropertyTable[] =
|
|||||||
|
|
||||||
#define RESULTSET_PROPERTY_COUNT 2
|
#define RESULTSET_PROPERTY_COUNT 2
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// class PropertySetInfo
|
// class PropertySetInfo
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
class PropertySetInfo :
|
class PropertySetInfo :
|
||||||
public cppu::OWeakObject,
|
public cppu::OWeakObject,
|
||||||
@@ -114,11 +114,11 @@ public:
|
|||||||
throw( uno::RuntimeException );
|
throw( uno::RuntimeException );
|
||||||
};
|
};
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// PropertyChangeListenerContainer.
|
// PropertyChangeListenerContainer.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
typedef cppu::OMultiTypeInterfaceContainerHelperVar
|
typedef cppu::OMultiTypeInterfaceContainerHelperVar
|
||||||
<
|
<
|
||||||
@@ -126,11 +126,11 @@ typedef cppu::OMultiTypeInterfaceContainerHelperVar
|
|||||||
OUStringHash
|
OUStringHash
|
||||||
> PropertyChangeListenerContainer;
|
> PropertyChangeListenerContainer;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// class PropertyChangeListeners.
|
// class PropertyChangeListeners.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
class PropertyChangeListeners : public PropertyChangeListenerContainer
|
class PropertyChangeListeners : public PropertyChangeListenerContainer
|
||||||
{
|
{
|
||||||
@@ -146,11 +146,11 @@ using namespace ucbhelper_impl;
|
|||||||
namespace ucbhelper
|
namespace ucbhelper
|
||||||
{
|
{
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// struct ResultSet_Impl.
|
// struct ResultSet_Impl.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
struct ResultSet_Impl
|
struct ResultSet_Impl
|
||||||
{
|
{
|
||||||
@@ -193,20 +193,20 @@ inline ResultSet_Impl::ResultSet_Impl(
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
inline ResultSet_Impl::~ResultSet_Impl()
|
inline ResultSet_Impl::~ResultSet_Impl()
|
||||||
{
|
{
|
||||||
delete m_pDisposeEventListeners;
|
delete m_pDisposeEventListeners;
|
||||||
delete m_pPropertyChangeListeners;
|
delete m_pPropertyChangeListeners;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// ResultSet Implementation.
|
// ResultSet Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
ResultSet::ResultSet(
|
ResultSet::ResultSet(
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext,
|
const uno::Reference< uno::XComponentContext >& rxContext,
|
||||||
@@ -221,7 +221,7 @@ ResultSet::ResultSet(
|
|||||||
rDataSupplier->m_pResultSet = this;
|
rDataSupplier->m_pResultSet = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
ResultSet::ResultSet(
|
ResultSet::ResultSet(
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext,
|
const uno::Reference< uno::XComponentContext >& rxContext,
|
||||||
const uno::Sequence< beans::Property >& rProperties,
|
const uno::Sequence< beans::Property >& rProperties,
|
||||||
@@ -232,18 +232,18 @@ ResultSet::ResultSet(
|
|||||||
rDataSupplier->m_pResultSet = this;
|
rDataSupplier->m_pResultSet = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
ResultSet::~ResultSet()
|
ResultSet::~ResultSet()
|
||||||
{
|
{
|
||||||
delete m_pImpl;
|
delete m_pImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_9( ResultSet,
|
XINTERFACE_IMPL_9( ResultSet,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
@@ -256,11 +256,11 @@ XINTERFACE_IMPL_9( ResultSet,
|
|||||||
sdbc::XCloseable,
|
sdbc::XCloseable,
|
||||||
beans::XPropertySet );
|
beans::XPropertySet );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_9( ResultSet,
|
XTYPEPROVIDER_IMPL_9( ResultSet,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
@@ -273,21 +273,21 @@ XTYPEPROVIDER_IMPL_9( ResultSet,
|
|||||||
sdbc::XCloseable,
|
sdbc::XCloseable,
|
||||||
beans::XPropertySet );
|
beans::XPropertySet );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XServiceInfo methods.
|
// XServiceInfo methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XSERVICEINFO_NOFACTORY_IMPL_1( ResultSet,
|
XSERVICEINFO_NOFACTORY_IMPL_1( ResultSet,
|
||||||
OUString("ResultSet"),
|
OUString("ResultSet"),
|
||||||
OUString(RESULTSET_SERVICE_NAME ) );
|
OUString(RESULTSET_SERVICE_NAME ) );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XComponent methods.
|
// XComponent methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::dispose()
|
void SAL_CALL ResultSet::dispose()
|
||||||
@@ -313,7 +313,7 @@ void SAL_CALL ResultSet::dispose()
|
|||||||
m_pImpl->m_xDataSupplier->close();
|
m_pImpl->m_xDataSupplier->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::addEventListener(
|
void SAL_CALL ResultSet::addEventListener(
|
||||||
const uno::Reference< lang::XEventListener >& Listener )
|
const uno::Reference< lang::XEventListener >& Listener )
|
||||||
@@ -328,7 +328,7 @@ void SAL_CALL ResultSet::addEventListener(
|
|||||||
m_pImpl->m_pDisposeEventListeners->addInterface( Listener );
|
m_pImpl->m_pDisposeEventListeners->addInterface( Listener );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::removeEventListener(
|
void SAL_CALL ResultSet::removeEventListener(
|
||||||
const uno::Reference< lang::XEventListener >& Listener )
|
const uno::Reference< lang::XEventListener >& Listener )
|
||||||
@@ -340,11 +340,11 @@ void SAL_CALL ResultSet::removeEventListener(
|
|||||||
m_pImpl->m_pDisposeEventListeners->removeInterface( Listener );
|
m_pImpl->m_pDisposeEventListeners->removeInterface( Listener );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XResultSetMetaDataSupplier methods.
|
// XResultSetMetaDataSupplier methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< sdbc::XResultSetMetaData > SAL_CALL ResultSet::getMetaData()
|
uno::Reference< sdbc::XResultSetMetaData > SAL_CALL ResultSet::getMetaData()
|
||||||
@@ -359,11 +359,11 @@ uno::Reference< sdbc::XResultSetMetaData > SAL_CALL ResultSet::getMetaData()
|
|||||||
return m_pImpl->m_xMetaData;
|
return m_pImpl->m_xMetaData;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XResultSet methods.
|
// XResultSet methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::next()
|
sal_Bool SAL_CALL ResultSet::next()
|
||||||
@@ -393,7 +393,7 @@ sal_Bool SAL_CALL ResultSet::next()
|
|||||||
return sal_True;
|
return sal_True;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::isBeforeFirst()
|
sal_Bool SAL_CALL ResultSet::isBeforeFirst()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -415,7 +415,7 @@ sal_Bool SAL_CALL ResultSet::isBeforeFirst()
|
|||||||
return ( m_pImpl->m_nPos == 0 );
|
return ( m_pImpl->m_nPos == 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::isAfterLast()
|
sal_Bool SAL_CALL ResultSet::isAfterLast()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -424,7 +424,7 @@ sal_Bool SAL_CALL ResultSet::isAfterLast()
|
|||||||
return m_pImpl->m_bAfterLast;
|
return m_pImpl->m_bAfterLast;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::isFirst()
|
sal_Bool SAL_CALL ResultSet::isFirst()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -439,7 +439,7 @@ sal_Bool SAL_CALL ResultSet::isFirst()
|
|||||||
return ( m_pImpl->m_nPos == 1 );
|
return ( m_pImpl->m_nPos == 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::isLast()
|
sal_Bool SAL_CALL ResultSet::isLast()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -461,7 +461,7 @@ sal_Bool SAL_CALL ResultSet::isLast()
|
|||||||
return ( m_pImpl->m_nPos == nCount );
|
return ( m_pImpl->m_nPos == nCount );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::beforeFirst()
|
void SAL_CALL ResultSet::beforeFirst()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -472,7 +472,7 @@ void SAL_CALL ResultSet::beforeFirst()
|
|||||||
m_pImpl->m_xDataSupplier->validate();
|
m_pImpl->m_xDataSupplier->validate();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::afterLast()
|
void SAL_CALL ResultSet::afterLast()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -482,7 +482,7 @@ void SAL_CALL ResultSet::afterLast()
|
|||||||
m_pImpl->m_xDataSupplier->validate();
|
m_pImpl->m_xDataSupplier->validate();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::first()
|
sal_Bool SAL_CALL ResultSet::first()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -501,7 +501,7 @@ sal_Bool SAL_CALL ResultSet::first()
|
|||||||
return sal_False;
|
return sal_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::last()
|
sal_Bool SAL_CALL ResultSet::last()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -520,7 +520,7 @@ sal_Bool SAL_CALL ResultSet::last()
|
|||||||
return sal_False;
|
return sal_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL ResultSet::getRow()
|
sal_Int32 SAL_CALL ResultSet::getRow()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -535,7 +535,7 @@ sal_Int32 SAL_CALL ResultSet::getRow()
|
|||||||
return m_pImpl->m_nPos;
|
return m_pImpl->m_nPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::absolute( sal_Int32 row )
|
sal_Bool SAL_CALL ResultSet::absolute( sal_Int32 row )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -608,7 +608,7 @@ sal_Bool SAL_CALL ResultSet::absolute( sal_Int32 row )
|
|||||||
// unreachable...
|
// unreachable...
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::relative( sal_Int32 rows )
|
sal_Bool SAL_CALL ResultSet::relative( sal_Int32 rows )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -678,7 +678,7 @@ sal_Bool SAL_CALL ResultSet::relative( sal_Int32 rows )
|
|||||||
// unreachable...
|
// unreachable...
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::previous()
|
sal_Bool SAL_CALL ResultSet::previous()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -708,7 +708,7 @@ sal_Bool SAL_CALL ResultSet::previous()
|
|||||||
return sal_False;
|
return sal_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::refreshRow()
|
void SAL_CALL ResultSet::refreshRow()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -721,7 +721,7 @@ void SAL_CALL ResultSet::refreshRow()
|
|||||||
m_pImpl->m_xDataSupplier->validate();
|
m_pImpl->m_xDataSupplier->validate();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::rowUpdated()
|
sal_Bool SAL_CALL ResultSet::rowUpdated()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -730,7 +730,7 @@ sal_Bool SAL_CALL ResultSet::rowUpdated()
|
|||||||
return sal_False;
|
return sal_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::rowInserted()
|
sal_Bool SAL_CALL ResultSet::rowInserted()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -739,7 +739,7 @@ sal_Bool SAL_CALL ResultSet::rowInserted()
|
|||||||
return sal_False;
|
return sal_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::rowDeleted()
|
sal_Bool SAL_CALL ResultSet::rowDeleted()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -748,7 +748,7 @@ sal_Bool SAL_CALL ResultSet::rowDeleted()
|
|||||||
return sal_False;
|
return sal_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< uno::XInterface > SAL_CALL ResultSet::getStatement()
|
uno::Reference< uno::XInterface > SAL_CALL ResultSet::getStatement()
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -761,11 +761,11 @@ uno::Reference< uno::XInterface > SAL_CALL ResultSet::getStatement()
|
|||||||
return uno::Reference< uno::XInterface >();
|
return uno::Reference< uno::XInterface >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XRow methods.
|
// XRow methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::wasNull()
|
sal_Bool SAL_CALL ResultSet::wasNull()
|
||||||
@@ -791,7 +791,7 @@ sal_Bool SAL_CALL ResultSet::wasNull()
|
|||||||
return m_pImpl->m_bWasNull;
|
return m_pImpl->m_bWasNull;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ResultSet::getString( sal_Int32 columnIndex )
|
OUString SAL_CALL ResultSet::getString( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -814,7 +814,7 @@ OUString SAL_CALL ResultSet::getString( sal_Int32 columnIndex )
|
|||||||
return OUString();
|
return OUString();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSet::getBoolean( sal_Int32 columnIndex )
|
sal_Bool SAL_CALL ResultSet::getBoolean( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -837,7 +837,7 @@ sal_Bool SAL_CALL ResultSet::getBoolean( sal_Int32 columnIndex )
|
|||||||
return sal_False;
|
return sal_False;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int8 SAL_CALL ResultSet::getByte( sal_Int32 columnIndex )
|
sal_Int8 SAL_CALL ResultSet::getByte( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -860,7 +860,7 @@ sal_Int8 SAL_CALL ResultSet::getByte( sal_Int32 columnIndex )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int16 SAL_CALL ResultSet::getShort( sal_Int32 columnIndex )
|
sal_Int16 SAL_CALL ResultSet::getShort( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -883,7 +883,7 @@ sal_Int16 SAL_CALL ResultSet::getShort( sal_Int32 columnIndex )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL ResultSet::getInt( sal_Int32 columnIndex )
|
sal_Int32 SAL_CALL ResultSet::getInt( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -906,7 +906,7 @@ sal_Int32 SAL_CALL ResultSet::getInt( sal_Int32 columnIndex )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int64 SAL_CALL ResultSet::getLong( sal_Int32 columnIndex )
|
sal_Int64 SAL_CALL ResultSet::getLong( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -929,7 +929,7 @@ sal_Int64 SAL_CALL ResultSet::getLong( sal_Int32 columnIndex )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
float SAL_CALL ResultSet::getFloat( sal_Int32 columnIndex )
|
float SAL_CALL ResultSet::getFloat( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -952,7 +952,7 @@ float SAL_CALL ResultSet::getFloat( sal_Int32 columnIndex )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
double SAL_CALL ResultSet::getDouble( sal_Int32 columnIndex )
|
double SAL_CALL ResultSet::getDouble( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -975,7 +975,7 @@ double SAL_CALL ResultSet::getDouble( sal_Int32 columnIndex )
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL
|
uno::Sequence< sal_Int8 > SAL_CALL
|
||||||
ResultSet::getBytes( sal_Int32 columnIndex )
|
ResultSet::getBytes( sal_Int32 columnIndex )
|
||||||
@@ -999,7 +999,7 @@ ResultSet::getBytes( sal_Int32 columnIndex )
|
|||||||
return uno::Sequence< sal_Int8 >();
|
return uno::Sequence< sal_Int8 >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
util::Date SAL_CALL ResultSet::getDate( sal_Int32 columnIndex )
|
util::Date SAL_CALL ResultSet::getDate( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -1022,7 +1022,7 @@ util::Date SAL_CALL ResultSet::getDate( sal_Int32 columnIndex )
|
|||||||
return util::Date();
|
return util::Date();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
util::Time SAL_CALL ResultSet::getTime( sal_Int32 columnIndex )
|
util::Time SAL_CALL ResultSet::getTime( sal_Int32 columnIndex )
|
||||||
throw( sdbc::SQLException, uno::RuntimeException )
|
throw( sdbc::SQLException, uno::RuntimeException )
|
||||||
@@ -1045,7 +1045,7 @@ util::Time SAL_CALL ResultSet::getTime( sal_Int32 columnIndex )
|
|||||||
return util::Time();
|
return util::Time();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
util::DateTime SAL_CALL
|
util::DateTime SAL_CALL
|
||||||
ResultSet::getTimestamp( sal_Int32 columnIndex )
|
ResultSet::getTimestamp( sal_Int32 columnIndex )
|
||||||
@@ -1069,7 +1069,7 @@ ResultSet::getTimestamp( sal_Int32 columnIndex )
|
|||||||
return util::DateTime();
|
return util::DateTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< io::XInputStream > SAL_CALL
|
uno::Reference< io::XInputStream > SAL_CALL
|
||||||
ResultSet::getBinaryStream( sal_Int32 columnIndex )
|
ResultSet::getBinaryStream( sal_Int32 columnIndex )
|
||||||
@@ -1093,7 +1093,7 @@ ResultSet::getBinaryStream( sal_Int32 columnIndex )
|
|||||||
return uno::Reference< io::XInputStream >();
|
return uno::Reference< io::XInputStream >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< io::XInputStream > SAL_CALL
|
uno::Reference< io::XInputStream > SAL_CALL
|
||||||
ResultSet::getCharacterStream( sal_Int32 columnIndex )
|
ResultSet::getCharacterStream( sal_Int32 columnIndex )
|
||||||
@@ -1117,7 +1117,7 @@ ResultSet::getCharacterStream( sal_Int32 columnIndex )
|
|||||||
return uno::Reference< io::XInputStream >();
|
return uno::Reference< io::XInputStream >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL ResultSet::getObject(
|
uno::Any SAL_CALL ResultSet::getObject(
|
||||||
sal_Int32 columnIndex,
|
sal_Int32 columnIndex,
|
||||||
@@ -1142,7 +1142,7 @@ uno::Any SAL_CALL ResultSet::getObject(
|
|||||||
return uno::Any();
|
return uno::Any();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< sdbc::XRef > SAL_CALL
|
uno::Reference< sdbc::XRef > SAL_CALL
|
||||||
ResultSet::getRef( sal_Int32 columnIndex )
|
ResultSet::getRef( sal_Int32 columnIndex )
|
||||||
@@ -1166,7 +1166,7 @@ ResultSet::getRef( sal_Int32 columnIndex )
|
|||||||
return uno::Reference< sdbc::XRef >();
|
return uno::Reference< sdbc::XRef >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< sdbc::XBlob > SAL_CALL
|
uno::Reference< sdbc::XBlob > SAL_CALL
|
||||||
ResultSet::getBlob( sal_Int32 columnIndex )
|
ResultSet::getBlob( sal_Int32 columnIndex )
|
||||||
@@ -1190,7 +1190,7 @@ ResultSet::getBlob( sal_Int32 columnIndex )
|
|||||||
return uno::Reference< sdbc::XBlob >();
|
return uno::Reference< sdbc::XBlob >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< sdbc::XClob > SAL_CALL
|
uno::Reference< sdbc::XClob > SAL_CALL
|
||||||
ResultSet::getClob( sal_Int32 columnIndex )
|
ResultSet::getClob( sal_Int32 columnIndex )
|
||||||
@@ -1214,7 +1214,7 @@ ResultSet::getClob( sal_Int32 columnIndex )
|
|||||||
return uno::Reference< sdbc::XClob >();
|
return uno::Reference< sdbc::XClob >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< sdbc::XArray > SAL_CALL
|
uno::Reference< sdbc::XArray > SAL_CALL
|
||||||
ResultSet::getArray( sal_Int32 columnIndex )
|
ResultSet::getArray( sal_Int32 columnIndex )
|
||||||
@@ -1238,11 +1238,11 @@ ResultSet::getArray( sal_Int32 columnIndex )
|
|||||||
return uno::Reference< sdbc::XArray >();
|
return uno::Reference< sdbc::XArray >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XCloseable methods.
|
// XCloseable methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::close()
|
void SAL_CALL ResultSet::close()
|
||||||
@@ -1252,11 +1252,11 @@ void SAL_CALL ResultSet::close()
|
|||||||
m_pImpl->m_xDataSupplier->validate();
|
m_pImpl->m_xDataSupplier->validate();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XContentAccess methods.
|
// XContentAccess methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ResultSet::queryContentIdentifierString()
|
OUString SAL_CALL ResultSet::queryContentIdentifierString()
|
||||||
@@ -1269,7 +1269,7 @@ OUString SAL_CALL ResultSet::queryContentIdentifierString()
|
|||||||
return OUString();
|
return OUString();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< com::sun::star::ucb::XContentIdentifier > SAL_CALL
|
uno::Reference< com::sun::star::ucb::XContentIdentifier > SAL_CALL
|
||||||
ResultSet::queryContentIdentifier()
|
ResultSet::queryContentIdentifier()
|
||||||
@@ -1282,7 +1282,7 @@ ResultSet::queryContentIdentifier()
|
|||||||
return uno::Reference< com::sun::star::ucb::XContentIdentifier >();
|
return uno::Reference< com::sun::star::ucb::XContentIdentifier >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< com::sun::star::ucb::XContent > SAL_CALL
|
uno::Reference< com::sun::star::ucb::XContent > SAL_CALL
|
||||||
ResultSet::queryContent()
|
ResultSet::queryContent()
|
||||||
@@ -1294,11 +1294,11 @@ ResultSet::queryContent()
|
|||||||
return uno::Reference< com::sun::star::ucb::XContent >();
|
return uno::Reference< com::sun::star::ucb::XContent >();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XPropertySet methods.
|
// XPropertySet methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< beans::XPropertySetInfo > SAL_CALL
|
uno::Reference< beans::XPropertySetInfo > SAL_CALL
|
||||||
@@ -1314,7 +1314,7 @@ ResultSet::getPropertySetInfo()
|
|||||||
return m_pImpl->m_xPropSetInfo;
|
return m_pImpl->m_xPropSetInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::setPropertyValue( const OUString& aPropertyName,
|
void SAL_CALL ResultSet::setPropertyValue( const OUString& aPropertyName,
|
||||||
const uno::Any& )
|
const uno::Any& )
|
||||||
@@ -1345,7 +1345,7 @@ void SAL_CALL ResultSet::setPropertyValue( const OUString& aPropertyName,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Any SAL_CALL ResultSet::getPropertyValue(
|
uno::Any SAL_CALL ResultSet::getPropertyValue(
|
||||||
const OUString& PropertyName )
|
const OUString& PropertyName )
|
||||||
@@ -1376,7 +1376,7 @@ uno::Any SAL_CALL ResultSet::getPropertyValue(
|
|||||||
return aValue;
|
return aValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::addPropertyChangeListener(
|
void SAL_CALL ResultSet::addPropertyChangeListener(
|
||||||
const OUString& aPropertyName,
|
const OUString& aPropertyName,
|
||||||
@@ -1404,7 +1404,7 @@ void SAL_CALL ResultSet::addPropertyChangeListener(
|
|||||||
aPropertyName, xListener );
|
aPropertyName, xListener );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::removePropertyChangeListener(
|
void SAL_CALL ResultSet::removePropertyChangeListener(
|
||||||
const OUString& aPropertyName,
|
const OUString& aPropertyName,
|
||||||
@@ -1428,7 +1428,7 @@ void SAL_CALL ResultSet::removePropertyChangeListener(
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::addVetoableChangeListener(
|
void SAL_CALL ResultSet::addVetoableChangeListener(
|
||||||
const OUString&,
|
const OUString&,
|
||||||
@@ -1440,7 +1440,7 @@ void SAL_CALL ResultSet::addVetoableChangeListener(
|
|||||||
// No constrained props, at the moment.
|
// No constrained props, at the moment.
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSet::removeVetoableChangeListener(
|
void SAL_CALL ResultSet::removeVetoableChangeListener(
|
||||||
const OUString&,
|
const OUString&,
|
||||||
@@ -1452,11 +1452,11 @@ void SAL_CALL ResultSet::removeVetoableChangeListener(
|
|||||||
// No constrained props, at the moment.
|
// No constrained props, at the moment.
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// Non-interface methods.
|
// Non-interface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
void ResultSet::propertyChanged( const beans::PropertyChangeEvent& rEvt )
|
void ResultSet::propertyChanged( const beans::PropertyChangeEvent& rEvt )
|
||||||
{
|
{
|
||||||
@@ -1495,7 +1495,7 @@ void ResultSet::propertyChanged( const beans::PropertyChangeEvent& rEvt )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void ResultSet::rowCountChanged( sal_uInt32 nOld, sal_uInt32 nNew )
|
void ResultSet::rowCountChanged( sal_uInt32 nOld, sal_uInt32 nNew )
|
||||||
{
|
{
|
||||||
OSL_ENSURE( nOld < nNew, "ResultSet::rowCountChanged - nOld >= nNew!" );
|
OSL_ENSURE( nOld < nNew, "ResultSet::rowCountChanged - nOld >= nNew!" );
|
||||||
@@ -1513,7 +1513,7 @@ void ResultSet::rowCountChanged( sal_uInt32 nOld, sal_uInt32 nNew )
|
|||||||
uno::makeAny( nNew ) ) ); // new value
|
uno::makeAny( nNew ) ) ); // new value
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void ResultSet::rowCountFinal()
|
void ResultSet::rowCountFinal()
|
||||||
{
|
{
|
||||||
if ( !m_pImpl->m_pPropertyChangeListeners )
|
if ( !m_pImpl->m_pPropertyChangeListeners )
|
||||||
@@ -1529,13 +1529,13 @@ void ResultSet::rowCountFinal()
|
|||||||
uno::makeAny( sal_True ) ) ); // new value
|
uno::makeAny( sal_True ) ) ); // new value
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
const uno::Sequence< beans::Property >& ResultSet::getProperties()
|
const uno::Sequence< beans::Property >& ResultSet::getProperties()
|
||||||
{
|
{
|
||||||
return m_pImpl->m_aProperties;
|
return m_pImpl->m_aProperties;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
const uno::Reference< com::sun::star::ucb::XCommandEnvironment >&
|
const uno::Reference< com::sun::star::ucb::XCommandEnvironment >&
|
||||||
ResultSet::getEnvironment()
|
ResultSet::getEnvironment()
|
||||||
{
|
{
|
||||||
@@ -1546,13 +1546,13 @@ ResultSet::getEnvironment()
|
|||||||
|
|
||||||
namespace ucbhelper_impl {
|
namespace ucbhelper_impl {
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// PropertySetInfo Implementation.
|
// PropertySetInfo Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
PropertySetInfo::PropertySetInfo(
|
PropertySetInfo::PropertySetInfo(
|
||||||
const PropertyInfo* pProps,
|
const PropertyInfo* pProps,
|
||||||
@@ -1579,38 +1579,38 @@ PropertySetInfo::PropertySetInfo(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
PropertySetInfo::~PropertySetInfo()
|
PropertySetInfo::~PropertySetInfo()
|
||||||
{
|
{
|
||||||
delete m_pProps;
|
delete m_pProps;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_2( PropertySetInfo,
|
XINTERFACE_IMPL_2( PropertySetInfo,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
beans::XPropertySetInfo );
|
beans::XPropertySetInfo );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_2( PropertySetInfo,
|
XTYPEPROVIDER_IMPL_2( PropertySetInfo,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
beans::XPropertySetInfo );
|
beans::XPropertySetInfo );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XPropertySetInfo methods.
|
// XPropertySetInfo methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
|
uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
|
||||||
@@ -1619,7 +1619,7 @@ uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
|
|||||||
return uno::Sequence< beans::Property >( *m_pProps );
|
return uno::Sequence< beans::Property >( *m_pProps );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
|
beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
|
||||||
const OUString& aName )
|
const OUString& aName )
|
||||||
@@ -1632,7 +1632,7 @@ beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
|
|||||||
throw beans::UnknownPropertyException();
|
throw beans::UnknownPropertyException();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
|
sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
|
||||||
const OUString& Name )
|
const OUString& Name )
|
||||||
@@ -1642,7 +1642,7 @@ sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
|
|||||||
return queryProperty( Name, aProp );
|
return queryProperty( Name, aProp );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
bool PropertySetInfo::queryProperty(
|
bool PropertySetInfo::queryProperty(
|
||||||
const OUString& aName, beans::Property& rProp )
|
const OUString& aName, beans::Property& rProp )
|
||||||
{
|
{
|
||||||
|
@@ -38,17 +38,17 @@
|
|||||||
|
|
||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// ResultSetImplHelper Implementation.
|
// ResultSetImplHelper Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
namespace ucbhelper {
|
namespace ucbhelper {
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
ResultSetImplHelper::ResultSetImplHelper(
|
ResultSetImplHelper::ResultSetImplHelper(
|
||||||
const uno::Reference< uno::XComponentContext >& rxContext,
|
const uno::Reference< uno::XComponentContext >& rxContext,
|
||||||
const com::sun::star::ucb::OpenCommandArgument2& rCommand )
|
const com::sun::star::ucb::OpenCommandArgument2& rCommand )
|
||||||
@@ -60,18 +60,18 @@ ResultSetImplHelper::ResultSetImplHelper(
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
ResultSetImplHelper::~ResultSetImplHelper()
|
ResultSetImplHelper::~ResultSetImplHelper()
|
||||||
{
|
{
|
||||||
delete m_pDisposeEventListeners;
|
delete m_pDisposeEventListeners;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_4( ResultSetImplHelper,
|
XINTERFACE_IMPL_4( ResultSetImplHelper,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
@@ -79,22 +79,22 @@ XINTERFACE_IMPL_4( ResultSetImplHelper,
|
|||||||
lang::XComponent, /* base of XDynamicResultSet */
|
lang::XComponent, /* base of XDynamicResultSet */
|
||||||
com::sun::star::ucb::XDynamicResultSet );
|
com::sun::star::ucb::XDynamicResultSet );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_3( ResultSetImplHelper,
|
XTYPEPROVIDER_IMPL_3( ResultSetImplHelper,
|
||||||
lang::XTypeProvider,
|
lang::XTypeProvider,
|
||||||
lang::XServiceInfo,
|
lang::XServiceInfo,
|
||||||
com::sun::star::ucb::XDynamicResultSet );
|
com::sun::star::ucb::XDynamicResultSet );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XServiceInfo methods.
|
// XServiceInfo methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XSERVICEINFO_NOFACTORY_IMPL_1( ResultSetImplHelper,
|
XSERVICEINFO_NOFACTORY_IMPL_1( ResultSetImplHelper,
|
||||||
OUString(
|
OUString(
|
||||||
@@ -102,11 +102,11 @@ XSERVICEINFO_NOFACTORY_IMPL_1( ResultSetImplHelper,
|
|||||||
OUString(
|
OUString(
|
||||||
DYNAMICRESULTSET_SERVICE_NAME ) );
|
DYNAMICRESULTSET_SERVICE_NAME ) );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XComponent methods.
|
// XComponent methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSetImplHelper::dispose()
|
void SAL_CALL ResultSetImplHelper::dispose()
|
||||||
@@ -122,7 +122,7 @@ void SAL_CALL ResultSetImplHelper::dispose()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSetImplHelper::addEventListener(
|
void SAL_CALL ResultSetImplHelper::addEventListener(
|
||||||
const uno::Reference< lang::XEventListener >& Listener )
|
const uno::Reference< lang::XEventListener >& Listener )
|
||||||
@@ -137,7 +137,7 @@ void SAL_CALL ResultSetImplHelper::addEventListener(
|
|||||||
m_pDisposeEventListeners->addInterface( Listener );
|
m_pDisposeEventListeners->addInterface( Listener );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSetImplHelper::removeEventListener(
|
void SAL_CALL ResultSetImplHelper::removeEventListener(
|
||||||
const uno::Reference< lang::XEventListener >& Listener )
|
const uno::Reference< lang::XEventListener >& Listener )
|
||||||
@@ -149,11 +149,11 @@ void SAL_CALL ResultSetImplHelper::removeEventListener(
|
|||||||
m_pDisposeEventListeners->removeInterface( Listener );
|
m_pDisposeEventListeners->removeInterface( Listener );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XDynamicResultSet methods.
|
// XDynamicResultSet methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
uno::Reference< sdbc::XResultSet > SAL_CALL
|
uno::Reference< sdbc::XResultSet > SAL_CALL
|
||||||
@@ -170,7 +170,7 @@ ResultSetImplHelper::getStaticResultSet()
|
|||||||
return m_xResultSet1;
|
return m_xResultSet1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSetImplHelper::setListener(
|
void SAL_CALL ResultSetImplHelper::setListener(
|
||||||
const uno::Reference< com::sun::star::ucb::XDynamicResultSetListener >&
|
const uno::Reference< com::sun::star::ucb::XDynamicResultSetListener >&
|
||||||
@@ -185,9 +185,9 @@ void SAL_CALL ResultSetImplHelper::setListener(
|
|||||||
|
|
||||||
m_xListener = Listener;
|
m_xListener = Listener;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////
|
|
||||||
// Create "welcome event" and send it to listener.
|
// Create "welcome event" and send it to listener.
|
||||||
//////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
// Note: We only have the implementation for a static result set at the
|
// Note: We only have the implementation for a static result set at the
|
||||||
// moment (src590). The dynamic result sets passed to the listener
|
// moment (src590). The dynamic result sets passed to the listener
|
||||||
@@ -215,7 +215,7 @@ void SAL_CALL ResultSetImplHelper::setListener(
|
|||||||
static_cast< cppu::OWeakObject * >( this ), aActions ) );
|
static_cast< cppu::OWeakObject * >( this ), aActions ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int16 SAL_CALL ResultSetImplHelper::getCapabilities()
|
sal_Int16 SAL_CALL ResultSetImplHelper::getCapabilities()
|
||||||
throw( uno::RuntimeException )
|
throw( uno::RuntimeException )
|
||||||
@@ -224,7 +224,7 @@ sal_Int16 SAL_CALL ResultSetImplHelper::getCapabilities()
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
void SAL_CALL ResultSetImplHelper::connectToCache(
|
void SAL_CALL ResultSetImplHelper::connectToCache(
|
||||||
const uno::Reference< com::sun::star::ucb::XDynamicResultSet > &
|
const uno::Reference< com::sun::star::ucb::XDynamicResultSet > &
|
||||||
@@ -267,11 +267,11 @@ void SAL_CALL ResultSetImplHelper::connectToCache(
|
|||||||
throw com::sun::star::ucb::ServiceNotFoundException();
|
throw com::sun::star::ucb::ServiceNotFoundException();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// Non-interface methods.
|
// Non-interface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
void ResultSetImplHelper::init( bool bStatic )
|
void ResultSetImplHelper::init( bool bStatic )
|
||||||
{
|
{
|
||||||
|
@@ -74,13 +74,13 @@ using namespace ucbhelper_impl;
|
|||||||
|
|
||||||
namespace ucbhelper {
|
namespace ucbhelper {
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// ResultSetMetaData Implementation.
|
// ResultSetMetaData Implementation.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
ResultSetMetaData::ResultSetMetaData(
|
ResultSetMetaData::ResultSetMetaData(
|
||||||
const Reference< XComponentContext >& rxContext,
|
const Reference< XComponentContext >& rxContext,
|
||||||
@@ -93,7 +93,7 @@ ResultSetMetaData::ResultSetMetaData(
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
ResultSetMetaData::ResultSetMetaData(
|
ResultSetMetaData::ResultSetMetaData(
|
||||||
const Reference< XComponentContext >& rxContext,
|
const Reference< XComponentContext >& rxContext,
|
||||||
const Sequence< Property >& rProps,
|
const Sequence< Property >& rProps,
|
||||||
@@ -107,38 +107,38 @@ ResultSetMetaData::ResultSetMetaData(
|
|||||||
"ResultSetMetaData ctor - different array sizes!" );
|
"ResultSetMetaData ctor - different array sizes!" );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
ResultSetMetaData::~ResultSetMetaData()
|
ResultSetMetaData::~ResultSetMetaData()
|
||||||
{
|
{
|
||||||
delete m_pImpl;
|
delete m_pImpl;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XInterface methods.
|
// XInterface methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XINTERFACE_IMPL_2( ResultSetMetaData,
|
XINTERFACE_IMPL_2( ResultSetMetaData,
|
||||||
XTypeProvider,
|
XTypeProvider,
|
||||||
XResultSetMetaData );
|
XResultSetMetaData );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XTypeProvider methods.
|
// XTypeProvider methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
XTYPEPROVIDER_IMPL_2( ResultSetMetaData,
|
XTYPEPROVIDER_IMPL_2( ResultSetMetaData,
|
||||||
XTypeProvider,
|
XTypeProvider,
|
||||||
XResultSetMetaData );
|
XResultSetMetaData );
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
//
|
|
||||||
// XResultSetMetaData methods.
|
// XResultSetMetaData methods.
|
||||||
//
|
|
||||||
//=========================================================================
|
|
||||||
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL ResultSetMetaData::getColumnCount()
|
sal_Int32 SAL_CALL ResultSetMetaData::getColumnCount()
|
||||||
@@ -147,7 +147,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnCount()
|
|||||||
return m_aProps.getLength();
|
return m_aProps.getLength();
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSetMetaData::isAutoIncrement( sal_Int32 column )
|
sal_Bool SAL_CALL ResultSetMetaData::isAutoIncrement( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -163,7 +163,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isAutoIncrement( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].isAutoIncrement;
|
return m_pImpl->m_aColumnData[ column - 1 ].isAutoIncrement;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSetMetaData::isCaseSensitive( sal_Int32 column )
|
sal_Bool SAL_CALL ResultSetMetaData::isCaseSensitive( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -174,7 +174,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isCaseSensitive( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].isCaseSensitive;
|
return m_pImpl->m_aColumnData[ column - 1 ].isCaseSensitive;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSetMetaData::isSearchable( sal_Int32 column )
|
sal_Bool SAL_CALL ResultSetMetaData::isSearchable( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -190,7 +190,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isSearchable( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].isSearchable;
|
return m_pImpl->m_aColumnData[ column - 1 ].isSearchable;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSetMetaData::isCurrency( sal_Int32 column )
|
sal_Bool SAL_CALL ResultSetMetaData::isCurrency( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -205,7 +205,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isCurrency( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].isCurrency;
|
return m_pImpl->m_aColumnData[ column - 1 ].isCurrency;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL ResultSetMetaData::isNullable( sal_Int32 column )
|
sal_Int32 SAL_CALL ResultSetMetaData::isNullable( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -221,7 +221,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::isNullable( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].isNullable;
|
return m_pImpl->m_aColumnData[ column - 1 ].isNullable;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSetMetaData::isSigned( sal_Int32 column )
|
sal_Bool SAL_CALL ResultSetMetaData::isSigned( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -236,7 +236,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isSigned( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].isSigned;
|
return m_pImpl->m_aColumnData[ column - 1 ].isSigned;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL ResultSetMetaData::getColumnDisplaySize( sal_Int32 column )
|
sal_Int32 SAL_CALL ResultSetMetaData::getColumnDisplaySize( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -251,7 +251,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnDisplaySize( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].columnDisplaySize;
|
return m_pImpl->m_aColumnData[ column - 1 ].columnDisplaySize;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ResultSetMetaData::getColumnLabel( sal_Int32 column )
|
OUString SAL_CALL ResultSetMetaData::getColumnLabel( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -271,7 +271,7 @@ OUString SAL_CALL ResultSetMetaData::getColumnLabel( sal_Int32 column )
|
|||||||
return m_aProps.getConstArray()[ column - 1 ].Name;
|
return m_aProps.getConstArray()[ column - 1 ].Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ResultSetMetaData::getColumnName( sal_Int32 column )
|
OUString SAL_CALL ResultSetMetaData::getColumnName( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -286,7 +286,7 @@ OUString SAL_CALL ResultSetMetaData::getColumnName( sal_Int32 column )
|
|||||||
return m_aProps.getConstArray()[ column - 1 ].Name;
|
return m_aProps.getConstArray()[ column - 1 ].Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ResultSetMetaData::getSchemaName( sal_Int32 column )
|
OUString SAL_CALL ResultSetMetaData::getSchemaName( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -304,7 +304,7 @@ OUString SAL_CALL ResultSetMetaData::getSchemaName( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].schemaName;
|
return m_pImpl->m_aColumnData[ column - 1 ].schemaName;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL ResultSetMetaData::getPrecision( sal_Int32 column )
|
sal_Int32 SAL_CALL ResultSetMetaData::getPrecision( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -323,7 +323,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getPrecision( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].precision;
|
return m_pImpl->m_aColumnData[ column - 1 ].precision;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL ResultSetMetaData::getScale( sal_Int32 column )
|
sal_Int32 SAL_CALL ResultSetMetaData::getScale( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -339,7 +339,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getScale( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].scale;
|
return m_pImpl->m_aColumnData[ column - 1 ].scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ResultSetMetaData::getTableName( sal_Int32 column )
|
OUString SAL_CALL ResultSetMetaData::getTableName( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -357,7 +357,7 @@ OUString SAL_CALL ResultSetMetaData::getTableName( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].tableName;
|
return m_pImpl->m_aColumnData[ column - 1 ].tableName;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ResultSetMetaData::getCatalogName( sal_Int32 column )
|
OUString SAL_CALL ResultSetMetaData::getCatalogName( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -375,7 +375,7 @@ OUString SAL_CALL ResultSetMetaData::getCatalogName( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].catalogName;
|
return m_pImpl->m_aColumnData[ column - 1 ].catalogName;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Int32 SAL_CALL ResultSetMetaData::getColumnType( sal_Int32 column )
|
sal_Int32 SAL_CALL ResultSetMetaData::getColumnType( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -483,7 +483,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnType( sal_Int32 column )
|
|||||||
return nType;
|
return nType;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ResultSetMetaData::getColumnTypeName( sal_Int32 column )
|
OUString SAL_CALL ResultSetMetaData::getColumnTypeName( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -501,7 +501,7 @@ OUString SAL_CALL ResultSetMetaData::getColumnTypeName( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].columnTypeName;
|
return m_pImpl->m_aColumnData[ column - 1 ].columnTypeName;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSetMetaData::isReadOnly( sal_Int32 column )
|
sal_Bool SAL_CALL ResultSetMetaData::isReadOnly( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -517,7 +517,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isReadOnly( sal_Int32 column )
|
|||||||
m_pImpl->m_aColumnData[ column - 1 ].isReadOnly;
|
m_pImpl->m_aColumnData[ column - 1 ].isReadOnly;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSetMetaData::isWritable( sal_Int32 column )
|
sal_Bool SAL_CALL ResultSetMetaData::isWritable( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -531,7 +531,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isWritable( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].isWritable;
|
return m_pImpl->m_aColumnData[ column - 1 ].isWritable;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
sal_Bool SAL_CALL ResultSetMetaData::isDefinitelyWritable( sal_Int32 column )
|
sal_Bool SAL_CALL ResultSetMetaData::isDefinitelyWritable( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
@@ -545,7 +545,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isDefinitelyWritable( sal_Int32 column )
|
|||||||
return m_pImpl->m_aColumnData[ column - 1 ].isDefinitelyWritable;
|
return m_pImpl->m_aColumnData[ column - 1 ].isDefinitelyWritable;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
// virtual
|
// virtual
|
||||||
OUString SAL_CALL ResultSetMetaData::getColumnServiceName( sal_Int32 column )
|
OUString SAL_CALL ResultSetMetaData::getColumnServiceName( sal_Int32 column )
|
||||||
throw( SQLException, RuntimeException )
|
throw( SQLException, RuntimeException )
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
using namespace ucbhelper;
|
using namespace ucbhelper;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
SimpleAuthenticationRequest::SimpleAuthenticationRequest(
|
SimpleAuthenticationRequest::SimpleAuthenticationRequest(
|
||||||
const OUString & rURL,
|
const OUString & rURL,
|
||||||
const OUString & rServerName,
|
const OUString & rServerName,
|
||||||
@@ -64,7 +64,7 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
|
|||||||
bAllowUseSystemCredentials );
|
bAllowUseSystemCredentials );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
SimpleAuthenticationRequest::SimpleAuthenticationRequest(
|
SimpleAuthenticationRequest::SimpleAuthenticationRequest(
|
||||||
const OUString & rURL,
|
const OUString & rURL,
|
||||||
const OUString & rServerName,
|
const OUString & rServerName,
|
||||||
@@ -107,7 +107,7 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
|
|||||||
false );
|
false );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
void SimpleAuthenticationRequest::initialize(
|
void SimpleAuthenticationRequest::initialize(
|
||||||
const ucb::URLAuthenticationRequest & rRequest,
|
const ucb::URLAuthenticationRequest & rRequest,
|
||||||
bool bCanSetRealm,
|
bool bCanSetRealm,
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
using namespace ucbhelper;
|
using namespace ucbhelper;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
SimpleCertificateValidationRequest::SimpleCertificateValidationRequest( const sal_Int32 & lCertificateValidity,
|
SimpleCertificateValidationRequest::SimpleCertificateValidationRequest( const sal_Int32 & lCertificateValidity,
|
||||||
const com::sun::star::uno::Reference<com::sun::star::security::XCertificate> pCertificate,
|
const com::sun::star::uno::Reference<com::sun::star::security::XCertificate> pCertificate,
|
||||||
const OUString & hostname)
|
const OUString & hostname)
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
using namespace ucbhelper;
|
using namespace ucbhelper;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
SimpleInteractionRequest::SimpleInteractionRequest(
|
SimpleInteractionRequest::SimpleInteractionRequest(
|
||||||
const uno::Any & rRequest,
|
const uno::Any & rRequest,
|
||||||
const sal_Int32 nContinuations )
|
const sal_Int32 nContinuations )
|
||||||
@@ -86,7 +86,7 @@ SimpleInteractionRequest::SimpleInteractionRequest(
|
|||||||
setContinuations( aContinuations );
|
setContinuations( aContinuations );
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
sal_Int32 SimpleInteractionRequest::getResponse() const
|
sal_Int32 SimpleInteractionRequest::getResponse() const
|
||||||
{
|
{
|
||||||
rtl::Reference< InteractionContinuation > xSelection = getSelection();
|
rtl::Reference< InteractionContinuation > xSelection = getSelection();
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
using namespace ucbhelper;
|
using namespace ucbhelper;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
SimpleIOErrorRequest::SimpleIOErrorRequest(
|
SimpleIOErrorRequest::SimpleIOErrorRequest(
|
||||||
const ucb::IOErrorCode eError,
|
const ucb::IOErrorCode eError,
|
||||||
const uno::Sequence< uno::Any > & rArgs,
|
const uno::Sequence< uno::Any > & rArgs,
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
using namespace com::sun::star;
|
using namespace com::sun::star;
|
||||||
using namespace ucbhelper;
|
using namespace ucbhelper;
|
||||||
|
|
||||||
//=========================================================================
|
|
||||||
SimpleNameClashResolveRequest::SimpleNameClashResolveRequest(
|
SimpleNameClashResolveRequest::SimpleNameClashResolveRequest(
|
||||||
const OUString & rTargetFolderURL,
|
const OUString & rTargetFolderURL,
|
||||||
const OUString & rClashingName,
|
const OUString & rClashingName,
|
||||||
|
Reference in New Issue
Block a user