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
0db36919
Kaydet (Commit)
0db36919
authored
Nis 06, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: passing OString by value, rather pass by reference
Change-Id: I41a318b8376ae3e68701ffe6ebc745bdbec62dc8
üst
dab78653
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
HtmlWriter.hxx
include/svtools/HtmlWriter.hxx
+4
-4
htmlout.hxx
include/svtools/htmlout.hxx
+1
-1
HtmlWriter.cxx
svtools/source/svhtml/HtmlWriter.cxx
+4
-4
htmlout.cxx
svtools/source/svhtml/htmlout.cxx
+1
-1
No files found.
include/svtools/HtmlWriter.hxx
Dosyayı görüntüle @
0db36919
...
...
@@ -32,11 +32,11 @@ public:
void
prettyPrint
(
bool
bChoice
);
void
start
(
OString
aElement
);
void
start
(
const
OString
&
aElement
);
void
end
();
void
write
(
OString
aContent
);
void
attribute
(
OString
aAttribute
,
OString
aValue
);
void
single
(
OString
aContent
);
void
write
(
const
OString
&
aContent
);
void
attribute
(
const
OString
&
aAttribute
,
const
OString
&
aValue
);
void
single
(
const
OString
&
aContent
);
void
endAttribute
();
};
...
...
include/svtools/htmlout.hxx
Dosyayı görüntüle @
0db36919
...
...
@@ -108,7 +108,7 @@ struct HTMLOutFuncs
struct
HtmlWriterHelper
{
SVT_DLLPUBLIC
static
void
applyColor
(
HtmlWriter
&
rHtmlWriter
,
OString
aAttributeName
,
const
Color
&
rColor
);
SVT_DLLPUBLIC
static
void
applyColor
(
HtmlWriter
&
rHtmlWriter
,
const
OString
&
aAttributeName
,
const
Color
&
rColor
);
};
#endif
...
...
svtools/source/svhtml/HtmlWriter.cxx
Dosyayı görüntüle @
0db36919
...
...
@@ -25,7 +25,7 @@ void HtmlWriter::prettyPrint(bool bChoice)
mbPrettyPrint
=
bChoice
;
}
void
HtmlWriter
::
start
(
OString
aElement
)
void
HtmlWriter
::
start
(
const
OString
&
aElement
)
{
if
(
mbElementOpen
)
{
...
...
@@ -49,7 +49,7 @@ void HtmlWriter::start(OString aElement)
mbElementOpen
=
true
;
}
void
HtmlWriter
::
single
(
OString
aContent
)
void
HtmlWriter
::
single
(
const
OString
&
aContent
)
{
start
(
aContent
);
end
();
...
...
@@ -94,7 +94,7 @@ void HtmlWriter::end()
mbContentWritten
=
false
;
}
void
HtmlWriter
::
write
(
OString
aContent
)
void
HtmlWriter
::
write
(
const
OString
&
aContent
)
{
if
(
mbElementOpen
)
{
...
...
@@ -105,7 +105,7 @@ void HtmlWriter::write(OString aContent)
mrStream
.
WriteOString
(
aContent
);
}
void
HtmlWriter
::
attribute
(
OString
aAttribute
,
OString
aValue
)
void
HtmlWriter
::
attribute
(
const
OString
&
aAttribute
,
const
OString
&
aValue
)
{
if
(
mbElementOpen
&&
!
aAttribute
.
isEmpty
()
&&
!
aValue
.
isEmpty
())
{
...
...
svtools/source/svhtml/htmlout.cxx
Dosyayı görüntüle @
0db36919
...
...
@@ -977,7 +977,7 @@ OString HTMLOutFuncs::CreateTableDataOptionsValNum(
return
aStrTD
.
makeStringAndClear
();
}
void
HtmlWriterHelper
::
applyColor
(
HtmlWriter
&
rHtmlWriter
,
OString
aAttributeName
,
const
Color
&
rColor
)
void
HtmlWriterHelper
::
applyColor
(
HtmlWriter
&
rHtmlWriter
,
const
OString
&
aAttributeName
,
const
Color
&
rColor
)
{
OStringBuffer
sBuffer
;
...
...
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