summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStefan Knorr (astron) <heinzlesspam@gmail.com>2011-12-08 09:05:20 +0100
committerStefan Knorr (astron) <heinzlesspam@gmail.com>2011-12-08 09:06:09 +0100
commitad2eb6c4ba3ca36e2302c721a106dac80d266325 (patch)
treeaa06f1d4b3473fd64f886b89b27af05dd043374f /sw
parent79b00c41863bcb0d0cc1781d18e97d5871667fb0 (diff)
Less succes, more success
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/txtnode/thints.cxx2
-rw-r--r--sw/source/ui/uiview/view2.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index d17cb7fbc529..356348861aed 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1210,7 +1210,7 @@ SwTxtNode::InsertItem( SfxPoolItem& rAttr,
{
const bool bSuccess( InsertHint( pNew, nMode ) );
// N.B.: also check that the hint is actually in the hints array,
- // because hints of certain types may be merged after succesful
+ // because hints of certain types may be merged after successful
// insertion, and thus destroyed!
if (!bSuccess || ( USHRT_MAX == m_pSwpHints->GetPos( pNew ) ))
{
diff --git a/sw/source/ui/uiview/view2.cxx b/sw/source/ui/uiview/view2.cxx
index a4483cce59d1..4c24080980aa 100644
--- a/sw/source/ui/uiview/view2.cxx
+++ b/sw/source/ui/uiview/view2.cxx
@@ -994,7 +994,7 @@ void SwView::Execute(SfxRequest &rReq)
bShow = ((const SfxBoolItem*)pItem)->GetValue();
if((bShow && bInMailMerge) != GetViewFrame()->HasChildWindow(nSlot))
GetViewFrame()->ToggleChildWindow(nSlot);
- //if fields have been succesfully inserted call the "real"
+ //if fields have been successfully inserted call the "real"
//mail merge dialog
SwWrtShell &rSh = GetWrtShell();
if(bInMailMerge && rSh.IsAnyDatabaseFieldInDoc())