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
498b5080
Kaydet (Commit)
498b5080
authored
Ock 29, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove dangerously broken >>= operator
üst
2756fcdc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
33 deletions
+0
-33
model.cxx
forms/source/xforms/model.cxx
+0
-29
model.hxx
forms/source/xforms/model.hxx
+0
-4
No files found.
forms/source/xforms/model.cxx
Dosyayı görüntüle @
498b5080
...
@@ -778,33 +778,4 @@ Sequence<sal_Int8> Model::getImplementationId()
...
@@ -778,33 +778,4 @@ Sequence<sal_Int8> Model::getImplementationId()
return
getUnoTunnelID
();
return
getUnoTunnelID
();
}
}
//
// 'shift' operators for getting data into and out of Anys
//
void
operator
<<=
(
com
::
sun
::
star
::
uno
::
Any
&
rAny
,
xforms
::
Model
*
pModel
)
{
Reference
<
XPropertySet
>
xPropSet
(
static_cast
<
XPropertySet
*>
(
pModel
)
);
rAny
<<=
xPropSet
;
}
bool
operator
>>=
(
xforms
::
Model
*
pModel
,
com
::
sun
::
star
::
uno
::
Any
&
rAny
)
{
bool
bRet
=
false
;
// acquire model pointer through XUnoTunnel
Reference
<
XUnoTunnel
>
xTunnel
(
rAny
,
UNO_QUERY
);
if
(
xTunnel
.
is
()
)
{
pModel
=
reinterpret_cast
<
xforms
::
Model
*>
(
xTunnel
->
getSomething
(
xforms
::
Model
::
getUnoTunnelID
()
)
);
bRet
=
true
;
}
return
bRet
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
forms/source/xforms/model.hxx
Dosyayı görüntüle @
498b5080
...
@@ -428,10 +428,6 @@ public:
...
@@ -428,10 +428,6 @@ public:
};
};
// finally, allow 'shifting' of Model objects into/out of Any
void
operator
<<=
(
com
::
sun
::
star
::
uno
::
Any
&
,
const
xforms
::
Model
*
);
bool
operator
>>=
(
xforms
::
Model
*
,
const
com
::
sun
::
star
::
uno
::
Any
&
);
}
// namespace
}
// namespace
#endif
#endif
...
...
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