summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-10-09 20:34:00 +0200
committerJulien Nabet <serval2412@yahoo.fr>2021-10-09 21:35:59 +0200
commitdf0592cfb16c28b22c0c0331306dd072e7678fce (patch)
tree5b405ed874d55a2a9d726bfde08468939466cf95 /sw/source
parent84a4e281c1a552b002b3a7162adfaece47761e88 (diff)
What's the interest to gain 1 letter? bDelBookmrk->bDelBookmark
At least, it'll be easier to search bookmark in whole code if there's a bookmark pb Change-Id: I25cbfb8dae823495b87d5bfcdd41cea479230eee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123319 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/dochdl/swdtflvr.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx
index 17b7e37df224..8a3182e1e8c0 100644
--- a/sw/source/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/uibase/dochdl/swdtflvr.cxx
@@ -180,7 +180,7 @@ class SwTransferDdeLink : public ::sfx2::SvBaseLink
SwTransferable& rTrnsfr;
SwDocShell* pDocShell;
sal_uLong nOldTimeOut;
- bool bDelBookmrk : 1;
+ bool bDelBookmark : 1;
bool bInDisconnect : 1;
bool FindDocShell();
@@ -4215,7 +4215,7 @@ SwTransferDdeLink::SwTransferDdeLink( SwTransferable& rTrans, SwWrtShell& rSh )
: rTrnsfr(rTrans)
, pDocShell(nullptr)
, nOldTimeOut(0)
- , bDelBookmrk(false)
+ , bDelBookmark(false)
, bInDisconnect(false)
{
// we only end up here with table- or text selection
@@ -4239,7 +4239,7 @@ SwTransferDdeLink::SwTransferDdeLink( SwTransferable& rTrans, SwWrtShell& rSh )
if(pMark)
{
sName = pMark->GetName();
- bDelBookmrk = true;
+ bDelBookmark = true;
if( !bIsModified )
rSh.ResetModified();
}
@@ -4347,7 +4347,7 @@ bool SwTransferDdeLink::WriteData( SvStream& rStrm )
rServerObject.SetDdeBookmark(*pNewMark);
}
- bDelBookmrk = false;
+ bDelBookmark = false;
return true;
}
@@ -4359,7 +4359,7 @@ void SwTransferDdeLink::Disconnect( bool bRemoveDataAdvise )
bInDisconnect = true;
// destroy the unused bookmark again (without Undo!)?
- if( bDelBookmrk && refObj.is() && FindDocShell() )
+ if( bDelBookmark && refObj.is() && FindDocShell() )
{
SwDoc* pDoc = pDocShell->GetDoc();
::sw::UndoGuard const undoGuard(pDoc->GetIDocumentUndoRedo());
@@ -4378,7 +4378,7 @@ void SwTransferDdeLink::Disconnect( bool bRemoveDataAdvise )
// #i58448#
pDoc->SetOle2Link( aSavedOle2Link );
- bDelBookmrk = false;
+ bDelBookmark = false;
}
if( refObj.is() )