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
6c59177b
Kaydet (Commit)
6c59177b
authored
Nis 07, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rename misleading SwScanner::rConversionMap
Change-Id: I6f93eae5377c95ec47348b01b3414855b05a525e
üst
e89caa7d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
swscanner.hxx
sw/inc/swscanner.hxx
+1
-1
txtedt.cxx
sw/source/core/txtnode/txtedt.cxx
+5
-3
No files found.
sw/inc/swscanner.hxx
Dosyayı görüntüle @
6c59177b
...
@@ -38,7 +38,7 @@ class SwScanner
...
@@ -38,7 +38,7 @@ class SwScanner
const
OUString
aPreDashReplacementText
;
const
OUString
aPreDashReplacementText
;
OUString
aText
;
OUString
aText
;
const
LanguageType
*
pLanguage
;
const
LanguageType
*
pLanguage
;
const
ModelToViewHelper
rConversionMap
;
const
ModelToViewHelper
m_ModelToView
;
sal_Int32
nStartPos
;
sal_Int32
nStartPos
;
sal_Int32
nEndPos
;
sal_Int32
nEndPos
;
sal_Int32
nBegin
;
sal_Int32
nBegin
;
...
...
sw/source/core/txtnode/txtedt.cxx
Dosyayı görüntüle @
6c59177b
...
@@ -705,7 +705,7 @@ SwScanner::SwScanner( const SwTxtNode& rNd, const OUString& rTxt,
...
@@ -705,7 +705,7 @@ SwScanner::SwScanner( const SwTxtNode& rNd, const OUString& rTxt,
:
rNode
(
rNd
)
:
rNode
(
rNd
)
,
aPreDashReplacementText
(
rTxt
)
,
aPreDashReplacementText
(
rTxt
)
,
pLanguage
(
pLang
)
,
pLanguage
(
pLang
)
,
rConversionMap
(
rConvMap
)
,
m_ModelToView
(
rConvMap
)
,
nLen
(
0
)
,
nLen
(
0
)
,
nOverriddenDashCount
(
0
)
,
nOverriddenDashCount
(
0
)
,
nWordType
(
nType
)
,
nWordType
(
nType
)
...
@@ -746,7 +746,8 @@ SwScanner::SwScanner( const SwTxtNode& rNd, const OUString& rTxt,
...
@@ -746,7 +746,8 @@ SwScanner::SwScanner( const SwTxtNode& rNd, const OUString& rTxt,
}
}
else
else
{
{
ModelToViewHelper
::
ModelPosition
aModelBeginPos
=
rConversionMap
.
ConvertToModelPosition
(
nBegin
);
ModelToViewHelper
::
ModelPosition
aModelBeginPos
=
m_ModelToView
.
ConvertToModelPosition
(
nBegin
);
aCurrLang
=
rNd
.
GetLang
(
aModelBeginPos
.
mnPos
);
aCurrLang
=
rNd
.
GetLang
(
aModelBeginPos
.
mnPos
);
}
}
}
}
...
@@ -807,7 +808,8 @@ sal_Bool SwScanner::NextWord()
...
@@ -807,7 +808,8 @@ sal_Bool SwScanner::NextWord()
if
(
!
pLanguage
)
if
(
!
pLanguage
)
{
{
const
sal_uInt16
nNextScriptType
=
g_pBreakIt
->
GetBreakIter
()
->
getScriptType
(
aText
,
nBegin
);
const
sal_uInt16
nNextScriptType
=
g_pBreakIt
->
GetBreakIter
()
->
getScriptType
(
aText
,
nBegin
);
ModelToViewHelper
::
ModelPosition
aModelBeginPos
=
rConversionMap
.
ConvertToModelPosition
(
nBegin
);
ModelToViewHelper
::
ModelPosition
aModelBeginPos
=
m_ModelToView
.
ConvertToModelPosition
(
nBegin
);
aCurrLang
=
rNode
.
GetLang
(
aModelBeginPos
.
mnPos
,
1
,
nNextScriptType
);
aCurrLang
=
rNode
.
GetLang
(
aModelBeginPos
.
mnPos
,
1
,
nNextScriptType
);
}
}
...
...
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