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
89969e67
Kaydet (Commit)
89969e67
authored
Eki 09, 2018
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw_redlinehide_3: SwXTextViewCursor::getString() without redlines
Change-Id: I734e27c95e20373f8de32f8db2183275c94144e5
üst
cd1abbed
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
unocrsrhelper.hxx
sw/inc/unocrsrhelper.hxx
+2
-1
unoobj.cxx
sw/source/core/unocore/unoobj.cxx
+3
-1
unotxvw.cxx
sw/source/uibase/uno/unotxvw.cxx
+2
-1
No files found.
sw/inc/unocrsrhelper.hxx
Dosyayı görüntüle @
89969e67
...
...
@@ -36,6 +36,7 @@ class SwUnoTableCursor;
class
SwFormatColl
;
struct
SwSortOptions
;
class
SwDoc
;
class
SwRootFrame
;
namespace
sw
{
namespace
mark
{
class
IMark
;
}
}
...
...
@@ -135,7 +136,7 @@ namespace SwUnoCursorHelper
void
GetCursorAttr
(
SwPaM
&
rPam
,
SfxItemSet
&
rSet
,
const
bool
bOnlyTextAttr
=
false
,
const
bool
bGetFromChrFormat
=
true
);
void
GetTextFromPam
(
SwPaM
&
rPam
,
OUString
&
rBuffer
);
void
GetTextFromPam
(
SwPaM
&
rPam
,
OUString
&
rBuffer
,
SwRootFrame
const
*
pLayout
=
nullptr
);
SwFormatColl
*
GetCurTextFormatColl
(
SwPaM
&
rPam
,
const
bool
bConditional
);
void
SelectPam
(
SwPaM
&
rPam
,
const
bool
bExpand
);
...
...
sw/source/core/unocore/unoobj.cxx
Dosyayı görüntüle @
89969e67
...
...
@@ -160,7 +160,8 @@ void SwUnoCursorHelper::SelectPam(SwPaM & rPam, const bool bExpand)
}
}
void
SwUnoCursorHelper
::
GetTextFromPam
(
SwPaM
&
rPam
,
OUString
&
rBuffer
)
void
SwUnoCursorHelper
::
GetTextFromPam
(
SwPaM
&
rPam
,
OUString
&
rBuffer
,
SwRootFrame
const
*
const
pLayout
)
{
if
(
!
rPam
.
HasMark
())
{
...
...
@@ -188,6 +189,7 @@ void SwUnoCursorHelper::GetTextFromPam(SwPaM & rPam, OUString & rBuffer)
// #i68522#
const
bool
bOldShowProgress
=
xWrt
->
m_bShowProgress
;
xWrt
->
m_bShowProgress
=
false
;
xWrt
->
m_bHideDeleteRedlines
=
pLayout
&&
pLayout
->
IsHideRedlines
();
if
(
!
aWriter
.
Write
(
xWrt
).
IsError
()
)
{
...
...
sw/source/uibase/uno/unotxvw.cxx
Dosyayı görüntüle @
89969e67
...
...
@@ -1381,7 +1381,8 @@ OUString SwXTextViewCursor::getString()
{
SwWrtShell
&
rSh
=
m_pView
->
GetWrtShell
();
SwPaM
*
pShellCursor
=
rSh
.
GetCursor
();
SwUnoCursorHelper
::
GetTextFromPam
(
*
pShellCursor
,
uRet
);
SwUnoCursorHelper
::
GetTextFromPam
(
*
pShellCursor
,
uRet
,
rSh
.
GetLayout
());
break
;
}
default
:
;
//prevent warning
...
...
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