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
c5ce1e27
Commit
c5ce1e27
authored
Oct 21, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x2t version up
parent
7ecc7fa1
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
8 deletions
+9
-8
ASCOfficeXlsFile2/source/XlsFormat/Binary/CFRecord.cpp
ASCOfficeXlsFile2/source/XlsFormat/Binary/CFRecord.cpp
+0
-3
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/FileMoniker.cpp
...e2/source/XlsFormat/Logic/Biff_structures/FileMoniker.cpp
+1
-1
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/ItemMoniker.cpp
...e2/source/XlsFormat/Logic/Biff_structures/ItemMoniker.cpp
+2
-2
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/ODRAW/OfficeArtFOPTE.cpp
.../XlsFormat/Logic/Biff_structures/ODRAW/OfficeArtFOPTE.cpp
+1
-1
Common/3dParty/pole/pole.h
Common/3dParty/pole/pole.h
+4
-0
X2tConverter/build/Qt/X2tConverter.pri
X2tConverter/build/Qt/X2tConverter.pri
+1
-1
No files found.
ASCOfficeXlsFile2/source/XlsFormat/Binary/CFRecord.cpp
View file @
c5ce1e27
...
...
@@ -33,9 +33,6 @@
#include "CFRecord.h"
#include "CFStream.h"
#ifdef __linux__
#include <string.h>
#endif
namespace
XLS
{
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/FileMoniker.cpp
View file @
c5ce1e27
...
...
@@ -68,7 +68,7 @@ void FileMoniker::load(XLS::CFRecord& record)
#if defined(_WIN32) || defined(_WIN64)
unicodePath
=
std
::
wstring
(
record
.
getCurData
<
wchar_t
>
(),
cbUnicodePathBytes
/
2
);
#else
unicodePath
=
XLS
::
convertUtf16ToWString
(
record
.
getCurData
<
UTF16
>
(),
cbUnicodePathBytes
/
2
);
unicodePath
=
convertUtf16ToWString
(
record
.
getCurData
<
UTF16
>
(),
cbUnicodePathBytes
/
2
);
#endif
record
.
skipNunBytes
(
cbUnicodePathBytes
);
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/ItemMoniker.cpp
View file @
c5ce1e27
...
...
@@ -65,7 +65,7 @@ void ItemMoniker::load(XLS::CFRecord& record)
#if defined(_WIN32) || defined(_WIN64)
delimiterUnicode
=
std
::
wstring
(
record
.
getCurData
<
wchar_t
>
(),
sizeof_delimiterUnicode
/
2
);
#else
delimiterUnicode
=
XLS
::
convertUtf16ToWString
(
record
.
getCurData
<
UTF16
>
(),
sizeof_delimiterUnicode
/
2
);
delimiterUnicode
=
convertUtf16ToWString
(
record
.
getCurData
<
UTF16
>
(),
sizeof_delimiterUnicode
/
2
);
#endif
record
.
skipNunBytes
(
sizeof_delimiterUnicode
);
}
...
...
@@ -80,7 +80,7 @@ void ItemMoniker::load(XLS::CFRecord& record)
#if defined(_WIN32) || defined(_WIN64)
itemUnicode
=
std
::
wstring
(
record
.
getCurData
<
wchar_t
>
(),
sizeof_itemUnicode
/
2
);
#else
itemUnicode
=
XLS
::
convertUtf16ToWString
(
record
.
getCurData
<
UTF16
>
(),
sizeof_itemUnicode
/
2
);
itemUnicode
=
convertUtf16ToWString
(
record
.
getCurData
<
UTF16
>
(),
sizeof_itemUnicode
/
2
);
#endif
record
.
skipNunBytes
(
sizeof_itemUnicode
);
}
...
...
ASCOfficeXlsFile2/source/XlsFormat/Logic/Biff_structures/ODRAW/OfficeArtFOPTE.cpp
View file @
c5ce1e27
...
...
@@ -544,7 +544,7 @@ void anyString::ReadComplexData(XLS::CFRecord& record)
#if defined(_WIN32) || defined(_WIN64)
string_
=
std
::
wstring
(
record
.
getCurData
<
wchar_t
>
(),
op
);
#else
string_
=
XLS
::
convertUtf16ToWString
(
record
.
getCurData
<
UTF16
>
(),
op
);
string_
=
convertUtf16ToWString
(
record
.
getCurData
<
UTF16
>
(),
op
);
#endif
if
(
!
string_
.
empty
())
{
...
...
Common/3dParty/pole/pole.h
View file @
c5ce1e27
...
...
@@ -62,6 +62,10 @@ wide string into utf8 char*:
#include <string>
#include <list>
#ifdef __linux__
#include <string.h>
#endif
#include "../../../Common/DocxFormat/Source/Base/unicode_util.h"
static
std
::
wstring
convertUtf16ToWString
(
const
UTF16
*
Data
,
int
nLength
)
...
...
X2tConverter/build/Qt/X2tConverter.pri
View file @
c5ce1e27
...
...
@@ -7,7 +7,7 @@
QT -= core
QT -= gui
VERSION = 2.4.48
5
.0
VERSION = 2.4.48
6
.0
DEFINES += INTVER=$$VERSION
TARGET = x2t
...
...
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