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
2b3ec82a
Kaydet (Commit)
2b3ec82a
authored
Nis 17, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
hard-coded windows dumper path makes no sense for us anymore
üst
95372abb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
31 deletions
+0
-31
svparser.cxx
svtools/source/svrtf/svparser.cxx
+0
-31
No files found.
svtools/source/svrtf/svparser.cxx
Dosyayı görüntüle @
2b3ec82a
...
@@ -59,10 +59,6 @@ struct SvParser_Impl
...
@@ -59,10 +59,6 @@ struct SvParser_Impl
rtl_TextToUnicodeConverter
hConv
;
rtl_TextToUnicodeConverter
hConv
;
rtl_TextToUnicodeContext
hContext
;
rtl_TextToUnicodeContext
hContext
;
#ifdef DBG_UTIL
SvFileStream
aOut
;
#endif
SvParser_Impl
()
:
SvParser_Impl
()
:
nSaveToken
(
0
),
hConv
(
0
),
hContext
(
(
rtl_TextToUnicodeContext
)
1
)
nSaveToken
(
0
),
hConv
(
0
),
hContext
(
(
rtl_TextToUnicodeContext
)
1
)
{
{
...
@@ -92,32 +88,10 @@ SvParser::SvParser( SvStream& rIn, sal_uInt8 nStackSize )
...
@@ -92,32 +88,10 @@ SvParser::SvParser( SvStream& rIn, sal_uInt8 nStackSize )
nTokenStackSize
=
3
;
nTokenStackSize
=
3
;
pTokenStack
=
new
TokenStackType
[
nTokenStackSize
];
pTokenStack
=
new
TokenStackType
[
nTokenStackSize
];
pTokenStackPos
=
pTokenStack
;
pTokenStackPos
=
pTokenStack
;
#ifdef DBG_UTIL
// wenn die Datei schon existiert, dann Anhaengen:
if
(
!
pImplData
)
pImplData
=
new
SvParser_Impl
;
pImplData
->
aOut
.
Open
(
String
::
CreateFromAscii
(
"
\\
parser.dmp"
),
STREAM_STD_WRITE
|
STREAM_NOCREATE
);
if
(
pImplData
->
aOut
.
GetError
()
||
!
pImplData
->
aOut
.
IsOpen
()
)
pImplData
->
aOut
.
Close
();
else
{
pImplData
->
aOut
.
Seek
(
STREAM_SEEK_TO_END
);
pImplData
->
aOut
<<
"
\x0c\n\n
>>>>>>>>>>>>>>> Dump Start <<<<<<<<<<<<<<<
\n
"
;
}
#endif
}
}
SvParser
::~
SvParser
()
SvParser
::~
SvParser
()
{
{
#ifdef DBG_UTIL
if
(
pImplData
->
aOut
.
IsOpen
()
)
pImplData
->
aOut
<<
"
\n\n
>>>>>>>>>>>>>>> Dump Ende <<<<<<<<<<<<<<<
\n
"
;
pImplData
->
aOut
.
Close
();
#endif
if
(
pImplData
&&
pImplData
->
hConv
)
if
(
pImplData
&&
pImplData
->
hConv
)
{
{
rtl_destroyTextToUnicodeContext
(
pImplData
->
hConv
,
rtl_destroyTextToUnicodeContext
(
pImplData
->
hConv
,
...
@@ -410,11 +384,6 @@ sal_Unicode SvParser::GetNextChar()
...
@@ -410,11 +384,6 @@ sal_Unicode SvParser::GetNextChar()
return
sal_Unicode
(
EOF
);
return
sal_Unicode
(
EOF
);
}
}
#ifdef DBG_UTIL
if
(
pImplData
->
aOut
.
IsOpen
()
)
pImplData
->
aOut
<<
rtl
::
OUStringToOString
(
rtl
::
OUString
(
c
),
RTL_TEXTENCODING_MS_1251
).
getStr
();
#endif
if
(
c
==
'\n'
)
if
(
c
==
'\n'
)
{
{
IncLineNr
();
IncLineNr
();
...
...
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