Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
3fa3a52c
Commit
3fa3a52c
authored
Aug 07, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
665783a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXOPER.cpp
...iceXlsFile2/source/XlsFormat/Logic/Biff_unions/SXOPER.cpp
+8
-10
No files found.
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_unions/SXOPER.cpp
View file @
3fa3a52c
...
@@ -77,17 +77,15 @@ const bool SXOPER::loadContent(BinProcessor& proc)
...
@@ -77,17 +77,15 @@ const bool SXOPER::loadContent(BinProcessor& proc)
SXNum
*
num
=
dynamic_cast
<
SXNum
*>
(
elements_
.
back
().
get
());
SXNum
*
num
=
dynamic_cast
<
SXNum
*>
(
elements_
.
back
().
get
());
if
(
num
)
if
(
num
)
{
{
bInteger
=
(
num
->
num
.
data
.
bytes
.
Byte1
==
num
->
num
.
data
.
bytes
.
Byte2
&&
bInteger
=
!
(
num
->
num
.
data
.
value
-
floor
(
num
->
num
.
data
.
value
)
>
0
);
num
->
num
.
data
.
bytes
.
Byte2
==
num
->
num
.
data
.
bytes
.
Byte3
&&
num
->
num
.
data
.
bytes
.
Byte3
==
num
->
num
.
data
.
bytes
.
Byte4
&&
bNumber
=
!
bInteger
;
num
->
num
.
data
.
bytes
.
Byte4
==
0
);
node
=
L"n"
;
if
(
bInteger
)
value
=
std
::
to_wstring
((
int
)
num
->
num
.
data
.
value
);
else
value
=
boost
::
lexical_cast
<
std
::
wstring
>
(
num
->
num
.
data
.
value
);
}
}
bNumber
=
!
bInteger
;
node
=
L"n"
;
if
(
bInteger
)
value
=
std
::
to_wstring
((
int
)
num
->
num
.
data
.
value
);
else
value
=
boost
::
lexical_cast
<
std
::
wstring
>
(
num
->
num
.
data
.
value
);
}
}
else
if
(
proc
.
optional
<
SxBool
>
())
else
if
(
proc
.
optional
<
SxBool
>
())
{
{
...
...
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