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
f96e78a7
Kaydet (Commit)
f96e78a7
authored
Agu 05, 2018
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
OUString: avoid getTokenCount
Change-Id: Icceff0aeb5c6fb70513786366416c2d86b60602a
üst
1f85149f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
annotationmanager.cxx
sd/source/ui/annotations/annotationmanager.cxx
+2
-4
No files found.
sd/source/ui/annotations/annotationmanager.cxx
Dosyayı görüntüle @
f96e78a7
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/text/XText.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
#include <comphelper/lok.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/string.hxx>
#include <svx/svxids.hrc>
#include <svx/svxids.hrc>
#include <vcl/commandinfoprovider.hxx>
#include <vcl/commandinfoprovider.hxx>
...
@@ -571,9 +570,8 @@ void AnnotationManagerImpl::ExecuteReplyToAnnotation( SfxRequest const & rReq )
...
@@ -571,9 +570,8 @@ void AnnotationManagerImpl::ExecuteReplyToAnnotation( SfxRequest const & rReq )
sQuote
=
"..."
;
sQuote
=
"..."
;
aStr
+=
sQuote
+
"
\"\n
"
;
aStr
+=
sQuote
+
"
\"\n
"
;
sal_Int32
nParaCount
=
comphelper
::
string
::
getTokenCount
(
aStr
,
'\n'
);
for
(
sal_Int32
nIdx
=
0
;
nIdx
>=
0
;
)
for
(
sal_Int32
nPara
=
0
;
nPara
<
nParaCount
;
nPara
++
)
pOutliner
->
Insert
(
aStr
.
getToken
(
0
,
'\n'
,
nIdx
),
EE_PARA_APPEND
,
-
1
);
pOutliner
->
Insert
(
aStr
.
getToken
(
nPara
,
'\n'
),
EE_PARA_APPEND
,
-
1
);
if
(
pOutliner
->
GetParagraphCount
()
>
1
)
if
(
pOutliner
->
GetParagraphCount
()
>
1
)
{
{
...
...
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