summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/salprn-gtk.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk/salprn-gtk.cxx')
-rw-r--r--vcl/unx/gtk/salprn-gtk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/salprn-gtk.cxx b/vcl/unx/gtk/salprn-gtk.cxx
index c3be7e405451..feec41bb5b4d 100644
--- a/vcl/unx/gtk/salprn-gtk.cxx
+++ b/vcl/unx/gtk/salprn-gtk.cxx
@@ -429,7 +429,7 @@ GtkPrintDialog::impl_initCustomTab()
//Fix fdo#69381
//Next options if this one is empty
- if ( aOptProp.getLength() == 0)
+ if (!aOptProp.hasElements())
continue;
for (int n = 0; n != aOptProp.getLength(); n++)