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
7b87ccf9
Kaydet (Commit)
7b87ccf9
authored
Agu 13, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
drop unnecessary RTFDocumentImpl::isEmpty
Change-Id: I657266697c30be0760971528adb1abf07f03ea23
üst
b3a7f6d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+0
-5
rtfdocumentimpl.hxx
writerfilter/source/rtftok/rtfdocumentimpl.hxx
+1
-2
rtftokenizer.cxx
writerfilter/source/rtftok/rtftokenizer.cxx
+2
-2
No files found.
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
7b87ccf9
...
...
@@ -3902,11 +3902,6 @@ int RTFDocumentImpl::getGroup() const
return
m_nGroup
;
}
bool
RTFDocumentImpl
::
isEmpty
()
const
{
return
m_aStates
.
empty
();
}
void
RTFDocumentImpl
::
setDestinationText
(
OUString
&
rString
)
{
m_aStates
.
top
().
aDestinationText
.
setLength
(
0
);
...
...
writerfilter/source/rtftok/rtfdocumentimpl.hxx
Dosyayı görüntüle @
7b87ccf9
...
...
@@ -424,8 +424,7 @@ namespace writerfilter {
void
seek
(
sal_uInt32
nPos
);
uno
::
Reference
<
lang
::
XMultiServiceFactory
>
getModelFactory
();
RTFParserState
&
getState
();
/// If the stack of states is empty.
bool
isEmpty
()
const
;
/// Number of states on the stack.
int
getGroup
()
const
;
void
setDestinationText
(
rtl
::
OUString
&
rString
);
/// Resolve a picture: If not inline, then anchored.
...
...
writerfilter/source/rtftok/rtftokenizer.cxx
Dosyayı görüntüle @
7b87ccf9
...
...
@@ -95,7 +95,7 @@ int RTFTokenizer::resolveParse()
if
(
m_rImport
.
getGroup
()
<
0
)
return
ERROR_GROUP_UNDER
;
if
(
!
m_rImport
.
isEmpty
()
&&
m_rImport
.
getState
().
nInternalState
==
INTERNAL_BIN
)
if
(
m_rImport
.
getGroup
()
>
0
&&
m_rImport
.
getState
().
nInternalState
==
INTERNAL_BIN
)
{
ret
=
m_rImport
.
resolveChars
(
ch
);
if
(
ret
)
...
...
@@ -130,7 +130,7 @@ int RTFTokenizer::resolveParse()
case
0x0a
:
break
;
// ignore these
default
:
if
(
m_rImport
.
isEmpty
()
)
if
(
m_rImport
.
getGroup
()
==
0
)
return
ERROR_CHAR_OVER
;
if
(
m_rImport
.
getState
().
nInternalState
==
INTERNAL_NORMAL
)
{
...
...
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