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
981adae1
Kaydet (Commit)
981adae1
authored
Agu 12, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ditch some inline keywords
Change-Id: Idc5c0608a9bc5b6230f603d1deb2327887960204
üst
7ae8e767
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
40 deletions
+37
-40
possiz.hxx
sw/source/core/text/possiz.hxx
+37
-40
No files found.
sw/source/core/text/possiz.hxx
Dosyayı görüntüle @
981adae1
...
@@ -28,48 +28,45 @@ class SwPosSize
...
@@ -28,48 +28,45 @@ class SwPosSize
sal_uInt16
nWidth
;
sal_uInt16
nWidth
;
sal_uInt16
nHeight
;
sal_uInt16
nHeight
;
public
:
public
:
inline
SwPosSize
(
const
sal_uInt16
nW
=
0
,
const
sal_uInt16
nH
=
0
)
SwPosSize
(
const
sal_uInt16
nW
=
0
,
const
sal_uInt16
nH
=
0
)
:
nWidth
(
nW
),
nHeight
(
nH
)
{
}
:
nWidth
(
nW
)
explicit
inline
SwPosSize
(
const
Size
&
rSize
)
,
nHeight
(
nH
)
:
nWidth
(
sal_uInt16
(
rSize
.
Width
())),
nHeight
(
sal_uInt16
(
rSize
.
Height
())){
}
{
inline
sal_uInt16
Height
()
const
{
return
nHeight
;
}
}
inline
void
Height
(
const
sal_uInt16
nNew
)
{
nHeight
=
nNew
;
}
explicit
SwPosSize
(
const
Size
&
rSize
)
inline
sal_uInt16
Width
()
const
{
return
nWidth
;
}
:
nWidth
(
sal_uInt16
(
rSize
.
Width
()))
inline
void
Width
(
const
sal_uInt16
nNew
)
{
nWidth
=
nNew
;
}
,
nHeight
(
sal_uInt16
(
rSize
.
Height
()))
{
inline
Size
SvLSize
()
const
{
return
Size
(
nWidth
,
nHeight
);
}
}
inline
void
SvLSize
(
const
Size
&
rSize
);
sal_uInt16
Height
()
const
{
return
nHeight
;
}
inline
void
SvXSize
(
const
Size
&
rSize
);
void
Height
(
const
sal_uInt16
nNew
)
{
nHeight
=
nNew
;
}
inline
SwPosSize
&
operator
=
(
const
SwPosSize
&
rSize
);
sal_uInt16
Width
()
const
{
return
nWidth
;
}
inline
SwPosSize
&
operator
=
(
const
Size
&
rSize
);
void
Width
(
const
sal_uInt16
nNew
)
{
nWidth
=
nNew
;
}
Size
SvLSize
()
const
{
return
Size
(
nWidth
,
nHeight
);
}
void
SvLSize
(
const
Size
&
rSize
)
{
nWidth
=
sal_uInt16
(
rSize
.
Width
());
nHeight
=
sal_uInt16
(
rSize
.
Height
());
}
void
SvXSize
(
const
Size
&
rSize
)
{
nHeight
=
sal_uInt16
(
rSize
.
Width
());
nWidth
=
sal_uInt16
(
rSize
.
Height
());
}
SwPosSize
&
operator
=
(
const
SwPosSize
&
rSize
)
{
nWidth
=
rSize
.
Width
();
nHeight
=
rSize
.
Height
();
return
*
this
;
}
SwPosSize
&
operator
=
(
const
Size
&
rSize
)
{
nWidth
=
sal_uInt16
(
rSize
.
Width
());
nHeight
=
sal_uInt16
(
rSize
.
Height
());
return
*
this
;
}
};
};
inline
SwPosSize
&
SwPosSize
::
operator
=
(
const
SwPosSize
&
rSize
)
{
nWidth
=
rSize
.
Width
();
nHeight
=
rSize
.
Height
();
return
*
this
;
}
inline
void
SwPosSize
::
SvLSize
(
const
Size
&
rSize
)
{
nWidth
=
sal_uInt16
(
rSize
.
Width
());
nHeight
=
sal_uInt16
(
rSize
.
Height
());
}
inline
void
SwPosSize
::
SvXSize
(
const
Size
&
rSize
)
{
nHeight
=
sal_uInt16
(
rSize
.
Width
());
nWidth
=
sal_uInt16
(
rSize
.
Height
());
}
inline
SwPosSize
&
SwPosSize
::
operator
=
(
const
Size
&
rSize
)
{
nWidth
=
sal_uInt16
(
rSize
.
Width
());
nHeight
=
sal_uInt16
(
rSize
.
Height
());
return
*
this
;
}
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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