diff options
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 72b995d5ad83..1b27be221943 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -342,7 +342,7 @@ namespace gUserItemSz.setHeight(gUserItemSz.Height() * 16); gUserItemSz.setHeight(gUserItemSz.Height() / 10); - size_t nMaxDeviceHeight = SAL_MAX_INT16 / 2; // see limitXCreatePixmap + size_t nMaxDeviceHeight = SAL_MAX_INT16 / 16; // see limitXCreatePixmap and be generous wrt up to x16 hidpi gPreviewsPerDevice = nMaxDeviceHeight / gUserItemSz.Height(); } } |