lok: calc: fix needed when position caching is disabled
In case it would be needed to disable position caching we can't retrieve the nTotalPixels value from the LOKHeight/WidthHelper. The new code works in both cases. Change-Id: I65562dd4458eee40c5db958067fc91af6b3eb79e Reviewed-on: https://gerrit.libreoffice.org/63039 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Showing
dictionaries @ 6c85a19c
Please
register
or
sign in
to comment