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
123c64ab
Kaydet (Commit)
123c64ab
authored
Agu 20, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
starawt -> css::awt
Change-Id: I76dd16aa2c42a649162ea2e37c824af30cdd557b
üst
78b2d821
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
basicio.cxx
comphelper/source/streaming/basicio.cxx
+3
-3
basicio.hxx
include/comphelper/basicio.hxx
+2
-3
types.hxx
include/comphelper/types.hxx
+3
-4
No files found.
comphelper/source/streaming/basicio.cxx
Dosyayı görüntüle @
123c64ab
...
...
@@ -27,7 +27,7 @@ namespace comphelper
const
css
::
uno
::
Reference
<
stario
::
XObjectOutputStream
>&
operator
<<
(
const
css
::
uno
::
Reference
<
stario
::
XObjectOutputStream
>&
_rxOutStream
,
const
star
awt
::
FontDescriptor
&
_rFont
)
const
css
::
awt
::
FontDescriptor
&
_rFont
)
{
_rxOutStream
->
writeUTF
(
_rFont
.
Name
);
_rxOutStream
->
writeShort
(
_rFont
.
Height
);
...
...
@@ -52,7 +52,7 @@ const css::uno::Reference<stario::XObjectOutputStream>& operator << (
const
css
::
uno
::
Reference
<
stario
::
XObjectInputStream
>&
operator
>>
(
const
css
::
uno
::
Reference
<
stario
::
XObjectInputStream
>&
_rxInStream
,
star
awt
::
FontDescriptor
&
_rFont
)
css
::
awt
::
FontDescriptor
&
_rFont
)
{
// schreiben des Fontdescriptors
_rFont
.
Name
=
_rxInStream
->
readUTF
();
...
...
@@ -64,7 +64,7 @@ const css::uno::Reference<stario::XObjectInputStream>& operator >> (
_rFont
.
Pitch
=
_rxInStream
->
readShort
();
_rFont
.
CharacterWidth
=
static_cast
<
float
>
(
_rxInStream
->
readDouble
());
_rFont
.
Weight
=
static_cast
<
float
>
(
_rxInStream
->
readDouble
());
_rFont
.
Slant
=
(
star
awt
::
FontSlant
)
_rxInStream
->
readShort
();
_rFont
.
Slant
=
(
css
::
awt
::
FontSlant
)
_rxInStream
->
readShort
();
_rFont
.
Underline
=
_rxInStream
->
readShort
();
_rFont
.
Strikeout
=
_rxInStream
->
readShort
();
_rFont
.
Orientation
=
static_cast
<
float
>
(
_rxInStream
->
readDouble
());
...
...
include/comphelper/basicio.hxx
Dosyayı görüntüle @
123c64ab
...
...
@@ -30,7 +30,6 @@ namespace comphelper
namespace
stario
=
::
com
::
sun
::
star
::
io
;
namespace
starawt
=
::
com
::
sun
::
star
::
awt
;
// bool
COMPHELPER_DLLPUBLIC
const
css
::
uno
::
Reference
<
stario
::
XObjectInputStream
>&
operator
>>
(
const
css
::
uno
::
Reference
<
stario
::
XObjectInputStream
>&
_rxInStream
,
bool
&
_rVal
);
...
...
@@ -60,8 +59,8 @@ COMPHELPER_DLLPUBLIC const css::uno::Reference<stario::XObjectInputStream>& oper
COMPHELPER_DLLPUBLIC
const
css
::
uno
::
Reference
<
stario
::
XObjectOutputStream
>&
operator
<<
(
const
css
::
uno
::
Reference
<
stario
::
XObjectOutputStream
>&
_rxOutStream
,
sal_Int32
_nValue
);
// FontDescriptor
COMPHELPER_DLLPUBLIC
const
css
::
uno
::
Reference
<
stario
::
XObjectInputStream
>&
operator
>>
(
const
css
::
uno
::
Reference
<
stario
::
XObjectInputStream
>&
InStream
,
star
awt
::
FontDescriptor
&
rVal
);
COMPHELPER_DLLPUBLIC
const
css
::
uno
::
Reference
<
stario
::
XObjectOutputStream
>&
operator
<<
(
const
css
::
uno
::
Reference
<
stario
::
XObjectOutputStream
>&
OutStream
,
const
star
awt
::
FontDescriptor
&
rVal
);
COMPHELPER_DLLPUBLIC
const
css
::
uno
::
Reference
<
stario
::
XObjectInputStream
>&
operator
>>
(
const
css
::
uno
::
Reference
<
stario
::
XObjectInputStream
>&
InStream
,
css
::
awt
::
FontDescriptor
&
rVal
);
COMPHELPER_DLLPUBLIC
const
css
::
uno
::
Reference
<
stario
::
XObjectOutputStream
>&
operator
<<
(
const
css
::
uno
::
Reference
<
stario
::
XObjectOutputStream
>&
OutStream
,
const
css
::
awt
::
FontDescriptor
&
rVal
);
// sequences
template
<
class
ELEMENT
>
...
...
include/comphelper/types.hxx
Dosyayı görüntüle @
123c64ab
...
...
@@ -37,7 +37,6 @@ namespace com { namespace sun { namespace star { namespace awt {
namespace
comphelper
{
namespace
starawt
=
::
com
::
sun
::
star
::
awt
;
typedef
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
InterfaceRef
;
typedef
css
::
uno
::
Sequence
<
OUString
>
StringSequence
;
...
...
@@ -52,8 +51,8 @@ namespace comphelper
/** compare two FontDescriptor's
*/
COMPHELPER_DLLPUBLIC
bool
operator
==
(
const
starawt
::
FontDescriptor
&
_rLeft
,
const
star
awt
::
FontDescriptor
&
_rRight
);
inline
bool
operator
!=
(
const
starawt
::
FontDescriptor
&
_rLeft
,
const
star
awt
::
FontDescriptor
&
_rRight
)
COMPHELPER_DLLPUBLIC
bool
operator
==
(
const
css
::
awt
::
FontDescriptor
&
_rLeft
,
const
css
::
awt
::
FontDescriptor
&
_rRight
);
inline
bool
operator
!=
(
const
css
::
awt
::
FontDescriptor
&
_rLeft
,
const
css
::
awt
::
FontDescriptor
&
_rRight
)
{
return
!
(
_rLeft
==
_rRight
);
}
...
...
@@ -129,7 +128,7 @@ namespace comphelper
the XXX_DONTKNOW enum values (which isn't the case if you instantiate it
via the default constructor)
*/
COMPHELPER_DLLPUBLIC
star
awt
::
FontDescriptor
getDefaultFont
();
COMPHELPER_DLLPUBLIC
css
::
awt
::
FontDescriptor
getDefaultFont
();
/** examine a sequence for the com.sun.star.uno::Type of it's elements.
*/
...
...
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