diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2013-09-15 17:54:06 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-17 10:56:29 +0000 |
commit | 0c47695fd3ee85b8c24d6969e3061ec23a0cfdc4 (patch) | |
tree | d768df6fd8a6f90b7047be09eeebec5b7df8c0aa /vcl | |
parent | I think the CWS-gfbfcfg dust has safely settled by now (diff) | |
download | core-0c47695fd3ee85b8c24d6969e3061ec23a0cfdc4.tar.gz core-0c47695fd3ee85b8c24d6969e3061ec23a0cfdc4.zip |
Fix fdo#69381 by skipping empty option groups
Change-Id: Idaf0f0a3f5430a5aea6f77a003e205116a87cc67
Reviewed-on: https://gerrit.libreoffice.org/5949
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/gdi/salprn-gtk.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/unx/gtk/gdi/salprn-gtk.cxx b/vcl/unx/gtk/gdi/salprn-gtk.cxx index 0722f78df641..4a28fcd7d23f 100644 --- a/vcl/unx/gtk/gdi/salprn-gtk.cxx +++ b/vcl/unx/gtk/gdi/salprn-gtk.cxx @@ -483,6 +483,11 @@ GtkPrintDialog::impl_initCustomTab() GtkWidget* pGroup = NULL; bool bGtkInternal = false; + //Fix fdo#69381 + //Next options if this one is empty + if ( aOptProp.getLength() == 0) + continue; + for (int n = 0; n != aOptProp.getLength(); n++) { const beans::PropertyValue& rEntry(aOptProp[ n ]); |