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
c5e98e75
Kaydet (Commit)
c5e98e75
authored
Mar 06, 2012
tarafından
Andras Timar
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove pointless calculations
üst
78e8d5f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
16 deletions
+3
-16
backingwindow.cxx
framework/source/services/backingwindow.cxx
+3
-16
No files found.
framework/source/services/backingwindow.cxx
Dosyayı görüntüle @
c5e98e75
...
...
@@ -778,17 +778,12 @@ void BackingWindow::Resize()
// #i93631# squeeze controls so they fit into the box
// this can be necessary due to application font height which has small deviations
// from the size set
const
long
nWDelta
=
0
;
const
long
nW2Delta
=
0
;
const
long
nPDelta
=
0
;
const
long
nBDelta
=
maButtonImageSize
.
Height
()
+
10
;
const
long
nB2Delta
=
3
*
maButtonImageSize
.
Height
()
/
2
;
const
long
nLastDelta
=
maButtonImageSize
.
Height
();
long
nDiff
=
0
;
while
(
(
maControlRect
.
Top
()
+
(
nWDelta
-
nDiff
)
+
(
nW2Delta
-
nDiff
)
+
(
nPDelta
-
nDiff
)
+
while
(
(
maControlRect
.
Top
()
-
3
*
nDiff
+
3
*
(
nBDelta
-
nDiff
)
+
(
nB2Delta
-
nDiff
)
+
nLastDelta
...
...
@@ -797,15 +792,7 @@ void BackingWindow::Resize()
nDiff
++
;
}
long
nYPos
=
maControlRect
.
Top
();
nYPos
+=
nW2Delta
-
nDiff
;
nYPos
+=
nWDelta
-
nDiff
;
nYPos
+=
nPDelta
-
nDiff
;
nYPos
+=
nWDelta
/
2
-
nDiff
;
nYPos
=
maControlRect
.
Top
()
+
mnBtnTop
;
long
nYPos
=
maControlRect
.
Top
()
+
mnBtnTop
;
maWriterButton
.
SetPosSizePixel
(
Point
(
maControlRect
.
Left
()
+
mnBtnPos
,
nYPos
),
Size
(
mnTextColumnWidth
[
0
],
maButtonImageSize
.
Height
()
)
);
maDrawButton
.
SetPosSizePixel
(
Point
(
maControlRect
.
Left
()
+
mnBtnPos
+
mnColumnWidth
[
0
],
nYPos
),
Size
(
mnTextColumnWidth
[
1
],
maButtonImageSize
.
Height
()
)
);
...
...
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