Commit afdb4dc3 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

#if SHOULD_BUILD_RDF -> #ifdef SHOULD_BUILD_RDF, if not already #ifdef

parent 161c58b1
......@@ -104,7 +104,7 @@ bool KoTextDrag::setOdf(const char * mimeType, KoTextOdfSaveHelper &helper)
Q_ASSERT(false);
}
}
#if SHOULD_BUILD_RDF
#ifdef SHOULD_BUILD_RDF
kDebug(30015) << "helper.model:" << helper.rdfModel();
textSharedData->setRdfModel(helper.rdfModel());
#endif
......
......@@ -1042,7 +1042,7 @@ QMimeData *TextTool::generateMimeData() const
if (canvas()->shapeController()) {
rm = canvas()->shapeController()->resourceManager();
}
#if SHOULD_BUILD_RDF
#ifdef SHOULD_BUILD_RDF
if (rm && rm->hasResource(KoText::DocumentRdf)) {
KoDocumentRdfBase *rdf = qobject_cast<KoDocumentRdfBase*>(rm->resource(KoText::DocumentRdf).value<QObject*>());
if (rdf) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment