summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2003-10-30 16:41:24 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2003-10-30 16:41:24 +0000
commitb7ee7b0d61194c6aaa2b64d27d9b550adf706988 (patch)
tree20c6893d2cff598b62e61d33cea91d430a661aef /tools/source
parent359e2314923df1dc0601f53c1bf9bb7dc5a1e7b0 (diff)
#100000# fix mws build
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/fsys/filecopy.cxx35
1 files changed, 2 insertions, 33 deletions
diff --git a/tools/source/fsys/filecopy.cxx b/tools/source/fsys/filecopy.cxx
index 5ae157093430..550ad32ae8fe 100644
--- a/tools/source/fsys/filecopy.cxx
+++ b/tools/source/fsys/filecopy.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: filecopy.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 17:04:01 $
+ * last change: $Author: hjs $ $Date: 2003-10-30 17:41:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -88,9 +88,7 @@
#include <stdlib.h>
#include <string.h>
-#ifndef PM2
#include <stdio.h>
-#endif
#ifndef _COMDEP_HXX
#include "comdep.hxx"
@@ -113,27 +111,6 @@
using namespace ::osl;
-EA_Copier* EA_Copier::_pCopier = NULL;
-
-//========================================================================
-
-EA_Copier::~EA_Copier()
-{
-}
-
-//------------------------------------------------------------------------
-void EA_Copier::Register( EA_Copier* pCopier )
-{
- _pCopier = pCopier;
-}
-
-//------------------------------------------------------------------------
-
-EA_Copier* EA_Copier::Get()
-{
- return _pCopier;
-}
-
/*************************************************************************
|*
|* FileCopier::FileCopier()
@@ -309,10 +286,6 @@ const Link& FileCopier::GetErrorHdl() const
#ifndef MAC
-#ifdef OS2
-BOOL createLongNameEA ( const PCSZ pszPath, ULONG ulAttributes, const String& aLongName );
-#endif
-
FSysError FileCopier::DoCopy_Impl( const DirEntry &rSource, const DirEntry &rTarget,
BOOL bTop )
{
@@ -470,10 +443,6 @@ FSysError FileCopier::DoCopy_Impl( const DirEntry &rSource, const DirEntry &rTar
else
eRet = Error( aTargetStream.GetError(), 0, &aTarget );
- // ggf. EAs kopieren
- if ( !eRet && EA_Copier::Get() && !EA_Copier::Get()->Copy( aSource, aTargetStream ) )
- eRet = FSYS_ERR_UNKNOWN | ERRCODE_WARNING_MASK;
-
// unvollstaendiges File wieder loeschen
aTargetStream.Close();