diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 20:38:43 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-29 15:41:50 +0100 |
commit | ac3628a412f37cc03ddc65d271db224a3100045b (patch) | |
tree | 90d87a6ecfa4cb2237b88f4b439f451931e90409 /unotools | |
parent | 7adcb3b70b1878173ac7028c40d3baea3bd8fc0b (diff) |
Remove double line spacing and unused code.
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/inc/unotools/inetoptions.hxx | 6 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 34 |
2 files changed, 0 insertions, 40 deletions
diff --git a/unotools/inc/unotools/inetoptions.hxx b/unotools/inc/unotools/inetoptions.hxx index ac738dd45e45..420705101d12 100644 --- a/unotools/inc/unotools/inetoptions.hxx +++ b/unotools/inc/unotools/inetoptions.hxx @@ -76,27 +76,21 @@ public: enum ProxyType { NONE, AUTOMATIC, MANUAL }; rtl::OUString GetProxyNoProxy() const; - sal_Int32 GetProxyType() const; rtl::OUString GetProxyFtpName() const; - sal_Int32 GetProxyFtpPort() const; rtl::OUString GetProxyHttpName() const; - sal_Int32 GetProxyHttpPort() const; void SetProxyNoProxy(rtl::OUString const & rValue, bool bFlush = false); - void SetProxyType(ProxyType eValue, bool bFlush = false); void SetProxyFtpName(rtl::OUString const & rValue, bool bFlush = false); - void SetProxyFtpPort(sal_Int32 nValue, bool bFlush = false); void SetProxyHttpName(rtl::OUString const & rValue, bool bFlush = false); - void SetProxyHttpPort(sal_Int32 nValue, bool bFlush = false); void flush(); diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 63a62e9fa2e6..5439aacc256d 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -118,7 +118,6 @@ class UcbStreamer_Impl : public ::cppu::WeakImplHelper2< XActiveDataStreamer, XA UcbLockBytesRef m_xLockBytes; public: - UcbStreamer_Impl( UcbLockBytes* pLockBytes ) : m_xLockBytes( pLockBytes ) {} @@ -170,7 +169,6 @@ public: , m_xProgressHandler( rxProgressHandler ) {} - virtual Reference<XInteractionHandler> SAL_CALL getInteractionHandler() throw (RuntimeException) { return m_xInteractionHandler; } @@ -259,7 +257,6 @@ class Moderator // returns. This would imply that these class must be refcounted !!! public: - Moderator( Reference < XContent >& xContent, Reference < XInteractionHandler >& xInteract, @@ -300,7 +297,6 @@ public: : public salhelper::Condition { public: - ConditionRes(osl::Mutex& aMutex,Moderator& aModerator) : salhelper::Condition(aMutex), m_aModerator(aModerator) @@ -308,13 +304,11 @@ public: } protected: - bool applies() const { return m_aModerator.m_aResultType != NORESULT; } private: - Moderator& m_aModerator; }; @@ -325,10 +319,8 @@ public: sal_Int32 ioErrorCode; }; - Result getResult(const sal_uInt32 milliSec); - enum ReplyType { NOREPLY, EXIT, @@ -336,12 +328,10 @@ public: REQUESTHANDLED }; - class ConditionRep : public salhelper::Condition { public: - ConditionRep(osl::Mutex& aMutex,Moderator& aModerator) : salhelper::Condition(aMutex), m_aModerator(aModerator) @@ -349,40 +339,30 @@ public: } protected: - bool applies() const { return m_aModerator.m_aReplyType != NOREPLY; } private: - Moderator& m_aModerator; }; void setReply(ReplyType); - void handle( const Reference<XInteractionRequest >& Request ); - void push( const Any& Status ); - void update( const Any& Status ); - void pop( ); void setStream(const Reference< XStream >& aStream); - void setInputStream(const Reference<XInputStream> &rxInputStream); protected: - virtual void SAL_CALL run(); - virtual void SAL_CALL onTerminated(); private: - osl::Mutex m_aMutex; friend class ConditionRes; @@ -433,7 +413,6 @@ public: private: - Moderator& m_aModerator; osl::Mutex m_aMutex; @@ -441,7 +420,6 @@ private: }; - class ModeratorsActiveDataSink : public ::cppu::WeakImplHelper1<XActiveDataSink> { @@ -473,7 +451,6 @@ public: private: - Moderator& m_aModerator; osl::Mutex m_aMutex; Reference<XInputStream> m_xStream; @@ -557,7 +534,6 @@ class ModeratorsProgressHandler : public ::cppu::WeakImplHelper1<XProgressHandler> { public: - ModeratorsProgressHandler(Moderator &theModerator); ~ModeratorsProgressHandler(); @@ -574,7 +550,6 @@ public: private: - Moderator& m_aModerator; }; @@ -611,8 +586,6 @@ void SAL_CALL ModeratorsProgressHandler::pop( ) } - - ModeratorsInteractionHandler::ModeratorsInteractionHandler( Moderator &aModerator) : m_aModerator(aModerator) @@ -776,7 +749,6 @@ void Moderator::handle( const Reference<XInteractionRequest >& Request ) } - void Moderator::push( const Any& Status ) { { @@ -866,7 +838,6 @@ void Moderator::setInputStream(const Reference<XInputStream> &rxInputStream) } - void SAL_CALL Moderator::run() { ResultType aResultType; @@ -908,8 +879,6 @@ void SAL_CALL Moderator::run() } } - - void SAL_CALL Moderator::onTerminated() { { @@ -918,12 +887,10 @@ void SAL_CALL Moderator::onTerminated() delete this; } - /** Function for opening UCB contents synchronously, but with handled timeout; */ - static sal_Bool _UCBOpenContentSync( UcbLockBytesRef xLockBytes, Reference < XContent > xContent, @@ -1271,7 +1238,6 @@ static sal_Bool _UCBOpenContentSync( return ( bAborted || bException ); } - //---------------------------------------------------------------------------- UcbLockBytes::UcbLockBytes( UcbLockBytesHandler* pHandler ) : m_xInputStream (NULL) |