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
0e79718a
Kaydet (Commit)
0e79718a
authored
Şub 07, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rtftok: use m_r prefix for C++ reference members only
üst
8e6e8809
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
33 deletions
+33
-33
rtfreferenceproperties.cxx
writerfilter/source/rtftok/rtfreferenceproperties.cxx
+8
-8
rtfreferenceproperties.hxx
writerfilter/source/rtftok/rtfreferenceproperties.hxx
+2
-2
rtfvalue.cxx
writerfilter/source/rtftok/rtfvalue.cxx
+21
-21
rtfvalue.hxx
writerfilter/source/rtftok/rtfvalue.hxx
+2
-2
No files found.
writerfilter/source/rtftok/rtfreferenceproperties.cxx
Dosyayı görüntüle @
0e79718a
...
...
@@ -30,15 +30,15 @@
namespace
writerfilter
{
namespace
rtftok
{
RTFReferenceProperties
::
RTFReferenceProperties
(
RTFSprms
rAttributes
,
RTFSprms
r
Sprms
)
:
m_
rAttributes
(
r
Attributes
),
m_
rSprms
(
r
Sprms
)
RTFReferenceProperties
::
RTFReferenceProperties
(
RTFSprms
aAttributes
,
RTFSprms
a
Sprms
)
:
m_
aAttributes
(
a
Attributes
),
m_
aSprms
(
a
Sprms
)
{
}
RTFReferenceProperties
::
RTFReferenceProperties
(
RTFSprms
r
Attributes
)
:
m_
rAttributes
(
r
Attributes
),
m_
r
Sprms
()
RTFReferenceProperties
::
RTFReferenceProperties
(
RTFSprms
a
Attributes
)
:
m_
aAttributes
(
a
Attributes
),
m_
a
Sprms
()
{
}
...
...
@@ -48,9 +48,9 @@ RTFReferenceProperties::~RTFReferenceProperties()
void
RTFReferenceProperties
::
resolve
(
Properties
&
rHandler
)
{
for
(
RTFSprms
::
Iterator_t
i
=
m_
rAttributes
->
begin
();
i
!=
m_r
Attributes
->
end
();
++
i
)
for
(
RTFSprms
::
Iterator_t
i
=
m_
aAttributes
->
begin
();
i
!=
m_a
Attributes
->
end
();
++
i
)
rHandler
.
attribute
(
i
->
first
,
*
i
->
second
.
get
());
for
(
RTFSprms
::
Iterator_t
i
=
m_
rSprms
->
begin
();
i
!=
m_r
Sprms
->
end
();
++
i
)
for
(
RTFSprms
::
Iterator_t
i
=
m_
aSprms
->
begin
();
i
!=
m_a
Sprms
->
end
();
++
i
)
{
RTFSprm
aSprm
(
i
->
first
,
i
->
second
);
rHandler
.
sprm
(
aSprm
);
...
...
writerfilter/source/rtftok/rtfreferenceproperties.hxx
Dosyayı görüntüle @
0e79718a
...
...
@@ -45,8 +45,8 @@ namespace writerfilter {
virtual
void
resolve
(
Properties
&
rHandler
);
virtual
std
::
string
getType
()
const
;
private
:
RTFSprms
m_
r
Attributes
;
RTFSprms
m_
r
Sprms
;
RTFSprms
m_
a
Attributes
;
RTFSprms
m_
a
Sprms
;
};
}
// namespace rtftok
}
// namespace writerfilter
...
...
writerfilter/source/rtftok/rtfvalue.cxx
Dosyayı görüntüle @
0e79718a
...
...
@@ -34,12 +34,12 @@ using rtl::OString;
using
rtl
::
OUString
;
RTFValue
::
RTFValue
(
int
nValue
,
rtl
::
OUString
sValue
,
RTFSprms
rAttributes
,
RTFSprms
rSprms
,
uno
::
Reference
<
drawing
::
XShape
>
r
Shape
,
uno
::
Reference
<
io
::
XInputStream
>
r
Stream
)
RTFSprms
rSprms
,
uno
::
Reference
<
drawing
::
XShape
>
x
Shape
,
uno
::
Reference
<
io
::
XInputStream
>
x
Stream
)
:
m_nValue
(
nValue
),
m_sValue
(
sValue
),
m_
rShape
(
r
Shape
),
m_
rStream
(
r
Stream
),
m_
xShape
(
x
Shape
),
m_
xStream
(
x
Stream
),
m_bForceString
(
false
)
{
m_pAttributes
.
reset
(
new
RTFSprms
(
rAttributes
));
...
...
@@ -49,8 +49,8 @@ RTFValue::RTFValue(int nValue, rtl::OUString sValue, RTFSprms rAttributes,
RTFValue
::
RTFValue
(
int
nValue
)
:
m_nValue
(
nValue
),
m_sValue
(),
m_
r
Shape
(),
m_
r
Stream
(),
m_
x
Shape
(),
m_
x
Stream
(),
m_bForceString
(
false
)
{
m_pAttributes
.
reset
(
new
RTFSprms
());
...
...
@@ -60,8 +60,8 @@ RTFValue::RTFValue(int nValue)
RTFValue
::
RTFValue
(
OUString
sValue
,
bool
bForce
)
:
m_nValue
(),
m_sValue
(
sValue
),
m_
r
Shape
(),
m_
r
Stream
(),
m_
x
Shape
(),
m_
x
Stream
(),
m_bForceString
(
bForce
)
{
m_pAttributes
.
reset
(
new
RTFSprms
());
...
...
@@ -71,8 +71,8 @@ RTFValue::RTFValue(OUString sValue, bool bForce)
RTFValue
::
RTFValue
(
RTFSprms
rAttributes
)
:
m_nValue
(),
m_sValue
(),
m_
r
Shape
(),
m_
r
Stream
(),
m_
x
Shape
(),
m_
x
Stream
(),
m_bForceString
(
false
)
{
m_pAttributes
.
reset
(
new
RTFSprms
(
rAttributes
));
...
...
@@ -82,8 +82,8 @@ RTFValue::RTFValue(RTFSprms rAttributes)
RTFValue
::
RTFValue
(
RTFSprms
rAttributes
,
RTFSprms
rSprms
)
:
m_nValue
(),
m_sValue
(),
m_
r
Shape
(),
m_
r
Stream
(),
m_
x
Shape
(),
m_
x
Stream
(),
m_bForceString
(
false
)
{
m_pAttributes
.
reset
(
new
RTFSprms
(
rAttributes
));
...
...
@@ -93,8 +93,8 @@ RTFValue::RTFValue(RTFSprms rAttributes, RTFSprms rSprms)
RTFValue
::
RTFValue
(
uno
::
Reference
<
drawing
::
XShape
>
rShape
)
:
m_nValue
(),
m_sValue
(),
m_
r
Shape
(
rShape
),
m_
r
Stream
(),
m_
x
Shape
(
rShape
),
m_
x
Stream
(),
m_bForceString
(
false
)
{
m_pAttributes
.
reset
(
new
RTFSprms
());
...
...
@@ -104,8 +104,8 @@ RTFValue::RTFValue(uno::Reference<drawing::XShape> rShape)
RTFValue
::
RTFValue
(
uno
::
Reference
<
io
::
XInputStream
>
rStream
)
:
m_nValue
(),
m_sValue
(),
m_
r
Shape
(),
m_
r
Stream
(
rStream
),
m_
x
Shape
(),
m_
x
Stream
(
rStream
),
m_bForceString
(
false
)
{
m_pAttributes
.
reset
(
new
RTFSprms
());
...
...
@@ -139,10 +139,10 @@ uno::Any RTFValue::getAny() const
uno
::
Any
ret
;
if
(
!
m_sValue
.
isEmpty
()
||
m_bForceString
)
ret
<<=
m_sValue
;
else
if
(
m_
r
Shape
.
is
())
ret
<<=
m_
r
Shape
;
else
if
(
m_
r
Stream
.
is
())
ret
<<=
m_
r
Stream
;
else
if
(
m_
x
Shape
.
is
())
ret
<<=
m_
x
Shape
;
else
if
(
m_
x
Stream
.
is
())
ret
<<=
m_
x
Stream
;
else
ret
<<=
static_cast
<
sal_Int32
>
(
m_nValue
);
return
ret
;
...
...
@@ -176,7 +176,7 @@ std::string RTFValue::toString() const
RTFValue
*
RTFValue
::
Clone
()
{
return
new
RTFValue
(
m_nValue
,
m_sValue
,
*
m_pAttributes
,
*
m_pSprms
,
m_
rShape
,
m_r
Stream
);
return
new
RTFValue
(
m_nValue
,
m_sValue
,
*
m_pAttributes
,
*
m_pSprms
,
m_
xShape
,
m_x
Stream
);
}
RTFSprms
&
RTFValue
::
getAttributes
()
...
...
writerfilter/source/rtftok/rtfvalue.hxx
Dosyayı görüntüle @
0e79718a
...
...
@@ -65,8 +65,8 @@ namespace writerfilter {
rtl
::
OUString
m_sValue
;
boost
::
shared_ptr
<
RTFSprms
>
m_pAttributes
;
boost
::
shared_ptr
<
RTFSprms
>
m_pSprms
;
uno
::
Reference
<
drawing
::
XShape
>
m_
r
Shape
;
uno
::
Reference
<
io
::
XInputStream
>
m_
r
Stream
;
uno
::
Reference
<
drawing
::
XShape
>
m_
x
Shape
;
uno
::
Reference
<
io
::
XInputStream
>
m_
x
Stream
;
bool
m_bForceString
;
};
}
// namespace rtftok
...
...
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