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
b0e993d4
Kaydet (Commit)
b0e993d4
authored
Ara 20, 2011
tarafından
August Sodora
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: Remove unused code
üst
f94db3d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
58 deletions
+0
-58
TagLogger.hxx
writerfilter/inc/resourcemodel/TagLogger.hxx
+0
-5
TagLogger.cxx
writerfilter/source/resourcemodel/TagLogger.cxx
+0
-53
No files found.
writerfilter/inc/resourcemodel/TagLogger.hxx
Dosyayı görüntüle @
b0e993d4
...
...
@@ -73,14 +73,9 @@ namespace writerfilter
void
element
(
const
std
::
string
&
name
);
void
unoPropertySet
(
uno
::
Reference
<
beans
::
XPropertySet
>
rPropSet
);
#endif
void
startElement
(
const
std
::
string
&
name
);
void
attribute
(
const
std
::
string
&
name
,
const
std
::
string
&
value
);
void
attribute
(
const
std
::
string
&
name
,
const
::
rtl
::
OUString
&
value
);
void
attribute
(
const
std
::
string
&
name
,
sal_uInt32
value
);
void
attribute
(
const
std
::
string
&
name
,
const
uno
::
Any
aAny
);
void
chars
(
const
std
::
string
&
chars
);
void
chars
(
const
::
rtl
::
OUString
&
chars
);
void
endElement
();
#ifdef DEBUG_CONTEXT_HANDLER
void
propertySet
(
writerfilter
::
Reference
<
Properties
>::
Pointer_t
props
,
...
...
writerfilter/source/resourcemodel/TagLogger.cxx
Dosyayı görüntüle @
b0e993d4
...
...
@@ -156,13 +156,6 @@ namespace writerfilter
#endif
void
TagLogger
::
startElement
(
const
string
&
name
)
{
xmlChar
*
xmlName
=
xmlCharStrdup
(
name
.
c_str
()
);
xmlTextWriterStartElement
(
pWriter
,
xmlName
);
xmlFree
(
xmlName
);
}
void
TagLogger
::
attribute
(
const
string
&
name
,
const
string
&
value
)
{
xmlChar
*
xmlName
=
xmlCharStrdup
(
name
.
c_str
()
);
...
...
@@ -178,42 +171,6 @@ namespace writerfilter
attribute
(
name
,
OUStringToOString
(
value
,
RTL_TEXTENCODING_ASCII_US
).
getStr
()
);
}
void
TagLogger
::
attribute
(
const
string
&
name
,
sal_uInt32
value
)
{
xmlChar
*
xmlName
=
xmlCharStrdup
(
name
.
c_str
()
);
xmlTextWriterWriteFormatAttribute
(
pWriter
,
xmlName
,
"%"
SAL_PRIuUINT32
,
value
);
xmlFree
(
xmlName
);
}
void
TagLogger
::
attribute
(
const
string
&
name
,
const
uno
::
Any
aAny
)
{
string
aTmpStrInt
;
string
aTmpStrFloat
;
string
aTmpStrString
;
sal_Int32
nInt
=
0
;
float
nFloat
=
0.0
;
::
rtl
::
OUString
aStr
;
xmlChar
*
xmlName
=
xmlCharStrdup
(
name
.
c_str
()
);
if
(
aAny
>>=
nInt
)
{
xmlTextWriterWriteFormatAttribute
(
pWriter
,
xmlName
,
"%"
SAL_PRIdINT32
,
nInt
);
}
else
if
(
aAny
>>=
nFloat
)
{
xmlTextWriterWriteFormatAttribute
(
pWriter
,
xmlName
,
"%f"
,
nFloat
);
}
else
if
(
aAny
>>=
aStr
)
{
attribute
(
name
,
aStr
);
}
xmlFree
(
xmlName
);
}
void
TagLogger
::
chars
(
const
string
&
rChars
)
{
xmlChar
*
xmlChars
=
xmlCharStrdup
(
rChars
.
c_str
()
);
...
...
@@ -221,16 +178,6 @@ namespace writerfilter
xmlFree
(
xmlChars
);
}
void
TagLogger
::
chars
(
const
::
rtl
::
OUString
&
rChars
)
{
chars
(
OUStringToOString
(
rChars
,
RTL_TEXTENCODING_ASCII_US
).
getStr
());
}
void
TagLogger
::
endElement
()
{
xmlTextWriterEndElement
(
pWriter
);
}
#ifdef DEBUG_CONTEXT_HANDLER
class
PropertySetDumpHandler
:
public
Properties
{
...
...
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