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
e61b20dc
Kaydet (Commit)
e61b20dc
authored
Eyl 07, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rename CollapsAttribs -> CollapseAttribs
Change-Id: Ic70f67fb7e0e557a3a726f44aef25931def49835
üst
17b1bbb5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
editdoc.cxx
editeng/source/editeng/editdoc.cxx
+2
-2
editdoc.hxx
editeng/source/editeng/editdoc.hxx
+1
-1
textdoc.cxx
vcl/source/edit/textdoc.cxx
+2
-2
textdoc.hxx
vcl/source/edit/textdoc.hxx
+1
-1
No files found.
editeng/source/editeng/editdoc.cxx
Dosyayı görüntüle @
e61b20dc
...
...
@@ -1406,7 +1406,7 @@ void ContentNode::ExpandAttribs( sal_Int32 nIndex, sal_Int32 nNew, SfxItemPool&
#endif
}
void
ContentNode
::
CollapsAttribs
(
sal_Int32
nIndex
,
sal_Int32
nDeleted
,
SfxItemPool
&
rItemPool
)
void
ContentNode
::
Collaps
e
Attribs
(
sal_Int32
nIndex
,
sal_Int32
nDeleted
,
SfxItemPool
&
rItemPool
)
{
if
(
!
nDeleted
)
return
;
...
...
@@ -2392,7 +2392,7 @@ void EditDoc::RemoveChars( EditPaM aPaM, sal_Int32 nChars )
{
// Maybe remove Features!
aPaM
.
GetNode
()
->
Erase
(
aPaM
.
GetIndex
(),
nChars
);
aPaM
.
GetNode
()
->
CollapsAttribs
(
aPaM
.
GetIndex
(),
nChars
,
GetItemPool
()
);
aPaM
.
GetNode
()
->
Collaps
e
Attribs
(
aPaM
.
GetIndex
(),
nChars
,
GetItemPool
()
);
SetModified
(
true
);
}
...
...
editeng/source/editeng/editdoc.hxx
Dosyayı görüntüle @
e61b20dc
...
...
@@ -254,7 +254,7 @@ public:
const
CharAttribList
&
GetCharAttribs
()
const
{
return
aCharAttribList
;
}
void
ExpandAttribs
(
sal_Int32
nIndex
,
sal_Int32
nNewChars
,
SfxItemPool
&
rItemPool
);
void
CollapsAttribs
(
sal_Int32
nIndex
,
sal_Int32
nDelChars
,
SfxItemPool
&
rItemPool
);
void
Collaps
e
Attribs
(
sal_Int32
nIndex
,
sal_Int32
nDelChars
,
SfxItemPool
&
rItemPool
);
void
AppendAttribs
(
ContentNode
*
pNextNode
);
void
CopyAndCutAttribs
(
ContentNode
*
pPrevNode
,
SfxItemPool
&
rPool
,
bool
bKeepEndingAttribs
);
...
...
vcl/source/edit/textdoc.cxx
Dosyayı görüntüle @
e61b20dc
...
...
@@ -229,7 +229,7 @@ void TextNode::ExpandAttribs( sal_Int32 nIndex, sal_Int32 nNew )
maCharAttribs
.
ResortAttribs
();
}
void
TextNode
::
CollapsAttribs
(
sal_Int32
nIndex
,
sal_Int32
nDeleted
)
void
TextNode
::
Collaps
e
Attribs
(
sal_Int32
nIndex
,
sal_Int32
nDeleted
)
{
if
(
!
nDeleted
)
return
;
...
...
@@ -306,7 +306,7 @@ void TextNode::InsertText( sal_Int32 nPos, sal_Unicode c )
void
TextNode
::
RemoveText
(
sal_Int32
nPos
,
sal_Int32
nChars
)
{
maText
=
maText
.
replaceAt
(
nPos
,
nChars
,
""
);
CollapsAttribs
(
nPos
,
nChars
);
Collaps
e
Attribs
(
nPos
,
nChars
);
}
TextNode
*
TextNode
::
Split
(
sal_Int32
nPos
)
...
...
vcl/source/edit/textdoc.hxx
Dosyayı görüntüle @
e61b20dc
...
...
@@ -68,7 +68,7 @@ private:
protected
:
void
ExpandAttribs
(
sal_Int32
nIndex
,
sal_Int32
nNewChars
);
void
CollapsAttribs
(
sal_Int32
nIndex
,
sal_Int32
nDelChars
);
void
Collaps
e
Attribs
(
sal_Int32
nIndex
,
sal_Int32
nDelChars
);
public
:
TextNode
(
const
OUString
&
rText
);
...
...
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