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
c3dc4672
Kaydet (Commit)
c3dc4672
authored
Mar 24, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:constantfunction: hwpfilter
Change-Id: I2504291e2167cbc4be91e01de654ca63f89dbd2a
üst
1c347666
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
44 deletions
+0
-44
formula.cxx
hwpfilter/source/formula.cxx
+0
-17
formula.h
hwpfilter/source/formula.h
+0
-3
hwpreader.cxx
hwpfilter/source/hwpreader.cxx
+0
-20
hwpreader.hxx
hwpfilter/source/hwpreader.hxx
+0
-2
nodes.h
hwpfilter/source/nodes.h
+0
-2
No files found.
hwpfilter/source/formula.cxx
Dosyayı görüntüle @
c3dc4672
...
@@ -165,7 +165,6 @@ void Formula::makeExpr(Node *res)
...
@@ -165,7 +165,6 @@ void Formula::makeExpr(Node *res)
makeRoot
(
tmp
);
makeRoot
(
tmp
);
break
;
break
;
case
ID_ARROWEXPR
:
case
ID_ARROWEXPR
:
makeArrow
(
tmp
);
break
;
break
;
case
ID_ACCENTEXPR
:
case
ID_ACCENTEXPR
:
makeAccent
(
tmp
);
makeAccent
(
tmp
);
...
@@ -181,10 +180,8 @@ void Formula::makeExpr(Node *res)
...
@@ -181,10 +180,8 @@ void Formula::makeExpr(Node *res)
makeBlock
(
tmp
);
makeBlock
(
tmp
);
//fall-through
//fall-through
case
ID_BEGIN
:
case
ID_BEGIN
:
makeBegin
(
tmp
);
//fall-through
//fall-through
case
ID_END
:
case
ID_END
:
makeEnd
(
tmp
);
break
;
break
;
}
}
}
}
...
@@ -463,10 +460,6 @@ void Formula::makeRoot(Node *res)
...
@@ -463,10 +460,6 @@ void Formula::makeRoot(Node *res)
rendEl
(
"math:mroot"
);
rendEl
(
"math:mroot"
);
#endif
#endif
}
}
// DVO: add space to avoid warning
void
Formula
::
makeArrow
(
Node
*
/*res*/
)
{
}
void
Formula
::
makeAccent
(
Node
*
res
)
void
Formula
::
makeAccent
(
Node
*
res
)
{
{
makeDecoration
(
res
);
makeDecoration
(
res
);
...
@@ -575,16 +568,6 @@ void Formula::makeBlock(Node *res)
...
@@ -575,16 +568,6 @@ void Formula::makeBlock(Node *res)
#endif
#endif
}
}
// DVO: add space to avoid warning
void
Formula
::
makeBegin
(
Node
*
/*res*/
)
{
}
// DVO: add space to avoid warning
void
Formula
::
makeEnd
(
Node
*
/*res*/
)
{
}
int
Formula
::
parse
()
int
Formula
::
parse
()
{
{
Node
*
res
=
0L
;
Node
*
res
=
0L
;
...
...
hwpfilter/source/formula.h
Dosyayı görüntüle @
c3dc4672
...
@@ -70,14 +70,11 @@ private:
...
@@ -70,14 +70,11 @@ private:
void
makeDecoration
(
Node
*
res
);
void
makeDecoration
(
Node
*
res
);
void
makeFunction
(
Node
*
res
);
void
makeFunction
(
Node
*
res
);
void
makeRoot
(
Node
*
res
);
void
makeRoot
(
Node
*
res
);
void
makeArrow
(
Node
*
res
);
void
makeAccent
(
Node
*
res
);
void
makeAccent
(
Node
*
res
);
void
makeParenth
(
Node
*
res
);
void
makeParenth
(
Node
*
res
);
void
makeFence
(
Node
*
res
);
void
makeFence
(
Node
*
res
);
void
makeBracket
(
Node
*
res
);
void
makeBracket
(
Node
*
res
);
void
makeBlock
(
Node
*
res
);
void
makeBlock
(
Node
*
res
);
void
makeBegin
(
Node
*
res
);
void
makeEnd
(
Node
*
res
);
private
:
private
:
Reference
<
XDocumentHandler
>
m_rxDocumentHandler
;
Reference
<
XDocumentHandler
>
m_rxDocumentHandler
;
...
...
hwpfilter/source/hwpreader.cxx
Dosyayı görüntüle @
c3dc4672
...
@@ -3082,13 +3082,11 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
...
@@ -3082,13 +3082,11 @@ void HwpReader::make_text_p3(HWPPara * para,bool bParaStart)
if
(
!
pstart
)
{
STARTP
;}
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeChars
(
str
);
makeTocMark
(
static_cast
<
TocMark
*>
(
para
->
hhstr
[
n
]));
break
;
break
;
case
CH_INDEX_MARK
:
// 26
case
CH_INDEX_MARK
:
// 26
if
(
!
pstart
)
{
STARTP
;}
if
(
!
pstart
)
{
STARTP
;}
if
(
!
tstart
)
{
STARTT
;}
if
(
!
tstart
)
{
STARTT
;}
makeChars
(
str
);
makeChars
(
str
);
makeIndexMark
(
static_cast
<
IndexMark
*>
(
para
->
hhstr
[
n
]));
break
;
break
;
case
CH_OUTLINE
:
// 28
case
CH_OUTLINE
:
// 28
if
(
!
pstart
)
{
STARTP
;}
if
(
!
pstart
)
{
STARTP
;}
...
@@ -4749,24 +4747,6 @@ void HwpReader::makeMailMerge(MailMerge * hbox)
...
@@ -4749,24 +4747,6 @@ void HwpReader::makeMailMerge(MailMerge * hbox)
}
}
/**
* Make heading contents file using toc marks
* not support operation.
*/
void
HwpReader
::
makeTocMark
(
TocMark
*
)
/*hbox */
{
}
/**
* Make search character table in automatic
* not support operation
*/
void
HwpReader
::
makeIndexMark
(
IndexMark
*
)
/*hbox */
{
}
void
HwpReader
::
makeOutline
(
Outline
*
hbox
)
void
HwpReader
::
makeOutline
(
Outline
*
hbox
)
{
{
if
(
hbox
->
kind
==
1
)
if
(
hbox
->
kind
==
1
)
...
...
hwpfilter/source/hwpreader.hxx
Dosyayı görüntüle @
c3dc4672
...
@@ -134,8 +134,6 @@ private:
...
@@ -134,8 +134,6 @@ private:
void
makeAutoNum
(
AutoNum
*
hbox
);
void
makeAutoNum
(
AutoNum
*
hbox
);
void
makeShowPageNum
();
void
makeShowPageNum
();
void
makeMailMerge
(
MailMerge
*
hbox
);
void
makeMailMerge
(
MailMerge
*
hbox
);
void
makeTocMark
(
TocMark
*
hbox
);
void
makeIndexMark
(
IndexMark
*
hbox
);
void
makeOutline
(
Outline
*
hbox
);
void
makeOutline
(
Outline
*
hbox
);
/* --------- Styles Parsing ------------ */
/* --------- Styles Parsing ------------ */
...
...
hwpfilter/source/nodes.h
Dosyayı görüntüle @
c3dc4672
...
@@ -84,8 +84,6 @@ public:
...
@@ -84,8 +84,6 @@ public:
printf
(
"Node count : [%d]
\n
"
,
count
);
printf
(
"Node count : [%d]
\n
"
,
count
);
#endif
#endif
}
}
void
print
(){
}
public
:
public
:
static
int
count
;
/* For memory debugging */
static
int
count
;
/* For memory debugging */
int
id
;
int
id
;
...
...
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