summaryrefslogtreecommitdiff
path: root/sw/source/ui/shells/textfld.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/shells/textfld.cxx')
-rw-r--r--sw/source/ui/shells/textfld.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/ui/shells/textfld.cxx b/sw/source/ui/shells/textfld.cxx
index ca167c05f8d0..c19ba32b57b5 100644
--- a/sw/source/ui/shells/textfld.cxx
+++ b/sw/source/ui/shells/textfld.cxx
@@ -398,18 +398,18 @@ void SwTextShell::ExecField(SfxRequest &rReq)
/* this code can be used once we want redline comments in the margin, all other stuff can
then be deleted
String sComment;
- const SwRedline *pRedline = rSh.GetCurrRedline();
+ const SwRangeRedline *pRedline = rSh.GetCurrRedline();
if (pRedline)
{
sComment = pRedline->GetComment();
if ( !sComment.Len() )
GetView().GetDocShell()->Broadcast(SwRedlineHint(pRedline,SWREDLINE_INSERTED));
- const_cast<SwRedline*>(pRedline)->Broadcast(SwRedlineHint(pRedline,SWREDLINE_FOCUS,&GetView()));
+ const_cast<SwRangeRedline*>(pRedline)->Broadcast(SwRedlineHint(pRedline,SWREDLINE_FOCUS,&GetView()));
}
*/
- const SwRedline *pRedline = rSh.GetCurrRedline();
+ const SwRangeRedline *pRedline = rSh.GetCurrRedline();
if (pRedline)
{
@@ -433,7 +433,7 @@ void SwTextShell::ExecField(SfxRequest &rReq)
rSh.StartAction();
rSh.Push();
- const SwRedline *pActRed = rSh.SelPrevRedline();
+ const SwRangeRedline *pActRed = rSh.SelPrevRedline();
if (pActRed == pRedline)
{ // New cursor is at the beginning of the current redlines.
@@ -829,7 +829,7 @@ IMPL_LINK( SwTextShell, RedlineNextHdl, AbstractSvxPostItDialog *, pBtn )
// Insert or change a comment.
pSh->SetRedlineComment(pDlg->GetNote());
- const SwRedline *pRedline = pSh->GetCurrRedline();
+ const SwRangeRedline *pRedline = pSh->GetCurrRedline();
if (pRedline)
{
@@ -838,7 +838,7 @@ IMPL_LINK( SwTextShell, RedlineNextHdl, AbstractSvxPostItDialog *, pBtn )
pSh->SwapPam(); // Move the cursor behind the Redline.
pSh->Push();
- const SwRedline *pActRed = pSh->SelNextRedline();
+ const SwRangeRedline *pActRed = pSh->SelNextRedline();
pSh->Pop(pActRed != 0);
sal_Bool bEnable = sal_False;
@@ -882,13 +882,13 @@ IMPL_LINK( SwTextShell, RedlinePrevHdl, AbstractSvxPostItDialog *, pBtn )
// Insert or change a comment.
pSh->SetRedlineComment(pDlg->GetNote());
- const SwRedline *pRedline = pSh->GetCurrRedline();
+ const SwRangeRedline *pRedline = pSh->GetCurrRedline();
if (pRedline)
{
// Traveling only if more than one field.
pSh->Push();
- const SwRedline *pActRed = pSh->SelPrevRedline();
+ const SwRangeRedline *pActRed = pSh->SelPrevRedline();
pSh->Pop(pActRed != 0);
sal_Bool bEnable = sal_False;