summaryrefslogtreecommitdiff
path: root/xmloff/source/core/RDFaExportHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/core/RDFaExportHelper.cxx')
-rw-r--r--xmloff/source/core/RDFaExportHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/core/RDFaExportHelper.cxx b/xmloff/source/core/RDFaExportHelper.cxx
index ea90734c99e0..2d0c48a2c4d0 100644
--- a/xmloff/source/core/RDFaExportHelper.cxx
+++ b/xmloff/source/core/RDFaExportHelper.cxx
@@ -121,7 +121,7 @@ RDFaExportHelper::AddRDFa(
uno::Sequence<rdf::Statement> const & rStatements( RDFaResult.First );
- if (0 == rStatements.getLength())
+ if (!rStatements.hasElements())
{
return; // no RDFa
}