summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorPatrick Luby <patrick.luby@openoffice.org>2000-09-27 19:39:52 +0000
committerPatrick Luby <patrick.luby@openoffice.org>2000-09-27 19:39:52 +0000
commitb3060c9008bef023444215b4d5bc21ba6e518ff9 (patch)
treea306bc678934fc73eb7edc8e41182afab3753f2c /basic
parent65b17db2c5acbe8ee0a91ca9d0c5f4c4c8e4ec82 (diff)
Added #ifdefs for MACOSX where class enum constants are used.
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 6b5639116200..8bed2a1106bd 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: methods.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: ab $ $Date: 2000-09-26 09:01:44 $
+ * last change: $Author: patrick.luby $ $Date: 2000-09-27 20:39:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -675,7 +675,11 @@ void implStepRenameUCB( const String& aSource, const String& aDest )
void implStepRenameOSL( const String& aSource, const String& aDest )
{
FileBase::RC nRet = File::move( getFullPathUNC( aSource ), getFullPathUNC( aDest ) );
+#ifdef MACOSX
+ if( nRet != FileBase::E_None )
+#else
if( nRet != FileBase::RC::E_None )
+#endif
{
StarBASIC::Error( SbERR_PATH_NOT_FOUND );
}