summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-08-29 00:12:53 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-08-30 19:11:05 +0000
commit33d8a094e1f8483abe2bfcfa118997beab034be5 (patch)
tree49fc2497c2f16219b4295c04113a06bef076f433 /svtools/source
parent70bcfb7041ce370988f6184fbe2cdbc402e07843 (diff)
tdf#93733: Assertion failed when clear font size field in paragraph style
Change-Id: Ia7748eae16c35a1d197b9f4aa5f391f496e7f2f2 Reviewed-on: https://gerrit.libreoffice.org/18122 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/control/ctrlbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index c315ff7dc7ac..fe3a390e61d3 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -1595,7 +1595,7 @@ void FontSizeBox::Modify()
pStr++;
}
}
- else
+ else if (!aStr.isEmpty())
{
if ( -1 != aStr.indexOf('%') )
{