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
018bacf4
Kaydet (Commit)
018bacf4
authored
Kas 23, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unusedfields in shell/
Change-Id: I3a3f7144483cebaad6d64588ff0570f29ab24e27
üst
1aa29c82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
19 deletions
+3
-19
xml_parser.hxx
shell/inc/internal/xml_parser.hxx
+2
-14
xml_parser.cxx
shell/source/all/xml_parser.cxx
+1
-5
No files found.
shell/inc/internal/xml_parser.hxx
Dosyayı görüntüle @
018bacf4
...
...
@@ -30,22 +30,10 @@ class xml_parser_exception : public std::runtime_error
public
:
xml_parser_exception
(
const
std
::
string
&
error_msg
,
int
error_code
,
int
line_number
,
int
column_number
,
long
byte_index
)
:
std
::
runtime_error
(
error_msg
),
error_code_
(
error_code
),
line_number_
(
line_number
),
column_number_
(
column_number
),
byte_index_
(
byte_index
)
const
std
::
string
&
error_msg
)
:
std
::
runtime_error
(
error_msg
)
{}
int
error_code_
;
int
line_number_
;
int
column_number_
;
long
byte_index_
;
};
...
...
shell/source/all/xml_parser.cxx
Dosyayı görüntüle @
018bacf4
...
...
@@ -178,11 +178,7 @@ void xml_parser::parse(const char* XmlData, size_t Length, bool IsFinal)
XML_Parse
(
xml_parser_
,
XmlData
,
static_cast
<
int
>
(
Length
),
IsFinal
))
{
throw
xml_parser_exception
(
XML_ErrorString
(
XML_GetErrorCode
(
xml_parser_
)),
(
int
)
XML_GetErrorCode
(
xml_parser_
),
XML_GetCurrentLineNumber
(
xml_parser_
),
XML_GetCurrentColumnNumber
(
xml_parser_
),
XML_GetCurrentByteIndex
(
xml_parser_
));
XML_ErrorString
(
XML_GetErrorCode
(
xml_parser_
)));
}
}
...
...
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