Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b680e352
Kaydet (Commit)
b680e352
authored
Eki 12, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Test WNT instead of the vague UNX
Change-Id: Icacdae592f05bcdcf50223d607976d687e182c96
üst
90976113
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
16 deletions
+9
-16
parser.cxx
basic/source/comp/parser.cxx
+3
-3
methods.cxx
basic/source/runtime/methods.cxx
+6
-13
No files found.
basic/source/comp/parser.cxx
Dosyayı görüntüle @
b680e352
...
...
@@ -856,10 +856,10 @@ void SbiParser::AddConstants( void )
addStringConst
(
aPublics
,
"vbCrLf"
,
"
\x0D\x0A
"
);
addStringConst
(
aPublics
,
"vbFormFeed"
,
"
\x0C
"
);
addStringConst
(
aPublics
,
"vbLf"
,
"
\x0A
"
);
#if defined(UNX)
addStringConst
(
aPublics
,
"vbNewLine"
,
"
\x0A
"
);
#else
#ifndef WNT
addStringConst
(
aPublics
,
"vbNewLine"
,
"
\x0D\x0A
"
);
#else
addStringConst
(
aPublics
,
"vbNewLine"
,
"
\x0A
"
);
#endif
addStringConst
(
aPublics
,
"vbNullString"
,
""
);
addStringConst
(
aPublics
,
"vbTab"
,
"
\x09
"
);
...
...
basic/source/runtime/methods.cxx
Dosyayı görüntüle @
b680e352
...
...
@@ -79,6 +79,7 @@ using namespace com::sun::star::uno;
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
SbxVariable
*
getDefaultProp
(
SbxVariable
*
pRef
);
...
...
@@ -86,11 +87,6 @@ SbxVariable* getDefaultProp( SbxVariable* pRef );
#include <direct.h> // _getdcwd get current work directory, _chdrive
#endif
#ifdef UNX
#include <errno.h>
#include <unistd.h>
#endif
#include <basic/sbobjmod.hxx>
#ifdef WNT
...
...
@@ -399,11 +395,6 @@ RTLFUNC(ChrW)
implChr
(
rPar
,
bChrW
);
}
#ifdef UNX
#define _PATH_INCR 250
#endif
RTLFUNC
(
CurDir
)
{
(
void
)
pBasic
;
...
...
@@ -449,9 +440,11 @@ RTLFUNC(CurDir)
}
delete
[]
pBuffer
;
#elif defined( UNX )
#else
const
int
PATH_INCR
=
250
;
int
nSize
=
_
PATH_INCR
;
int
nSize
=
PATH_INCR
;
char
*
pMem
;
while
(
true
)
{
...
...
@@ -474,7 +467,7 @@ RTLFUNC(CurDir)
return
;
}
delete
[]
pMem
;
nSize
+=
_
PATH_INCR
;
nSize
+=
PATH_INCR
;
};
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment