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
6cf667cc
Kaydet (Commit)
6cf667cc
authored
Ock 03, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck: passedByValue
Change-Id: Id8b2db3b824ea40345aba99a5f24f2579c0ad630
üst
5e9db55d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
splargs.hxx
sw/inc/splargs.hxx
+3
-1
edlingu.cxx
sw/source/core/edit/edlingu.cxx
+2
-2
No files found.
sw/inc/splargs.hxx
Dosyayı görüntüle @
6cf667cc
...
@@ -155,8 +155,10 @@ public:
...
@@ -155,8 +155,10 @@ public:
namespace
sw
{
namespace
sw
{
typedef
std
::
function
<
SwTextFrame
*
()
>
Creator
;
SwTextFrame
*
SwTextFrame
*
SwHyphIterCacheLastTextFrame
(
SwTextNode
*
,
std
::
function
<
SwTextFrame
*
()
>
);
SwHyphIterCacheLastTextFrame
(
SwTextNode
*
,
const
Creator
&
rCreator
);
}
}
...
...
sw/source/core/edit/edlingu.cxx
Dosyayı görüntüle @
6cf667cc
...
@@ -158,7 +158,7 @@ class SwHyphIter : public SwLinguIter
...
@@ -158,7 +158,7 @@ class SwHyphIter : public SwLinguIter
// With that we save a GetFrame() in Hyphenate //TODO: does it actually matter?
// With that we save a GetFrame() in Hyphenate //TODO: does it actually matter?
const
SwTextNode
*
m_pLastNode
;
const
SwTextNode
*
m_pLastNode
;
SwTextFrame
*
m_pLastFrame
;
SwTextFrame
*
m_pLastFrame
;
friend
SwTextFrame
*
sw
::
SwHyphIterCacheLastTextFrame
(
SwTextNode
*
,
std
::
function
<
SwTextFrame
*
()
>
);
friend
SwTextFrame
*
sw
::
SwHyphIterCacheLastTextFrame
(
SwTextNode
*
pNode
,
const
sw
::
Creator
&
rCreator
);
bool
bOldIdle
;
bool
bOldIdle
;
static
void
DelSoftHyph
(
SwPaM
&
rPam
);
static
void
DelSoftHyph
(
SwPaM
&
rPam
);
...
@@ -573,7 +573,7 @@ namespace sw {
...
@@ -573,7 +573,7 @@ namespace sw {
SwTextFrame
*
SwTextFrame
*
SwHyphIterCacheLastTextFrame
(
SwTextNode
*
const
pNode
,
SwHyphIterCacheLastTextFrame
(
SwTextNode
*
const
pNode
,
std
::
function
<
SwTextFrame
*
()
>
const
create
)
const
sw
::
Creator
&
create
)
{
{
assert
(
g_pHyphIter
);
assert
(
g_pHyphIter
);
if
(
pNode
!=
g_pHyphIter
->
m_pLastNode
||
!
g_pHyphIter
->
m_pLastFrame
)
if
(
pNode
!=
g_pHyphIter
->
m_pLastNode
||
!
g_pHyphIter
->
m_pLastFrame
)
...
...
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