summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/newhelp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/newhelp.cxx')
-rw-r--r--sfx2/source/appl/newhelp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 66555ec8aa1a..4ee115da5368 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -2753,7 +2753,7 @@ void SfxHelpWindow_Impl::LoadConfig()
nExpandWidth = nWidth;
nCollapseWidth = nExpandWidth * nTextSize / 100;
}
- else
+ else if (nTextSize != 0)
{
nCollapseWidth = nWidth;
nExpandWidth = nCollapseWidth * 100 / nTextSize;