diff options
author | Michael Stahl <mst@openoffice.org> | 2012-07-27 17:31:08 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-27 17:50:22 +0200 |
commit | 6a94d7b5c924e3a8ef3ff0f68f54061c035a3cb0 (patch) | |
tree | d042709f848a900386493db45c687679e79eaa0c /cui | |
parent | 89f08dce89adfddd3fb8e00b7a7a9c5da2a4943e (diff) |
basic, cui, extensions, filter, vcl: fix some warnings
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/numpages.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 6008b63d72f3..76125b2969ed 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -2840,6 +2840,12 @@ void SvxNumPositionTabPage::InitControls() nMask <<= 1; } + if (SVX_MAX_NUM <= nLvl) + { + OSL_ENSURE(false, "cannot happen."); + return; + } + if(bSameDistBorderNum) { long nDistBorderNum; |