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
4847ef98
Kaydet (Commit)
4847ef98
authored
Eki 30, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
drop unused GetViewCenter
üst
4403ef6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
svdxcgv.hxx
svx/inc/svx/svdxcgv.hxx
+0
-3
svdxcgv.cxx
svx/source/svdraw/svdxcgv.cxx
+0
-20
No files found.
svx/inc/svx/svdxcgv.hxx
Dosyayı görüntüle @
4847ef98
...
...
@@ -111,9 +111,6 @@ public:
*/
static
Graphic
GetObjGraphic
(
const
SdrModel
*
pModel
,
const
SdrObject
*
pObj
);
// Bestimmung des View-Mittelpunktes, z.B. zum Pasten
Point
GetViewCenter
(
const
OutputDevice
*
pOut
=
NULL
)
const
;
// Bei allen Paste-Methoden werden die neuen Draw-Objekte markiert.
// Wird der Parameter bAddMark auf sal_True gesetzt, so werden die neuen
// DrawObjekte zu einer bereits bestehenden Selektion "hinzumarkiert".
...
...
svx/source/svdraw/svdxcgv.cxx
Dosyayı görüntüle @
4847ef98
...
...
@@ -72,26 +72,6 @@ SdrExchangeView::SdrExchangeView(SdrModel* pModel1, OutputDevice* pOut):
{
}
////////////////////////////////////////////////////////////////////////////////////////////////////
Point
SdrExchangeView
::
GetViewCenter
(
const
OutputDevice
*
pOut
)
const
{
Point
aCenter
;
if
(
pOut
==
NULL
)
{
pOut
=
GetFirstOutputDevice
();
}
if
(
pOut
!=
NULL
)
{
Point
aOfs
=
pOut
->
GetMapMode
().
GetOrigin
();
Size
aOutSiz
=
pOut
->
GetOutputSize
();
aOutSiz
.
Width
()
/=
2
;
aOutSiz
.
Height
()
/=
2
;
aCenter
.
X
()
=
aOutSiz
.
Width
()
-
aOfs
.
X
();
aCenter
.
Y
()
=
aOutSiz
.
Height
()
-
aOfs
.
Y
();
}
return
aCenter
;
}
sal_Bool
SdrExchangeView
::
ImpLimitToWorkArea
(
Point
&
rPt
)
const
{
sal_Bool
bRet
(
sal_False
);
...
...
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