summaryrefslogtreecommitdiffstats
path: root/kword/KWCommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWCommand.cpp')
-rw-r--r--kword/KWCommand.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kword/KWCommand.cpp b/kword/KWCommand.cpp
index e68e1c99..47fda3e6 100644
--- a/kword/KWCommand.cpp
+++ b/kword/KWCommand.cpp
@@ -405,7 +405,7 @@ void KWFrameBorderCommand::execute()
doc = frameSet->kWordDocument();
KWFrame *frame=frameSet->frame(tmp->m_iFrameIndex);
KWTableFrameSet::Cell *cell = dynamic_cast<KWTableFrameSet::Cell *>(frame->frameSet());
- FrameBorderTypeStruct *tmpFrameStruct=m_oldBorderFrameType.at(m_indexFrame.tqfind(tmp));
+ FrameBorderTypeStruct *tmpFrameStruct=m_oldBorderFrameType.at(m_indexFrame.find(tmp));
switch( tmpFrameStruct->m_EFrameType)
{
@@ -460,7 +460,7 @@ void KWFrameBorderCommand::unexecute()
doc = frameSet->kWordDocument();
KWFrame *frame=frameSet->frame(tmp->m_iFrameIndex);
KWTableFrameSet::Cell *cell = dynamic_cast<KWTableFrameSet::Cell *>(frame->frameSet());
- FrameBorderTypeStruct *tmpFrameStruct=m_oldBorderFrameType.at(m_indexFrame.tqfind(tmp));
+ FrameBorderTypeStruct *tmpFrameStruct=m_oldBorderFrameType.at(m_indexFrame.find(tmp));
switch(tmpFrameStruct->m_EFrameType)
{
case KoBorder::LeftBorder:
@@ -550,7 +550,7 @@ void KWFrameBackGroundColorCommand::unexecute()
{
doc = frameSet->kWordDocument();
KWFrame *frame=frameSet->frame(tmp->m_iFrameIndex);
- TQBrush *tmpFrameStruct=m_oldBackGroundColor.at(m_indexFrame.tqfind(tmp));
+ TQBrush *tmpFrameStruct=m_oldBackGroundColor.at(m_indexFrame.find(tmp));
frame->setBackgroundColor(*tmpFrameStruct);
}
}