Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
a3f62b53
Kaydet (Commit)
a3f62b53
authored
Haz 08, 2013
tarafından
Philipp Riemer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
adjusted code indentation for consistency
Change-Id: I0316e8753e440ff691e9c84f55aad8a6a7079652
üst
379bacf8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
14 deletions
+13
-14
edglbldc.cxx
sw/source/core/edit/edglbldc.cxx
+2
-1
editsh.cxx
sw/source/core/edit/editsh.cxx
+1
-1
edlingu.cxx
sw/source/core/edit/edlingu.cxx
+7
-6
ednumber.cxx
sw/source/core/edit/ednumber.cxx
+1
-2
edundo.cxx
sw/source/core/edit/edundo.cxx
+1
-2
edws.cxx
sw/source/core/edit/edws.cxx
+1
-2
No files found.
sw/source/core/edit/edglbldc.cxx
Dosyayı görüntüle @
a3f62b53
...
...
@@ -69,7 +69,8 @@ sal_uInt16 SwEditShell::GetGlobalDocContent( SwGlblDocContents& rArr ) const
SwGlblDocContent
*
pNew
;
switch
(
pSect
->
GetType
()
)
{
case
TOX_HEADER_SECTION
:
break
;
// ignore
case
TOX_HEADER_SECTION
:
break
;
// ignore
case
TOX_CONTENT_SECTION
:
OSL_ENSURE
(
pSect
->
ISA
(
SwTOXBaseSection
),
"no TOXBaseSection!"
);
pNew
=
new
SwGlblDocContent
(
(
SwTOXBaseSection
*
)
pSect
);
...
...
sw/source/core/edit/editsh.cxx
Dosyayı görüntüle @
a3f62b53
...
...
@@ -711,7 +711,7 @@ sal_uInt16 SwEditShell::GetINetAttrs( SwGetINetAttrs& rArr )
rArr
.
push_back
(
pNew
);
}
}
}
}
}
return
rArr
.
size
();
}
...
...
sw/source/core/edit/edlingu.cxx
Dosyayı görüntüle @
a3f62b53
...
...
@@ -900,7 +900,8 @@ uno::Reference< XSpellAlternatives >
// don't determine the rectangle in the current line
xub_StrLen
nWordStart
=
(
nBegin
+
nLeft
)
<
nLineStart
?
nLineStart
:
nBegin
+
nLeft
;
// take one less than the line end - otherwise the next line would be calculated
xub_StrLen
nWordEnd
=
(
nBegin
+
nLen
-
nLeft
-
nRight
)
>
nLineEnd
?
nLineEnd
:
(
nBegin
+
nLen
-
nLeft
-
nRight
);
xub_StrLen
nWordEnd
=
(
nBegin
+
nLen
-
nLeft
-
nRight
)
>
nLineEnd
?
nLineEnd
:
(
nBegin
+
nLen
-
nLeft
-
nRight
);
Push
();
pCrsr
->
DeleteMark
();
SwIndex
&
rContent
=
GetCrsr
()
->
GetPoint
()
->
nContent
;
...
...
@@ -1025,7 +1026,8 @@ bool SwEditShell::GetGrammarCorrection(
// don't determine the rectangle in the current line
xub_StrLen
nWordStart
=
(
nBegin
+
nLeft
)
<
nLineStart
?
nLineStart
:
nBegin
+
nLeft
;
// take one less than the line end - otherwise the next line would be calculated
xub_StrLen
nWordEnd
=
(
nBegin
+
nLen
-
nLeft
-
nRight
)
>
nLineEnd
?
nLineEnd
:
(
nBegin
+
nLen
-
nLeft
-
nRight
);
xub_StrLen
nWordEnd
=
(
nBegin
+
nLen
-
nLeft
-
nRight
)
>
nLineEnd
?
nLineEnd
:
(
nBegin
+
nLen
-
nLeft
-
nRight
);
Push
();
pCrsr
->
DeleteMark
();
SwIndex
&
rContent
=
GetCrsr
()
->
GetPoint
()
->
nContent
;
...
...
@@ -1072,8 +1074,7 @@ void SwEditShell::PutSpellingToSentenceStart()
pSpellIter
->
ToSentenceStart
();
}
static
sal_uInt32
lcl_CountRedlines
(
const
::
svx
::
SpellPortions
&
rLastPortions
)
static
sal_uInt32
lcl_CountRedlines
(
const
::
svx
::
SpellPortions
&
rLastPortions
)
{
sal_uInt32
nRet
=
0
;
SpellPortions
::
const_iterator
aIter
=
rLastPortions
.
begin
();
...
...
@@ -1385,8 +1386,8 @@ bool SwSpellIter::SpellSentence(::svx::SpellPortions& rPortions, bool bIsGrammar
pCrsr
->
SetMark
();
--
GetCrsrCnt
();
}
}
while
(
bGoOn
);
}
while
(
bGoOn
);
if
(
xSpellRet
.
is
()
||
bGrammarErrorFound
)
{
// an error has been found
...
...
sw/source/core/edit/ednumber.cxx
Dosyayı görüntüle @
a3f62b53
...
...
@@ -443,8 +443,7 @@ void SwEditShell::GetCurrentOutlineLevels( sal_uInt8& rUpper, sal_uInt8& rLower
aCrsr
.
SetMark
();
if
(
pCrsr
->
HasMark
()
)
*
aCrsr
.
GetPoint
()
=
*
pCrsr
->
End
();
GetDoc
()
->
GotoNextNum
(
*
aCrsr
.
GetPoint
(),
false
,
&
rUpper
,
&
rLower
);
GetDoc
()
->
GotoNextNum
(
*
aCrsr
.
GetPoint
(),
false
,
&
rUpper
,
&
rLower
);
}
bool
SwEditShell
::
MoveNumParas
(
bool
bUpperLower
,
bool
bUpperLeft
)
...
...
sw/source/core/edit/edundo.cxx
Dosyayı görüntüle @
a3f62b53
...
...
@@ -43,8 +43,7 @@ bool SwEditShell::CursorsLocked() const
return
GetDoc
()
->
GetDocShell
()
->
GetModel
()
->
hasControllersLocked
();
}
void
SwEditShell
::
HandleUndoRedoContext
(
::
sw
::
UndoRedoContext
&
rContext
)
void
SwEditShell
::
HandleUndoRedoContext
(
::
sw
::
UndoRedoContext
&
rContext
)
{
// do nothing if somebody has locked controllers!
if
(
CursorsLocked
())
...
...
sw/source/core/edit/edws.cxx
Dosyayı görüntüle @
a3f62b53
...
...
@@ -228,8 +228,7 @@ SwUndoId SwEditShell::StartUndo( SwUndoId eUndoId,
* @param eUndoId ID of the undo container
* @param pRewriter ?
*/
SwUndoId
SwEditShell
::
EndUndo
(
SwUndoId
eUndoId
,
const
SwRewriter
*
pRewriter
)
SwUndoId
SwEditShell
::
EndUndo
(
SwUndoId
eUndoId
,
const
SwRewriter
*
pRewriter
)
{
return
GetDoc
()
->
GetIDocumentUndoRedo
().
EndUndo
(
eUndoId
,
pRewriter
);
}
bool
SwEditShell
::
GetLastUndoInfo
(
OUString
*
const
o_pStr
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment