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 | |
parent | 7adcb3b70b1878173ac7028c40d3baea3bd8fc0b (diff) |
Remove double line spacing and unused code.
-rw-r--r-- | basegfx/inc/basegfx/tuple/b2ituple.hxx | 14 | ||||
-rw-r--r-- | svl/inc/svl/sfontitm.hxx | 27 | ||||
-rw-r--r-- | svl/source/misc/strmadpt.cxx | 1 | ||||
-rw-r--r-- | svtools/source/misc/acceleratorexecute.cxx | 42 | ||||
-rw-r--r-- | tools/bootstrp/command.cxx | 47 | ||||
-rw-r--r-- | unotools/inc/unotools/inetoptions.hxx | 6 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 34 |
7 files changed, 0 insertions, 171 deletions
diff --git a/basegfx/inc/basegfx/tuple/b2ituple.hxx b/basegfx/inc/basegfx/tuple/b2ituple.hxx index 636862f365b8..fe15326a8618 100644 --- a/basegfx/inc/basegfx/tuple/b2ituple.hxx +++ b/basegfx/inc/basegfx/tuple/b2ituple.hxx @@ -202,37 +202,23 @@ namespace basegfx // external operators ////////////////////////////////////////////////////////////////////////// - class B2DTuple; B2ITuple minimum(const B2ITuple& rTupA, const B2ITuple& rTupB); - B2ITuple maximum(const B2ITuple& rTupA, const B2ITuple& rTupB); - B2ITuple absolute(const B2ITuple& rTup); - B2DTuple interpolate(const B2ITuple& rOld1, const B2ITuple& rOld2, double t); - B2DTuple average(const B2ITuple& rOld1, const B2ITuple& rOld2); - B2DTuple average(const B2ITuple& rOld1, const B2ITuple& rOld2, const B2ITuple& rOld3); B2ITuple operator+(const B2ITuple& rTupA, const B2ITuple& rTupB); - B2ITuple operator-(const B2ITuple& rTupA, const B2ITuple& rTupB); - B2ITuple operator/(const B2ITuple& rTupA, const B2ITuple& rTupB); - B2ITuple operator*(const B2ITuple& rTupA, const B2ITuple& rTupB); - B2ITuple operator*(const B2ITuple& rTup, sal_Int32 t); - B2ITuple operator*(sal_Int32 t, const B2ITuple& rTup); - B2ITuple operator/(const B2ITuple& rTup, sal_Int32 t); - B2ITuple operator/(sal_Int32 t, const B2ITuple& rTup); - } // end of namespace basegfx #endif /* _BGFX_TUPLE_B2ITUPLE_HXX */ diff --git a/svl/inc/svl/sfontitm.hxx b/svl/inc/svl/sfontitm.hxx index 92201e9ad9dd..01be43ffb76f 100644 --- a/svl/inc/svl/sfontitm.hxx +++ b/svl/inc/svl/sfontitm.hxx @@ -68,26 +68,20 @@ public: virtual int operator ==(const SfxPoolItem & rItem) const; virtual SfxPoolItem * Create(SvStream & rStream, USHORT) const; - virtual SvStream & Store(SvStream & rStream, USHORT) const; virtual SfxPoolItem * Clone(SfxItemPool * = 0) const { return new SfxFontItem(*this); } sal_Bool hasFont() const { return m_bHasFont; } - sal_Bool hasColor() const { return m_bHasColor; } - sal_Bool hasFillColor() const { return m_bHasFillColor; } const XubString & getName() const { return m_aName; } - const XubString & getStyleName() const { return m_aStyleName; } const Size & getSize() const { return m_aSize; } - const Color & getColor() const { return m_aColor; } - const Color & getFillColor() const { return m_aFillColor; } rtl_TextEncoding getCharSet() const { return m_nCharSet; } @@ -95,51 +89,30 @@ public: LanguageType getLanguage() const { return m_nLanguage; } sal_Int16 getFamily() const { return m_nFamily; } - sal_Int16 getPitch() const { return m_nPitch; } - sal_Int16 getWeight() const { return m_nWeight; } - sal_Int16 getWidthType() const { return m_nWidthType; } - sal_Int16 getItalic() const { return m_nItalic; } - sal_Int16 getUnderline() const { return m_nUnderline; } - sal_Int16 getStrikeout() const { return m_nStrikeout; } - sal_Int16 getOrientation() const { return m_nOrientation; } - sal_Bool getWordLine() const { return m_bWordLine; } - sal_Bool getOutline() const { return m_bOutline; } - sal_Bool getShadow() const { return m_bShadow; } - sal_Bool getKerning() const { return m_bKerning; } inline void setFont(sal_Int16 nTheFamily, const XubString & rTheName, const XubString & rTheStyleName, sal_Int16 nThePitch, rtl_TextEncoding nTheCharSet); - inline void setWeight(sal_Int16 nTheWeight); - inline void setItalic(sal_Int16 nTheItalic); - inline void setHeight(sal_Int32 nHeight); - inline void setColor(const Color & rTheColor); - inline void setFillColor(const Color & rTheFillColor); - inline void setUnderline(sal_Int16 nTheUnderline); - inline void setStrikeout(sal_Int16 nTheStrikeout); - inline void setOutline(sal_Bool bTheOutline); - inline void setShadow(sal_Bool bTheShadow); - inline void setLanguage(LanguageType nTheLanguage); }; diff --git a/svl/source/misc/strmadpt.cxx b/svl/source/misc/strmadpt.cxx index a5d464e587ce..b0e434bc5d2e 100644 --- a/svl/source/misc/strmadpt.cxx +++ b/svl/source/misc/strmadpt.cxx @@ -96,7 +96,6 @@ public: inline bool isEOF() const; bool addMark(sal_uInt32 nPosition); - bool removeMark(sal_uInt32 nPosition); inline sal_uInt32 getReadPosition() const; diff --git a/svtools/source/misc/acceleratorexecute.cxx b/svtools/source/misc/acceleratorexecute.cxx index 6cadec2a0e5c..200163c0d3db 100644 --- a/svtools/source/misc/acceleratorexecute.cxx +++ b/svtools/source/misc/acceleratorexecute.cxx @@ -32,25 +32,15 @@ //=============================================== // includes - #include <com/sun/star/frame/XModuleManager.hpp> - #include <com/sun/star/frame/XDesktop.hpp> - #include <com/sun/star/ui/XUIConfigurationManager.hpp> - #include <com/sun/star/ui/XModuleUIConfigurationManagerSupplier.hpp> - #include <com/sun/star/ui/XUIConfigurationManagerSupplier.hpp> - #include <com/sun/star/awt/XTopWindow.hpp> - #include <com/sun/star/awt/KeyModifier.hpp> - #include <com/sun/star/uno/Sequence.hxx> - #include <com/sun/star/beans/PropertyValue.hpp> - #include <com/sun/star/lang/DisposedException.hpp> #include <toolkit/helper/vclunohelper.hxx> @@ -73,7 +63,6 @@ namespace svt class SVT_DLLPRIVATE AsyncAccelExec { public: - //--------------------------------------- /** creates a new instance of this class, which can be used one times only! @@ -87,7 +76,6 @@ class SVT_DLLPRIVATE AsyncAccelExec void execAsync(); private: - //--------------------------------------- /** @short allow creation of instances of this class by using our factory only! @@ -98,7 +86,6 @@ class SVT_DLLPRIVATE AsyncAccelExec DECL_DLLPRIVATE_LINK(impl_ts_asyncCallback, void*); private: - ::vcl::EventPoster m_aAsyncCallback; css::uno::Reference< css::frame::XDispatch > m_xDispatch; css::util::URL m_aURL; @@ -328,91 +315,62 @@ KeyCode AcceleratorExecute::st_AWTKey2VCLKey(const css::awt::KeyEvent& aAWTKey) { case com::sun::star::awt::Key::DELETE_TO_BEGIN_OF_LINE: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:DelToStartOfLine" ) ); - case com::sun::star::awt::Key::DELETE_TO_END_OF_LINE: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:DelToEndOfLine" ) ); - case com::sun::star::awt::Key::DELETE_TO_BEGIN_OF_PARAGRAPH: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:DelToStartOfPara" ) ); - case com::sun::star::awt::Key::DELETE_TO_END_OF_PARAGRAPH: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:DelToEndOfPara" ) ); - case com::sun::star::awt::Key::DELETE_WORD_BACKWARD: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:DelToStartOfWord" ) ); - case com::sun::star::awt::Key::DELETE_WORD_FORWARD: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:DelToEndOfWord" ) ); - case com::sun::star::awt::Key::INSERT_LINEBREAK: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:InsertLinebreak" ) ); - case com::sun::star::awt::Key::INSERT_PARAGRAPH: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:InsertPara" ) ); - case com::sun::star::awt::Key::MOVE_WORD_BACKWARD: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:GoToPrevWord" ) ); - case com::sun::star::awt::Key::MOVE_WORD_FORWARD: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:GoToNextWord" ) ); - case com::sun::star::awt::Key::MOVE_TO_BEGIN_OF_LINE: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:GoToStartOfLine" ) ); - case com::sun::star::awt::Key::MOVE_TO_END_OF_LINE: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:GoToEndOfLine" ) ); - case com::sun::star::awt::Key::MOVE_TO_BEGIN_OF_PARAGRAPH: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:GoToStartOfPara" ) ); - case com::sun::star::awt::Key::MOVE_TO_END_OF_PARAGRAPH: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:GoToEndOfPara" ) ); - case com::sun::star::awt::Key::MOVE_TO_BEGIN_OF_DOCUMENT: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:GoToStartOfDoc" ) ); - case com::sun::star::awt::Key::MOVE_TO_END_OF_DOCUMENT: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:GoToEndOfDoc" ) ); - case com::sun::star::awt::Key::SELECT_BACKWARD: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:CharLeftSel" ) ); - case com::sun::star::awt::Key::SELECT_FORWARD: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:CharRightSel" ) ); - case com::sun::star::awt::Key::SELECT_WORD_BACKWARD: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:WordLeftSel" ) ); - case com::sun::star::awt::Key::SELECT_WORD_FORWARD: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:WordRightSel" ) ); - case com::sun::star::awt::Key::SELECT_WORD: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:SelectWord" ) ); - case com::sun::star::awt::Key::SELECT_LINE: return rtl::OUString(); - case com::sun::star::awt::Key::SELECT_PARAGRAPH: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:SelectText" ) ); - case com::sun::star::awt::Key::SELECT_TO_BEGIN_OF_LINE: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:StartOfLineSel" ) ); - case com::sun::star::awt::Key::SELECT_TO_END_OF_LINE: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:EndOfLineSel" ) ); - case com::sun::star::awt::Key::SELECT_TO_BEGIN_OF_PARAGRAPH: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:StartOfParaSel" ) ); - case com::sun::star::awt::Key::SELECT_TO_END_OF_PARAGRAPH: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:EndOfParaSel" ) ); - case com::sun::star::awt::Key::SELECT_TO_BEGIN_OF_DOCUMENT: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:StartOfDocumentSel" ) ); - case com::sun::star::awt::Key::SELECT_TO_END_OF_DOCUMENT: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:EndOfDocumentSel" ) ); - case com::sun::star::awt::Key::SELECT_ALL: return rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:SelectAll" ) ); default: diff --git a/tools/bootstrp/command.cxx b/tools/bootstrp/command.cxx index 138b5ffcffaf..1b81486c31b8 100644 --- a/tools/bootstrp/command.cxx +++ b/tools/bootstrp/command.cxx @@ -124,7 +124,6 @@ CommandLine::CommandLine(const char *CommandString, BOOL bWrite) { CommandBuffer = new char [1]; if (CommandBuffer == NULL) { - //cout << "Error: nospace" << endl; exit(0); } nArgc = 0; @@ -150,7 +149,6 @@ CommandLine::CommandLine(const CommandLine& CCommandLine, BOOL bWrite) { CommandBuffer = new char [1]; if (CommandBuffer == NULL) { - //cout << "Error: nospace" << endl; exit(0); } nArgc = 0; @@ -175,7 +173,6 @@ CommandLine::~CommandLine() { delete [] CommandBuffer; delete [] ComShell; - //for (int i = 0; ppArgv[i] != '\0'; i++) { for (int i = 0; ppArgv[i] != 0; i++) { delete [] ppArgv[i]; } @@ -218,13 +215,6 @@ CommandLine& CommandLine::operator=(const char *CommandString) void CommandLine::Print() /*****************************************************************************/ { - //cout << "******* start print *******" << endl; - //cout << "nArgc = " << nArgc << endl; - //cout << "CommandBuffer = " << CommandBuffer << endl; - for (int i = 0; ppArgv[i] != NULL; i++) { - //cout << "ppArgv[" << i << "] = " << ppArgv[i] << endl; - } - //cout << "******** end print ********" << endl; } /*****************************************************************************/ @@ -246,11 +236,9 @@ void CommandLine::BuildCommand(const char *CommandString) } // delete old memory and get some new memory for CommandBuffer - delete [] CommandBuffer; CommandBuffer = new char [strlen(ComShell)+strlen(WorkString)+1]; if (CommandBuffer == NULL) { - //cout << "Error: nospace" << endl; exit(0); } strcpy (CommandBuffer, ComShell); @@ -262,14 +250,12 @@ void CommandLine::BuildCommand(const char *CommandString) Strtokens(CommandString); // delete the space for the old CommandLine - for (int i = 0; ppArgv[i] != 0; i++) { delete [] ppArgv[i]; } delete [] ppArgv; /* get space for the new command line */ - ppArgv = (char **) new char * [nArgc+1]; if (ppArgv == NULL) { //cout << "Error: no space" << endl; @@ -277,30 +263,23 @@ void CommandLine::BuildCommand(const char *CommandString) } // flush the white space - while ( isspace(*CommandString) ) CommandString++; index = 0; // start the loop to build all the individual tokens - while (*CommandString != '\0') { - pos = 0; // copy the token until white space is found - while ( !isspace(*CommandString) && *CommandString != '\0') { - buffer[pos++] = *CommandString++; - } buffer[pos] = '\0'; // get space for the individual tokens - ppArgv[index] = (char *) new char [strlen(buffer)+1]; if (ppArgv[index] == NULL) { //cout << "Error: nospace" << endl; @@ -308,14 +287,11 @@ void CommandLine::BuildCommand(const char *CommandString) } // copy the token - strcpy (ppArgv[index++], buffer); // flush while space - while ( isspace(*CommandString) ) CommandString++; - } // finish by setting the las pointer to NULL @@ -333,17 +309,13 @@ void CommandLine::Strtokens(const char *CommandString) temp = CommandString; /* bypass white space */ - while (isspace(*temp)) temp++; for (count=0; *temp != '\0'; count++) { - /* continue until white space of string terminator is found */ - while ((!isspace(*temp)) && (*temp != '\0')) temp++; /* bypass white space */ - while (isspace(*temp)) temp++; } @@ -447,26 +419,15 @@ CCommand::operator int() #elif defined OS2 nRet = _spawnv( P_WAIT, ppArgv[0], ppArgv ); #elif defined UNX - //fprintf( stderr, "CComand : operator (int) not implemented\n"); - // **** Unix Implementierung *************** pid_t pid; if (( pid = fork()) < 0 ) - { DBG_ASSERT( FALSE, "fork error" ); - } else if ( pid == 0 ) - { if ( execv( ppArgv[0], (char * const *) ppArgv ) < 0 ) - { DBG_ASSERT( FALSE, "execv failed" ); - } - } - //fprintf( stderr, "parent: %s %s\n", ppArgv[0] , ppArgv[1] ); if ( (nRet = waitpid( pid, NULL, 0 ) < 0) ) - { DBG_ASSERT( FALSE, "wait error" ); - } #endif switch ( errno ) @@ -628,8 +589,6 @@ CCommandd::operator int() aStartupInfo.lpTitle = NULL; aStartupInfo.dwX = 100; aStartupInfo.dwY = 100; - //aStartupInfo.dwXSize = 400; - //aStartupInfo.dwYSize = 400; aStartupInfo.dwXCountChars = 40; aStartupInfo.dwYCountChars = 40; @@ -637,15 +596,9 @@ CCommandd::operator int() aStartupInfo.dwFillAttribute = FOREGROUND_RED | BACKGROUND_RED | BACKGROUND_BLUE | BACKGROUND_GREEN; -// aStartupInfo.dwFlags = STARTF_USESTDHANDLES; - //aStartupInfo.wShowWindow = SW_NORMAL; //SW_SHOWDEFAULT; - //aStartupInfo.wShowWindow = SW_HIDE; //SW_SHOWNOACTIVATE; aStartupInfo.wShowWindow = SW_SHOWNOACTIVATE; aStartupInfo.cbReserved2 = NULL; aStartupInfo.lpReserved2 = NULL; - //aStartupInfo.hStdInput = stdin; - //aStartupInfo.hStdOutput = stdout; - //aStartupInfo.hStdError = stderr; if ( nFlag & COMMAND_EXECUTE_HIDDEN ) { 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) |