diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-30 17:26:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-30 21:13:50 +0100 |
commit | 1ad38d06ea1f5d740851a5eb9497bf1fd8f86e32 (patch) | |
tree | 316f6a8934f6830a7e8f36b1cab3320bb8a0c0b4 /cui | |
parent | 97d31dfebc0a06614a8edd0e6123928c5b0fa72e (diff) |
No apparent reason to limit nWidthRelation to sal_uInt16 instead of long
Change-Id: I946e2a74ac5f03132791132e8d5b07d573cb76c5
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 8abeee1c852f..3397b038d9bc 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -2319,7 +2319,7 @@ void SvxNumberingPreview::Paint(vcl::RenderContext& rRenderContext, const ::tool if (pActNum) { - sal_uInt16 nWidthRelation = 30; // chapter dialog + long nWidthRelation = 30; // chapter dialog // height per level sal_uInt16 nXStep = sal::static_int_cast<sal_uInt16>(aSize.Width() / (3 * pActNum->GetLevelCount())); |