Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Krita
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tusooa Zhu
Krita
Commits
c6bf5e89
Commit
c6bf5e89
authored
Dec 14, 2009
by
Jan Hambrecht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation with msvc
svn path=/trunk/koffice/; revision=1062348
parent
f0d53d26
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
13 deletions
+6
-13
plugins/divineProportion/DivineProportionShape.cpp
plugins/divineProportion/DivineProportionShape.cpp
+2
-5
plugins/musicshape/MusicShape.cpp
plugins/musicshape/MusicShape.cpp
+1
-2
plugins/musicshape/actions/AbstractMusicAction.cpp
plugins/musicshape/actions/AbstractMusicAction.cpp
+2
-4
plugins/variables/InfoVariable.cpp
plugins/variables/InfoVariable.cpp
+1
-2
No files found.
plugins/divineProportion/DivineProportionShape.cpp
View file @
c6bf5e89
...
@@ -79,16 +79,13 @@ void DivineProportionShape::draw(QPainter &painter)
...
@@ -79,16 +79,13 @@ void DivineProportionShape::draw(QPainter &painter)
}
}
}
}
void
DivineProportionShape
::
saveOdf
(
KoShapeSavingContext
&
context
)
const
void
DivineProportionShape
::
saveOdf
(
KoShapeSavingContext
&
/*context*/
)
const
{
{
Q_UNUSED
(
context
);
// TODO
// TODO
}
}
bool
DivineProportionShape
::
loadOdf
(
const
KoXmlElement
&
element
,
KoShapeLoadingContext
&
context
)
bool
DivineProportionShape
::
loadOdf
(
const
KoXmlElement
&
/*element*/
,
KoShapeLoadingContext
&
/*context*/
)
{
{
Q_UNUSED
(
element
);
Q_UNUSED
(
context
);
return
false
;
// TODO
return
false
;
// TODO
}
}
...
...
plugins/musicshape/MusicShape.cpp
View file @
c6bf5e89
...
@@ -161,9 +161,8 @@ bool MusicShape::loadOdf( const KoXmlElement & element, KoShapeLoadingContext &c
...
@@ -161,9 +161,8 @@ bool MusicShape::loadOdf( const KoXmlElement & element, KoShapeLoadingContext &c
return
loadOdfFrame
(
element
,
context
);
return
loadOdfFrame
(
element
,
context
);
}
}
bool
MusicShape
::
loadOdfFrameElement
(
const
KoXmlElement
&
element
,
KoShapeLoadingContext
&
context
)
bool
MusicShape
::
loadOdfFrameElement
(
const
KoXmlElement
&
element
,
KoShapeLoadingContext
&
/*context*/
)
{
{
Q_UNUSED
(
context
);
KoXmlElement
score
=
KoXml
::
namedItemNS
(
element
,
"http://www.koffice.org/music"
,
"score-partwise"
);
KoXmlElement
score
=
KoXml
::
namedItemNS
(
element
,
"http://www.koffice.org/music"
,
"score-partwise"
);
if
(
score
.
isNull
())
{
if
(
score
.
isNull
())
{
kWarning
()
<<
"no music:score-partwise element as first child"
;
kWarning
()
<<
"no music:score-partwise element as first child"
;
...
...
plugins/musicshape/actions/AbstractMusicAction.cpp
View file @
c6bf5e89
...
@@ -53,16 +53,14 @@ void AbstractMusicAction::mouseMove(MusicCore::Staff*, int, const QPointF&)
...
@@ -53,16 +53,14 @@ void AbstractMusicAction::mouseMove(MusicCore::Staff*, int, const QPointF&)
{
{
}
}
void
AbstractMusicAction
::
renderKeyboardPreview
(
QPainter
&
painter
,
const
MusicCursor
&
cursor
)
void
AbstractMusicAction
::
renderKeyboardPreview
(
QPainter
&
painter
,
const
MusicCursor
&
/*cursor*/
)
{
{
Q_UNUSED
(
painter
);
Q_UNUSED
(
painter
);
Q_UNUSED
(
cursor
);
}
}
void
AbstractMusicAction
::
keyPress
(
QKeyEvent
*
event
,
const
MusicCursor
&
cursor
)
void
AbstractMusicAction
::
keyPress
(
QKeyEvent
*
event
,
const
MusicCursor
&
/*cursor*/
)
{
{
Q_UNUSED
(
event
);
Q_UNUSED
(
event
);
Q_UNUSED
(
cursor
);
}
}
#include "AbstractMusicAction.moc"
#include "AbstractMusicAction.moc"
plugins/variables/InfoVariable.cpp
View file @
c6bf5e89
...
@@ -61,9 +61,8 @@ void InfoVariable::saveOdf(KoShapeSavingContext & context)
...
@@ -61,9 +61,8 @@ void InfoVariable::saveOdf(KoShapeSavingContext & context)
}
}
}
}
bool
InfoVariable
::
loadOdf
(
const
KoXmlElement
&
element
,
KoShapeLoadingContext
&
context
)
bool
InfoVariable
::
loadOdf
(
const
KoXmlElement
&
element
,
KoShapeLoadingContext
&
/*context*/
)
{
{
Q_UNUSED
(
context
);
const
QString
localName
(
element
.
localName
());
const
QString
localName
(
element
.
localName
());
if
(
localName
==
"title"
)
{
if
(
localName
==
"title"
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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