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
113d5b4c
Commit
113d5b4c
authored
Oct 25, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactoring
parent
d3461dd3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
PdfReader/Src/RendererOutputDev.cpp
PdfReader/Src/RendererOutputDev.cpp
+8
-0
PdfReader/Src/StringExt.cpp
PdfReader/Src/StringExt.cpp
+1
-1
No files found.
PdfReader/Src/RendererOutputDev.cpp
View file @
113d5b4c
...
...
@@ -1837,6 +1837,8 @@ namespace PdfReader
oBase64
.
Encode
((
unsigned
char
*
)
seBuffer
->
GetBuffer
(),
seBuffer
->
GetLength
());
oXmlWriter
.
WriteString
(
AStringToWString
(
oBase64
.
GetCString
()));
oXmlWriter
.
WriteNodeEnd
(
L"ToUnicode"
);
delete
seBuffer
;
}
oDictItem
.
Free
();
...
...
@@ -1940,6 +1942,8 @@ namespace PdfReader
oXmlWriter
.
WriteString
(
AStringToWString
(
oBase64
.
GetCString
()));
oXmlWriter
.
WriteNodeEnd
(
L"UseCMap"
);
delete
seBuffer
;
}
oEncItem
.
Free
();
}
...
...
@@ -1958,6 +1962,8 @@ namespace PdfReader
oXmlWriter
.
WriteString
(
AStringToWString
(
oBase64
.
GetCString
()));
oXmlWriter
.
WriteNodeEnd
(
L"Stream"
);
oXmlWriter
.
WriteNodeEnd
(
L"Encoding"
);
delete
seBuffer
;
}
oDictItem
.
Free
();
...
...
@@ -2368,6 +2374,8 @@ namespace PdfReader
oXmlWriter
.
WriteString
(
AStringToWString
(
oBase64
.
GetCString
()));
oXmlWriter
.
WriteNodeEnd
(
L"CIDToGIDMap"
);
delete
seBuffer
;
}
oFontItem
.
Free
();
...
...
PdfReader/Src/StringExt.cpp
View file @
113d5b4c
...
...
@@ -605,7 +605,7 @@ namespace PdfReader
double
dTemp
=
0
;
int
nInt
;
if
(
(
bNegative
=
dValue
<
0
))
if
(
bNegative
=
(
dValue
<
0
))
dValue
=
-
dValue
;
dValue
=
floor
(
dValue
*
pow
((
double
)
10
,
nPrecision
)
+
0.5
);
...
...
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