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
6e3b7b11
Commit
6e3b7b11
authored
Dec 16, 2016
by
konovalovsergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
thumbnail error with aspect
parent
80d95d41
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
DesktopEditor/graphics/MetafileToGraphicsRenderer.h
DesktopEditor/graphics/MetafileToGraphicsRenderer.h
+1
-1
X2tConverter/src/ASCConverters.cpp
X2tConverter/src/ASCConverters.cpp
+1
-1
No files found.
DesktopEditor/graphics/MetafileToGraphicsRenderer.h
View file @
6e3b7b11
...
@@ -218,7 +218,7 @@ namespace NSOnlineOfficeBinToPdf
...
@@ -218,7 +218,7 @@ namespace NSOnlineOfficeBinToPdf
double
h
=
oInfo
.
arSizes
[
nPageIndex
].
height
;
double
h
=
oInfo
.
arSizes
[
nPageIndex
].
height
;
double
dKoef1
=
nRasterW
/
w
;
double
dKoef1
=
nRasterW
/
w
;
double
dKoef2
=
nRaster
W
/
h
;
double
dKoef2
=
nRaster
H
/
h
;
if
(
dKoef1
>
dKoef2
)
if
(
dKoef1
>
dKoef2
)
dKoef1
=
dKoef2
;
dKoef1
=
dKoef2
;
...
...
X2tConverter/src/ASCConverters.cpp
View file @
6e3b7b11
...
@@ -1796,7 +1796,7 @@ namespace NExtractTools
...
@@ -1796,7 +1796,7 @@ namespace NExtractTools
pReader
->
GetPageInfo
(
i
,
&
dWidth
,
&
dHeight
,
&
dPageDpiX
,
&
dPageDpiY
);
pReader
->
GetPageInfo
(
i
,
&
dWidth
,
&
dHeight
,
&
dPageDpiX
,
&
dPageDpiY
);
double
dKoef1
=
nRasterWCur
/
dWidth
;
double
dKoef1
=
nRasterWCur
/
dWidth
;
double
dKoef2
=
nRaster
W
Cur
/
dHeight
;
double
dKoef2
=
nRaster
H
Cur
/
dHeight
;
if
(
dKoef1
>
dKoef2
)
if
(
dKoef1
>
dKoef2
)
dKoef1
=
dKoef2
;
dKoef1
=
dKoef2
;
...
...
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