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
6a013840
Commit
6a013840
authored
Dec 13, 2017
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f65984f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
ASCOfficeDocFile/DocDocxConverter/FormFieldData.cpp
ASCOfficeDocFile/DocDocxConverter/FormFieldData.cpp
+0
-28
No files found.
ASCOfficeDocFile/DocDocxConverter/FormFieldData.cpp
View file @
6a013840
...
@@ -34,34 +34,6 @@
...
@@ -34,34 +34,6 @@
#include "FormFieldData.h"
#include "FormFieldData.h"
#include "../../Common/DocxFormat/Source/Base/unicode_util.h"
#include "../../Common/DocxFormat/Source/Base/unicode_util.h"
static
std
::
wstring
convertUtf16ToWString
(
const
UTF16
*
Data
,
int
nLength
)
{
UTF32
*
pStrUtf32
=
new
UTF32
[
nLength
+
1
];
memset
((
void
*
)
pStrUtf32
,
0
,
sizeof
(
UTF32
)
*
(
nLength
+
1
));
// this values will be modificated
const
UTF16
*
pStrUtf16_Conv
=
Data
;
UTF32
*
pStrUtf32_Conv
=
pStrUtf32
;
ConversionResult
eUnicodeConversionResult
=
ConvertUTF16toUTF32
(
&
pStrUtf16_Conv
,
&
Data
[
nLength
]
,
&
pStrUtf32_Conv
,
&
pStrUtf32
[
nLength
]
,
strictConversion
);
if
(
conversionOK
!=
eUnicodeConversionResult
)
{
delete
[]
pStrUtf32
;
return
std
::
wstring
();
}
std
::
wstring
wstr
((
wchar_t
*
)
pStrUtf32
);
delete
[]
pStrUtf32
;
return
wstr
;
}
namespace
DocFileFormat
namespace
DocFileFormat
{
{
std
::
wstring
readXstz
(
VirtualStreamReader
*
reader
)
std
::
wstring
readXstz
(
VirtualStreamReader
*
reader
)
...
...
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