Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tusooa Zhu
Krita
Commits
afdb4dc3
Commit
afdb4dc3
authored
Jun 20, 2013
by
Friedrich W. H. Kossebau
Browse files
#if SHOULD_BUILD_RDF -> #ifdef SHOULD_BUILD_RDF, if not already #ifdef
parent
161c58b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
libs/kotext/KoTextDrag.cpp
View file @
afdb4dc3
...
...
@@ -104,7 +104,7 @@ bool KoTextDrag::setOdf(const char * mimeType, KoTextOdfSaveHelper &helper)
Q_ASSERT
(
false
);
}
}
#if SHOULD_BUILD_RDF
#if
def
SHOULD_BUILD_RDF
kDebug
(
30015
)
<<
"helper.model:"
<<
helper
.
rdfModel
();
textSharedData
->
setRdfModel
(
helper
.
rdfModel
());
#endif
...
...
plugins/textshape/TextTool.cpp
View file @
afdb4dc3
...
...
@@ -1042,7 +1042,7 @@ QMimeData *TextTool::generateMimeData() const
if
(
canvas
()
->
shapeController
())
{
rm
=
canvas
()
->
shapeController
()
->
resourceManager
();
}
#if SHOULD_BUILD_RDF
#if
def
SHOULD_BUILD_RDF
if
(
rm
&&
rm
->
hasResource
(
KoText
::
DocumentRdf
))
{
KoDocumentRdfBase
*
rdf
=
qobject_cast
<
KoDocumentRdfBase
*>
(
rm
->
resource
(
KoText
::
DocumentRdf
).
value
<
QObject
*>
());
if
(
rdf
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment