summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edattr.cxx')
-rw-r--r--sw/source/core/edit/edattr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index 21aeabaa7123..d17dc1b2c634 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -351,11 +351,11 @@ std::vector<std::pair< const SfxPoolItem*, std::unique_ptr<SwPaM> >> SwEditShell
if( pItem->Which() == nWhich )
{
sal_Int32 nStart = 0, nStop = 0;
- if( nAttrStart < nStt ) //Attribut starts before selection
+ if( nAttrStart < nStt ) // Attribute starts before selection
nStart = nStt;
else
nStart = nAttrStart;
- if( *pAttrEnd > nEnd ) //Attribut ends after selection
+ if( *pAttrEnd > nEnd ) // Attribute ends after selection
nStop = nEnd;
else
nStop = *pAttrEnd;