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
2f375ff5
Kaydet (Commit)
2f375ff5
authored
Eyl 07, 2011
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed build error about double conversion
üst
c7a557cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
paintfrm.cxx
sw/source/core/layout/paintfrm.cxx
+4
-4
No files found.
sw/source/core/layout/paintfrm.cxx
Dosyayı görüntüle @
2f375ff5
...
@@ -6251,14 +6251,14 @@ drawinglayer::primitive2d::Primitive2DSequence lcl_CreatePageAreaDelimiterPrimit
...
@@ -6251,14 +6251,14 @@ drawinglayer::primitive2d::Primitive2DSequence lcl_CreatePageAreaDelimiterPrimit
double nLineLength = 200.0; // in Twips
double nLineLength = 200.0; // in Twips
Point aPoints[] = { rRect.TopLeft(), rRect.TopRight(), rRect.BottomRight(), rRect.BottomLeft() };
Point aPoints[] = { rRect.TopLeft(), rRect.TopRight(), rRect.BottomRight(), rRect.BottomLeft() };
int aXOffDirs[] = { -1, 1, 1, -1
};
double aXOffDirs[] = { -1.0, 1.0, 1.0, -1.0
};
int aYOffDirs[] = { -1, -1, 1, 1
};
double aYOffDirs[] = { -1.0, -1.0, 1.0, 1.0
};
// Actually loop over the corners to create the two lines
// Actually loop over the corners to create the two lines
for ( int i = 0; i < 4; i++ )
for ( int i = 0; i < 4; i++ )
{
{
basegfx::B2DVector aHorizVector(
double( aXOffDirs[i] )
, 0.0 );
basegfx::B2DVector aHorizVector(
aXOffDirs[i]
, 0.0 );
basegfx::B2DVector aVertVector( 0.0,
double( aYOffDirs[i] )
);
basegfx::B2DVector aVertVector( 0.0,
aYOffDirs[i]
);
basegfx::B2DPoint aBPoint( aPoints[i].X(), aPoints[i].Y() );
basegfx::B2DPoint aBPoint( aPoints[i].X(), aPoints[i].Y() );
...
...
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