summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/ndgrf.hxx2
-rw-r--r--sw/inc/pagepreviewlayout.hxx4
-rw-r--r--sw/source/core/access/acccontext.hxx2
-rw-r--r--sw/source/core/doc/doc.cxx2
-rw-r--r--sw/source/core/docnode/node.cxx2
-rw-r--r--sw/source/core/graphic/ndgrf.cxx2
-rw-r--r--sw/source/core/text/txtfly.hxx2
-rw-r--r--sw/source/core/txtnode/thints.cxx2
-rw-r--r--sw/source/core/txtnode/txtedt.cxx2
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx2
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx2
-rw-r--r--sw/source/ui/fldui/fldref.cxx2
-rw-r--r--sw/source/ui/lingu/hhcwrp.cxx2
-rw-r--r--sw/source/ui/misc/redlndlg.cxx2
-rw-r--r--sw/source/ui/shells/listsh.cxx2
15 files changed, 16 insertions, 16 deletions
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx
index 7bc20283de88..bf01d924ce46 100644
--- a/sw/inc/ndgrf.hxx
+++ b/sw/inc/ndgrf.hxx
@@ -92,7 +92,7 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTxtNode
Important note: caller of this method has to handle the thrown exceptions
Storage, which should contain the stream of the embedded graphic, is
provided via parameter. Otherwise the returned stream will be closed
- after the the method returns, because its parent stream is closed and deleted.
+ after the method returns, because its parent stream is closed and deleted.
Proposed name of embedded graphic stream is also provided by parameter.
@author OD
diff --git a/sw/inc/pagepreviewlayout.hxx b/sw/inc/pagepreviewlayout.hxx
index 029966953e52..c5fd1734220c 100644
--- a/sw/inc/pagepreviewlayout.hxx
+++ b/sw/inc/pagepreviewlayout.hxx
@@ -57,12 +57,12 @@ private:
/** boolean indicating, if the layout information (number of columns and rows)
are valid. */
bool mbLayoutInfoValid;
- /** boolean indicating, if the the calculated print preview layout sizes
+ /** boolean indicating, if the calculated print preview layout sizes
( windows size in twips, maximal page size, column width, row height,
width and height of a print preview page, size of the print preview
document ) are valid */
bool mbLayoutSizesValid;
- /** boolean indicating, if the the paint information ( physical number of
+ /** boolean indicating, if the paint information ( physical number of
start page, start column and row, paint offsets, rectangle visible of
the print preview document. */
bool mbPaintInfoValid;
diff --git a/sw/source/core/access/acccontext.hxx b/sw/source/core/access/acccontext.hxx
index 4a3df2e8031b..e634149870e7 100644
--- a/sw/source/core/access/acccontext.hxx
+++ b/sw/source/core/access/acccontext.hxx
@@ -141,7 +141,7 @@ protected:
void ScrolledOut( const SwRect& rOldVisArea );
// Invalidate the states of all children of the specified SwFrm. The
- // SwFrm might belong the the current object or to any child or grandchild!
+ // SwFrm might belong the current object or to any child or grandchild!
// #i27301# - use new type definition for <_nStates>
void InvalidateChildrenStates( const SwFrm* _pFrm,
tAccessibleStates _nStates );
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 66bd4e98202a..46bea2e18181 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -1431,7 +1431,7 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
// from the post-it doc to the physical page of the document
std::map< sal_Int32, sal_Int32 > aPostItLastStartPageNum;
- // add all post-its on valid pages within the the page range to the
+ // add all post-its on valid pages within the page range to the
// temporary post-it document.
// Since the array of post-it fileds is sorted by page and line number we will
// already get them in the correct order
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index 56188e1a745e..3c77fbbdfc25 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -945,7 +945,7 @@ SwCntntNode::SwCntntNode( const SwNodeIndex &rWhere, const sal_uInt8 nNdType,
SwCntntNode::~SwCntntNode()
{
// The base class SwClient of SwFrm excludes itself from the dependency list!
- // Thus, we need to delete all Frames in the the dependency list.
+ // Thus, we need to delete all Frames in the dependency list.
if( GetDepends() )
DelFrms();
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 02f10f4530e0..640aee0456f2 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -788,7 +788,7 @@ uno::Reference< embed::XStorage > SwGrfNode::_GetDocSubstorageOrRoot( const Stri
OD, MAV 2005-08-17 #i53025#
Storage, which should contain the stream of the embedded graphic, is
provided via parameter. Otherwise the returned stream will be closed
- after the the method returns, because its parent stream is closed and deleted.
+ after the method returns, because its parent stream is closed and deleted.
Proposed name of embedded graphic stream is also provided by parameter.
@author OD
diff --git a/sw/source/core/text/txtfly.hxx b/sw/source/core/text/txtfly.hxx
index 3d2255880e7e..4d7cdde7f98b 100644
--- a/sw/source/core/text/txtfly.hxx
+++ b/sw/source/core/text/txtfly.hxx
@@ -285,7 +285,7 @@ public:
/**
sal_True when a frame or DrawObj must to be taken in account. The optimizations
- like Paint/FormatEmpty for empty sentences or the the virtual OutputDevice can
+ like Paint/FormatEmpty for empty sentences or the virtual OutputDevice can
be used only when sal_False is returned.
\param rRect
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index e80d21b0d41d..92d43f1fadb2 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -754,7 +754,7 @@ void SwpHints::BuildPortions( SwTxtNode& rNode, SwTxtAttr& rNewHint,
boost::shared_ptr<SfxItemSet> pOldStyle = static_cast<const SwFmtAutoFmt&>(pOther->GetAttr()).GetStyleHandle();
// For each attribute in the automatic style check if it
- // is also set the the new character style:
+ // is also set the new character style:
SfxItemSet aNewSet( *pOldStyle->GetPool(),
aCharAutoFmtSetRange);
SfxItemIter aItemIter( *pOldStyle );
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index 35bea4ad181a..1f6a15fa2796 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -1034,7 +1034,7 @@ void SwTxtNode::SetLanguageAndFont( const SwPaM &rPaM,
sal_uInt16 SwTxtNode::Convert( SwConversionArgs &rArgs )
{
// get range of text within node to be converted
- // (either all the text or the the text within the selection
+ // (either all the text or the text within the selection
// when the conversion was started)
xub_StrLen nTextBegin, nTextEnd;
//
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index 97be47bea066..e8007d53b0a3 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -4754,7 +4754,7 @@ void SwWW8WrTabu::Add(const SvxTabStop & rTS, long nAdjustment)
break;
case SVX_TAB_ADJUST_DECIMAL:
/*
- Theres nothing we can do btw the the decimal seperator has been
+ Theres nothing we can do btw the decimal seperator has been
customized, but if you think different remember that different
locales have different seperators, i.e. german is a , while english
is a .
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index e5dc94e5f45a..e9a7f7eff261 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3396,7 +3396,7 @@ void WW8TabDesc::SetNumRuleName( const String& rName )
bool SwWW8ImplReader::StartTable(WW8_CP nStartCp)
{
- // Entering a table so make sure the the FirstPara flag gets set
+ // Entering a table so make sure the FirstPara flag gets set
bFirstPara = true;
// keine rekursiven Tabellen Nicht bei EinfuegenDatei in Tabelle oder
// Fussnote
diff --git a/sw/source/ui/fldui/fldref.cxx b/sw/source/ui/fldui/fldref.cxx
index 13eeca7a22c2..74a26b1f86fe 100644
--- a/sw/source/ui/fldui/fldref.cxx
+++ b/sw/source/ui/fldui/fldref.cxx
@@ -355,7 +355,7 @@ IMPL_LINK_NOARG(SwFldRefPage, TypeHdl)
{
case TYP_GETREFFLD:
if (REFFLDFLAG & (sal_uInt16)(sal_uLong)aTypeLB.GetEntryData(nOld))
- // the the old one stays
+ // the old one stays
nFldDlgFmtSel = aFormatLB.GetSelectEntryPos();
bName = sal_True;
break;
diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx
index 80f2e0ce86b3..8fdb7de4f4f6 100644
--- a/sw/source/ui/lingu/hhcwrp.cxx
+++ b/sw/source/ui/lingu/hhcwrp.cxx
@@ -144,7 +144,7 @@ SwHHCWrapper::~SwHHCWrapper()
if( m_nPageCount )
::EndProgress( m_pView->GetDocShell() );
- // finally for chinese translation we need to change the the documents
+ // finally for chinese translation we need to change the documents
// default language and font to the new ones to be used.
LanguageType nTargetLang = GetTargetLanguage();
if (IsChinese( nTargetLang ))
diff --git a/sw/source/ui/misc/redlndlg.cxx b/sw/source/ui/misc/redlndlg.cxx
index 545ecb95b520..b03d4d57a0e7 100644
--- a/sw/source/ui/misc/redlndlg.cxx
+++ b/sw/source/ui/misc/redlndlg.cxx
@@ -833,7 +833,7 @@ void SwRedlineAcceptDlg::CallAcceptReject( sal_Bool bSelect, sal_Bool bAccept )
&aRewriter);
}
- // accept/reject the the redlines in aRedlines. The absolute
+ // accept/reject the redlines in aRedlines. The absolute
// position may change during the process (e.g. when two redlines
// are merged in result of another one being deleted), so the
// position must be resolved late and checked before using it.
diff --git a/sw/source/ui/shells/listsh.cxx b/sw/source/ui/shells/listsh.cxx
index 70fa7bb3811d..e1d970bd0271 100644
--- a/sw/source/ui/shells/listsh.cxx
+++ b/sw/source/ui/shells/listsh.cxx
@@ -63,7 +63,7 @@ TYPEINIT1(SwListShell,SwBaseShell)
// #i35572# Functionality of Numbering/Bullet toolbar
// for outline numbered paragraphs should match the functions for outlines
// available in the navigator. Therefore the code in the following
-// function is quite similar the the code in SwContentTree::ExecCommand.
+// function is quite similar the code in SwContentTree::ExecCommand.
static void lcl_OutlineUpDownWithSubPoints( SwWrtShell& rSh, bool bMove, bool bUp )
{
const sal_uInt16 nActPos = rSh.GetOutlinePos();