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
52810eb4
Kaydet (Commit)
52810eb4
authored
Agu 26, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I3ba3a2074495d01f7877f449ed9b8723161fdd2f
üst
84bbcab3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
asciiopt.cxx
sc/source/ui/dbgui/asciiopt.cxx
+5
-5
asciiopt.hxx
sc/source/ui/inc/asciiopt.hxx
+13
-13
No files found.
sc/source/ui/dbgui/asciiopt.cxx
Dosyayı görüntüle @
52810eb4
...
...
@@ -155,7 +155,7 @@ ScAsciiOptions& ScAsciiOptions::operator=( const ScAsciiOptions& rCpy )
}
sal_B
ool
ScAsciiOptions
::
operator
==
(
const
ScAsciiOptions
&
rCmp
)
const
b
ool
ScAsciiOptions
::
operator
==
(
const
ScAsciiOptions
&
rCmp
)
const
{
if
(
bFixedLen
==
rCmp
.
bFixedLen
&&
aFieldSeps
==
rCmp
.
aFieldSeps
&&
...
...
@@ -174,7 +174,7 @@ sal_Bool ScAsciiOptions::operator==( const ScAsciiOptions& rCmp ) const
pColFormat
[
i
]
!=
rCmp
.
pColFormat
[
i
]
)
return
false
;
return
sal_T
rue
;
return
t
rue
;
}
return
false
;
}
...
...
@@ -203,13 +203,13 @@ void ScAsciiOptions::ReadFromString( const String& rString )
aToken
=
rString
.
GetToken
(
0
,
','
);
if
(
aToken
.
EqualsAscii
(
pStrFix
)
)
bFixedLen
=
sal_T
rue
;
bFixedLen
=
t
rue
;
nSub
=
comphelper
::
string
::
getTokenCount
(
aToken
,
'/'
);
for
(
i
=
0
;
i
<
nSub
;
i
++
)
{
String
aCode
=
aToken
.
GetToken
(
i
,
'/'
);
if
(
aCode
.
EqualsAscii
(
pStrMrg
)
)
bMergeFieldSeps
=
sal_T
rue
;
bMergeFieldSeps
=
t
rue
;
else
{
sal_Int32
nVal
=
aCode
.
ToInt32
();
...
...
@@ -300,7 +300,7 @@ void ScAsciiOptions::ReadFromString( const String& rString )
bDetectSpecialNumber
=
aToken
.
EqualsAscii
(
"true"
)
?
true
:
false
;
}
else
bDetectSpecialNumber
=
sal_T
rue
;
// default of versions that didn't add the parameter
bDetectSpecialNumber
=
t
rue
;
// default of versions that didn't add the parameter
// 9th token is used for "Save as shown" in export options
// 10th token is used for "Save cell formulas" in export options
...
...
sc/source/ui/inc/asciiopt.hxx
Dosyayı görüntüle @
52810eb4
...
...
@@ -39,15 +39,15 @@
class
ScAsciiOptions
{
private
:
sal_B
ool
bFixedLen
;
b
ool
bFixedLen
;
String
aFieldSeps
;
sal_B
ool
bMergeFieldSeps
;
b
ool
bMergeFieldSeps
;
bool
bQuotedFieldAsText
;
bool
bDetectSpecialNumber
;
sal_Unicode
cTextSep
;
CharSet
eCharSet
;
LanguageType
eLang
;
sal_B
ool
bCharSetSystem
;
b
ool
bCharSetSystem
;
long
nStartRow
;
sal_uInt16
nInfoCount
;
sal_Int32
*
pColStart
;
//! TODO replace with vector
...
...
@@ -62,7 +62,7 @@ public:
ScAsciiOptions
&
operator
=
(
const
ScAsciiOptions
&
rCpy
);
sal_B
ool
operator
==
(
const
ScAsciiOptions
&
rCmp
)
const
;
b
ool
operator
==
(
const
ScAsciiOptions
&
rCmp
)
const
;
void
ReadFromString
(
const
String
&
rString
);
String
WriteToString
()
const
;
...
...
@@ -70,24 +70,24 @@ public:
void
InterpretColumnList
(
const
String
&
rString
);
CharSet
GetCharSet
()
const
{
return
eCharSet
;
}
sal_B
ool
GetCharSetSystem
()
const
{
return
bCharSetSystem
;
}
b
ool
GetCharSetSystem
()
const
{
return
bCharSetSystem
;
}
const
String
&
GetFieldSeps
()
const
{
return
aFieldSeps
;
}
sal_B
ool
IsMergeSeps
()
const
{
return
bMergeFieldSeps
;
}
b
ool
IsMergeSeps
()
const
{
return
bMergeFieldSeps
;
}
bool
IsQuotedAsText
()
const
{
return
bQuotedFieldAsText
;
}
bool
IsDetectSpecialNumber
()
const
{
return
bDetectSpecialNumber
;
}
sal_Unicode
GetTextSep
()
const
{
return
cTextSep
;
}
sal_B
ool
IsFixedLen
()
const
{
return
bFixedLen
;
}
sal_uInt16
GetInfoCount
()
const
{
return
nInfoCount
;
}
const
sal_Int32
*
GetColStart
()
const
{
return
pColStart
;
}
const
sal_uInt8
*
GetColFormat
()
const
{
return
pColFormat
;
}
b
ool
IsFixedLen
()
const
{
return
bFixedLen
;
}
sal_uInt16
GetInfoCount
()
const
{
return
nInfoCount
;
}
const
sal_Int32
*
GetColStart
()
const
{
return
pColStart
;
}
const
sal_uInt8
*
GetColFormat
()
const
{
return
pColFormat
;
}
long
GetStartRow
()
const
{
return
nStartRow
;
}
LanguageType
GetLanguage
()
const
{
return
eLang
;
}
void
SetCharSet
(
CharSet
eNew
)
{
eCharSet
=
eNew
;
}
void
SetCharSetSystem
(
sal_B
ool
bSet
)
{
bCharSetSystem
=
bSet
;
}
void
SetFixedLen
(
sal_B
ool
bSet
)
{
bFixedLen
=
bSet
;
}
void
SetCharSetSystem
(
b
ool
bSet
)
{
bCharSetSystem
=
bSet
;
}
void
SetFixedLen
(
b
ool
bSet
)
{
bFixedLen
=
bSet
;
}
void
SetFieldSeps
(
const
String
&
rStr
)
{
aFieldSeps
=
rStr
;
}
void
SetMergeSeps
(
sal_B
ool
bSet
)
{
bMergeFieldSeps
=
bSet
;
}
void
SetMergeSeps
(
b
ool
bSet
)
{
bMergeFieldSeps
=
bSet
;
}
void
SetQuotedAsText
(
bool
bSet
)
{
bQuotedFieldAsText
=
bSet
;
}
void
SetDetectSpecialNumber
(
bool
bSet
)
{
bDetectSpecialNumber
=
bSet
;
}
void
SetTextSep
(
sal_Unicode
c
)
{
cTextSep
=
c
;
}
...
...
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