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
9a883d6d
Kaydet (Commit)
9a883d6d
authored
Şub 18, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: I999a8f72d184f611b6abee8aa64590ccd3cd41c4
üst
28e8649a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
imoptdlg.cxx
sc/source/ui/dbgui/imoptdlg.cxx
+3
-3
imoptdlg.hxx
sc/source/ui/inc/imoptdlg.hxx
+5
-5
No files found.
sc/source/ui/dbgui/imoptdlg.cxx
Dosyayı görüntüle @
9a883d6d
...
@@ -41,7 +41,7 @@ ScImportOptions::ScImportOptions( const OUString& rStr )
...
@@ -41,7 +41,7 @@ ScImportOptions::ScImportOptions( const OUString& rStr )
nFieldSepCode
=
0
;
nFieldSepCode
=
0
;
nTextSepCode
=
0
;
nTextSepCode
=
0
;
eCharSet
=
RTL_TEXTENCODING_DONTKNOW
;
eCharSet
=
RTL_TEXTENCODING_DONTKNOW
;
bSaveAsShown
=
sal_T
rue
;
// "true" if not in string (after CSV import)
bSaveAsShown
=
t
rue
;
// "true" if not in string (after CSV import)
bQuoteAllText
=
false
;
bQuoteAllText
=
false
;
bSaveFormulas
=
false
;
bSaveFormulas
=
false
;
sal_Int32
nTokenCount
=
comphelper
::
string
::
getTokenCount
(
rStr
,
','
);
sal_Int32
nTokenCount
=
comphelper
::
string
::
getTokenCount
(
rStr
,
','
);
...
@@ -50,7 +50,7 @@ ScImportOptions::ScImportOptions( const OUString& rStr )
...
@@ -50,7 +50,7 @@ ScImportOptions::ScImportOptions( const OUString& rStr )
// first 3 tokens: common
// first 3 tokens: common
OUString
aToken
(
rStr
.
getToken
(
0
,
','
)
);
OUString
aToken
(
rStr
.
getToken
(
0
,
','
)
);
if
(
aToken
.
equalsIgnoreAsciiCase
(
pStrFix
)
)
if
(
aToken
.
equalsIgnoreAsciiCase
(
pStrFix
)
)
bFixedWidth
=
sal_T
rue
;
bFixedWidth
=
t
rue
;
else
else
nFieldSepCode
=
ScAsciiOptions
::
GetWeightedFieldSep
(
aToken
,
true
);
nFieldSepCode
=
ScAsciiOptions
::
GetWeightedFieldSep
(
aToken
,
true
);
nTextSepCode
=
(
sal_Unicode
)
rStr
.
getToken
(
1
,
','
).
toInt32
();
nTextSepCode
=
(
sal_Unicode
)
rStr
.
getToken
(
1
,
','
).
toInt32
();
...
@@ -61,7 +61,7 @@ ScImportOptions::ScImportOptions( const OUString& rStr )
...
@@ -61,7 +61,7 @@ ScImportOptions::ScImportOptions( const OUString& rStr )
{
{
// compatibility with old options string: "Save as shown" as 4th token, numeric
// compatibility with old options string: "Save as shown" as 4th token, numeric
bSaveAsShown
=
(
rStr
.
getToken
(
3
,
','
).
toInt32
()
?
sal_True
:
false
);
bSaveAsShown
=
(
rStr
.
getToken
(
3
,
','
).
toInt32
()
?
sal_True
:
false
);
bQuoteAllText
=
sal_T
rue
;
// use old default then
bQuoteAllText
=
t
rue
;
// use old default then
}
}
else
else
{
{
...
...
sc/source/ui/inc/imoptdlg.hxx
Dosyayı görüntüle @
9a883d6d
...
@@ -75,7 +75,7 @@ public:
...
@@ -75,7 +75,7 @@ public:
return
*
this
;
return
*
this
;
}
}
sal_B
ool
operator
==
(
const
ScImportOptions
&
rCmp
)
b
ool
operator
==
(
const
ScImportOptions
&
rCmp
)
{
{
return
return
nFieldSepCode
==
rCmp
.
nFieldSepCode
nFieldSepCode
==
rCmp
.
nFieldSepCode
...
@@ -95,10 +95,10 @@ public:
...
@@ -95,10 +95,10 @@ public:
sal_Unicode
nTextSepCode
;
sal_Unicode
nTextSepCode
;
OUString
aStrFont
;
OUString
aStrFont
;
rtl_TextEncoding
eCharSet
;
rtl_TextEncoding
eCharSet
;
sal_Bool
bFixedWidth
;
bool
bFixedWidth
;
sal_Bool
bSaveAsShown
;
bool
bSaveAsShown
;
sal_Bool
bQuoteAllText
;
bool
bQuoteAllText
;
sal_Bool
bSaveFormulas
;
bool
bSaveFormulas
;
};
};
...
...
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