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
8e838361
Kaydet (Commit)
8e838361
authored
Agu 14, 2014
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Go even further in the scope reduction, we are 100% sure mpClone is NULL.
Change-Id: Id5facbc817ecc0b89689dcba30672a6538e70945
üst
3e46f2c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
svddrgmt.cxx
svx/source/svdraw/svddrgmt.cxx
+12
-15
No files found.
svx/source/svdraw/svddrgmt.cxx
Dosyayı görüntüle @
8e838361
...
...
@@ -1349,23 +1349,20 @@ void SdrDragObjOwn::MoveSdrDrag(const Point& rNoSnapPnt)
}
// create a new clone and modify to current drag state
if
(
!
mpClone
)
{
mpClone
=
pObj
->
getFullDragClone
();
mpClone
->
applySpecialDrag
(
DragStat
());
mpClone
=
pObj
->
getFullDragClone
();
mpClone
->
applySpecialDrag
(
DragStat
());
// #120999# AutoGrowWidth may change for SdrTextObj due to the automatism used
// with bDisableAutoWidthOnDragging, so not only geometry changes but
// also this (pretty indirect) property change is possible. If it gets
// changed, it needs to be copied to the original since nothing will
// happen when it only changes in the drag clone
const
bool
bOldAutoGrowWidth
(((
SdrOnOffItem
&
)
pObj
->
GetMergedItem
(
SDRATTR_TEXT_AUTOGROWWIDTH
)).
GetValue
());
const
bool
bNewAutoGrowWidth
(((
SdrOnOffItem
&
)
mpClone
->
GetMergedItem
(
SDRATTR_TEXT_AUTOGROWWIDTH
)).
GetValue
());
// #120999# AutoGrowWidth may change for SdrTextObj due to the automatism used
// with bDisableAutoWidthOnDragging, so not only geometry changes but
// also this (pretty indirect) property change is possible. If it gets
// changed, it needs to be copied to the original since nothing will
// happen when it only changes in the drag clone
const
bool
bOldAutoGrowWidth
(((
SdrOnOffItem
&
)
pObj
->
GetMergedItem
(
SDRATTR_TEXT_AUTOGROWWIDTH
)).
GetValue
());
const
bool
bNewAutoGrowWidth
(((
SdrOnOffItem
&
)
mpClone
->
GetMergedItem
(
SDRATTR_TEXT_AUTOGROWWIDTH
)).
GetValue
());
if
(
bOldAutoGrowWidth
!=
bNewAutoGrowWidth
)
{
GetDragObj
()
->
SetMergedItem
(
makeSdrTextAutoGrowWidthItem
(
bNewAutoGrowWidth
));
}
if
(
bOldAutoGrowWidth
!=
bNewAutoGrowWidth
)
{
GetDragObj
()
->
SetMergedItem
(
makeSdrTextAutoGrowWidthItem
(
bNewAutoGrowWidth
));
}
Show
();
...
...
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