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
b1fa18a3
Kaydet (Commit)
b1fa18a3
authored
Şub 12, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: Id93fd35fe2482c4b639c25c9dd0d1ce4b4c8aa75
üst
6968985d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
excform.cxx
sc/source/filter/excel/excform.cxx
+2
-2
excform8.cxx
sc/source/filter/excel/excform8.cxx
+2
-2
excform.hxx
sc/source/filter/inc/excform.hxx
+11
-11
No files found.
sc/source/filter/excel/excform.cxx
Dosyayı görüntüle @
b1fa18a3
...
@@ -1315,7 +1315,7 @@ ConvErr ExcelToSc::ConvertExternName( const ScTokenArray*& /*rpArray*/, XclImpSt
...
@@ -1315,7 +1315,7 @@ ConvErr ExcelToSc::ConvertExternName( const ScTokenArray*& /*rpArray*/, XclImpSt
return
ConvErrNi
;
return
ConvErrNi
;
}
}
sal_B
ool
ExcelToSc
::
GetAbsRefs
(
ScRangeList
&
rRangeList
,
XclImpStream
&
rStrm
,
sal_Size
nLen
)
b
ool
ExcelToSc
::
GetAbsRefs
(
ScRangeList
&
rRangeList
,
XclImpStream
&
rStrm
,
sal_Size
nLen
)
{
{
OSL_ENSURE_BIFF
(
GetBiff
()
==
EXC_BIFF5
);
OSL_ENSURE_BIFF
(
GetBiff
()
==
EXC_BIFF5
);
if
(
GetBiff
()
!=
EXC_BIFF5
)
if
(
GetBiff
()
!=
EXC_BIFF5
)
...
@@ -1600,7 +1600,7 @@ void ExcelToSc::DoMulArgs( DefTokenId eId, sal_uInt8 nAnz )
...
@@ -1600,7 +1600,7 @@ void ExcelToSc::DoMulArgs( DefTokenId eId, sal_uInt8 nAnz )
}
}
void
ExcelToSc
::
ExcRelToScRel
(
sal_uInt16
nRow
,
sal_uInt8
nCol
,
ScSingleRefData
&
rSRD
,
const
sal_B
ool
bName
)
void
ExcelToSc
::
ExcRelToScRel
(
sal_uInt16
nRow
,
sal_uInt8
nCol
,
ScSingleRefData
&
rSRD
,
const
b
ool
bName
)
{
{
if
(
bName
)
if
(
bName
)
{
{
...
...
sc/source/filter/excel/excform8.cxx
Dosyayı görüntüle @
b1fa18a3
...
@@ -1401,7 +1401,7 @@ ConvErr ExcelToSc8::ConvertExternName( const ScTokenArray*& rpArray, XclImpStrea
...
@@ -1401,7 +1401,7 @@ ConvErr ExcelToSc8::ConvertExternName( const ScTokenArray*& rpArray, XclImpStrea
return
eRet
;
return
eRet
;
}
}
void
ExcelToSc8
::
ExcRelToScRel8
(
sal_uInt16
nRow
,
sal_uInt16
nC
,
ScSingleRefData
&
rSRD
,
const
sal_B
ool
bName
)
void
ExcelToSc8
::
ExcRelToScRel8
(
sal_uInt16
nRow
,
sal_uInt16
nC
,
ScSingleRefData
&
rSRD
,
const
b
ool
bName
)
{
{
const
bool
bColRel
=
(
nC
&
0x4000
)
!=
0
;
const
bool
bColRel
=
(
nC
&
0x4000
)
!=
0
;
const
bool
bRowRel
=
(
nC
&
0x8000
)
!=
0
;
const
bool
bRowRel
=
(
nC
&
0x8000
)
!=
0
;
...
@@ -1439,7 +1439,7 @@ void ExcelToSc8::ExcRelToScRel8( sal_uInt16 nRow, sal_uInt16 nC, ScSingleRefData
...
@@ -1439,7 +1439,7 @@ void ExcelToSc8::ExcRelToScRel8( sal_uInt16 nRow, sal_uInt16 nC, ScSingleRefData
// stream seeks to first byte after <nLen>
// stream seeks to first byte after <nLen>
sal_B
ool
ExcelToSc8
::
GetAbsRefs
(
ScRangeList
&
r
,
XclImpStream
&
aIn
,
sal_Size
nLen
)
b
ool
ExcelToSc8
::
GetAbsRefs
(
ScRangeList
&
r
,
XclImpStream
&
aIn
,
sal_Size
nLen
)
{
{
sal_uInt8
nOp
;
sal_uInt8
nOp
;
sal_uInt16
nRow1
,
nRow2
,
nCol1
,
nCol2
;
sal_uInt16
nRow1
,
nRow2
,
nCol1
,
nCol2
;
...
...
sc/source/filter/inc/excform.hxx
Dosyayı görüntüle @
b1fa18a3
...
@@ -36,7 +36,7 @@ protected:
...
@@ -36,7 +36,7 @@ protected:
enum
ExtensionType
{
EXTENSION_ARRAY
,
EXTENSION_NLR
,
EXTENSION_MEMAREA
};
enum
ExtensionType
{
EXTENSION_ARRAY
,
EXTENSION_NLR
,
EXTENSION_MEMAREA
};
typedef
::
std
::
vector
<
ExtensionType
>
ExtensionTypeVec
;
typedef
::
std
::
vector
<
ExtensionType
>
ExtensionTypeVec
;
sal_Bool
bExternName
;
// wenn External Name gefunden wurde
bool
bExternName
;
// wenn External Name gefunden wurde
static
const
sal_uInt16
nRowMask
;
static
const
sal_uInt16
nRowMask
;
static
const
sal_uInt16
nLastInd
;
// letzter Index fuer Excel->SC-
static
const
sal_uInt16
nLastInd
;
// letzter Index fuer Excel->SC-
// Token Umsetzung
// Token Umsetzung
...
@@ -46,7 +46,7 @@ protected:
...
@@ -46,7 +46,7 @@ protected:
// ---------------------------------------------------------------
// ---------------------------------------------------------------
void
DoMulArgs
(
DefTokenId
eId
,
sal_uInt8
nNumArgs
);
void
DoMulArgs
(
DefTokenId
eId
,
sal_uInt8
nNumArgs
);
void
ExcRelToScRel
(
sal_uInt16
nRow
,
sal_uInt8
nCol
,
ScSingleRefData
&
,
const
sal_B
ool
bName
);
void
ExcRelToScRel
(
sal_uInt16
nRow
,
sal_uInt8
nCol
,
ScSingleRefData
&
,
const
b
ool
bName
);
public
:
public
:
ExcelToSc
(
const
XclImpRoot
&
rRoot
);
ExcelToSc
(
const
XclImpRoot
&
rRoot
);
...
@@ -59,7 +59,7 @@ public:
...
@@ -59,7 +59,7 @@ public:
virtual
ConvErr
ConvertExternName
(
const
ScTokenArray
*&
rpArray
,
XclImpStream
&
rStrm
,
sal_Size
nFormulaLen
,
virtual
ConvErr
ConvertExternName
(
const
ScTokenArray
*&
rpArray
,
XclImpStream
&
rStrm
,
sal_Size
nFormulaLen
,
const
OUString
&
rUrl
,
const
::
std
::
vector
<
OUString
>&
rTabNames
);
const
OUString
&
rUrl
,
const
::
std
::
vector
<
OUString
>&
rTabNames
);
virtual
sal_B
ool
GetAbsRefs
(
ScRangeList
&
rRangeList
,
XclImpStream
&
rStrm
,
sal_Size
nLen
);
virtual
b
ool
GetAbsRefs
(
ScRangeList
&
rRangeList
,
XclImpStream
&
rStrm
,
sal_Size
nLen
);
void
GetDummy
(
const
ScTokenArray
*&
);
void
GetDummy
(
const
ScTokenArray
*&
);
const
ScTokenArray
*
GetBoolErr
(
XclBoolError
);
const
ScTokenArray
*
GetBoolErr
(
XclBoolError
);
...
@@ -69,8 +69,8 @@ public:
...
@@ -69,8 +69,8 @@ public:
static
void
SetError
(
ScFormulaCell
&
rCell
,
const
ConvErr
eErr
);
static
void
SetError
(
ScFormulaCell
&
rCell
,
const
ConvErr
eErr
);
static
inline
sal_B
ool
IsComplColRange
(
const
sal_uInt16
nCol1
,
const
sal_uInt16
nCol2
);
static
inline
b
ool
IsComplColRange
(
const
sal_uInt16
nCol1
,
const
sal_uInt16
nCol2
);
static
inline
sal_B
ool
IsComplRowRange
(
const
sal_uInt16
nRow1
,
const
sal_uInt16
nRow2
);
static
inline
b
ool
IsComplRowRange
(
const
sal_uInt16
nRow1
,
const
sal_uInt16
nRow2
);
void
SetComplCol
(
ScComplexRefData
&
);
void
SetComplCol
(
ScComplexRefData
&
);
void
SetComplRow
(
ScComplexRefData
&
);
void
SetComplRow
(
ScComplexRefData
&
);
...
@@ -84,13 +84,13 @@ public:
...
@@ -84,13 +84,13 @@ public:
};
};
inline
sal_B
ool
ExcelToSc
::
IsComplColRange
(
const
sal_uInt16
nCol1
,
const
sal_uInt16
nCol2
)
inline
b
ool
ExcelToSc
::
IsComplColRange
(
const
sal_uInt16
nCol1
,
const
sal_uInt16
nCol2
)
{
{
return
(
nCol1
==
0x00
)
&&
(
nCol2
==
0xFF
);
return
(
nCol1
==
0x00
)
&&
(
nCol2
==
0xFF
);
}
}
inline
sal_B
ool
ExcelToSc
::
IsComplRowRange
(
const
sal_uInt16
nRow1
,
const
sal_uInt16
nRow2
)
inline
b
ool
ExcelToSc
::
IsComplRowRange
(
const
sal_uInt16
nRow1
,
const
sal_uInt16
nRow2
)
{
{
return
(
(
nRow1
&
0x3FFF
)
==
0x0000
)
&&
(
(
nRow2
&
0x3FFF
)
==
0x3FFF
);
return
(
(
nRow1
&
0x3FFF
)
==
0x0000
)
&&
(
(
nRow2
&
0x3FFF
)
==
0x3FFF
);
}
}
...
@@ -118,7 +118,7 @@ private:
...
@@ -118,7 +118,7 @@ private:
const
XclImpLinkManager
&
rLinkMan
;
const
XclImpLinkManager
&
rLinkMan
;
void
ExcRelToScRel8
(
sal_uInt16
nRow
,
sal_uInt16
nCol
,
ScSingleRefData
&
,
void
ExcRelToScRel8
(
sal_uInt16
nRow
,
sal_uInt16
nCol
,
ScSingleRefData
&
,
const
sal_B
ool
bName
);
const
b
ool
bName
);
bool
GetExternalFileIdFromXti
(
sal_uInt16
nIxti
,
sal_uInt16
&
rFileId
)
const
;
bool
GetExternalFileIdFromXti
(
sal_uInt16
nIxti
,
sal_uInt16
&
rFileId
)
const
;
...
@@ -136,13 +136,13 @@ public:
...
@@ -136,13 +136,13 @@ public:
virtual
ConvErr
ConvertExternName
(
const
ScTokenArray
*&
rpArray
,
XclImpStream
&
rStrm
,
sal_Size
nFormulaLen
,
virtual
ConvErr
ConvertExternName
(
const
ScTokenArray
*&
rpArray
,
XclImpStream
&
rStrm
,
sal_Size
nFormulaLen
,
const
OUString
&
rUrl
,
const
::
std
::
vector
<
OUString
>&
rTabNames
);
const
OUString
&
rUrl
,
const
::
std
::
vector
<
OUString
>&
rTabNames
);
static
inline
sal_B
ool
IsComplRowRange
(
const
sal_uInt16
nRow1
,
const
sal_uInt16
nRow2
);
static
inline
b
ool
IsComplRowRange
(
const
sal_uInt16
nRow1
,
const
sal_uInt16
nRow2
);
virtual
sal_B
ool
GetAbsRefs
(
ScRangeList
&
rRangeList
,
XclImpStream
&
rStrm
,
sal_Size
nLen
);
virtual
b
ool
GetAbsRefs
(
ScRangeList
&
rRangeList
,
XclImpStream
&
rStrm
,
sal_Size
nLen
);
};
};
inline
sal_B
ool
ExcelToSc8
::
IsComplRowRange
(
const
sal_uInt16
nRow1
,
const
sal_uInt16
nRow2
)
inline
b
ool
ExcelToSc8
::
IsComplRowRange
(
const
sal_uInt16
nRow1
,
const
sal_uInt16
nRow2
)
{
{
return
(
nRow1
==
0x0000
)
&&
(
nRow2
==
0xFFFF
);
return
(
nRow1
==
0x0000
)
&&
(
nRow2
==
0xFFFF
);
}
}
...
...
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