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
4e1d190f
Kaydet (Commit)
4e1d190f
authored
Haz 04, 2015
tarafından
Tomaž Vajngerl
Kaydeden (comit)
Andras Timar
Agu 06, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix cherry-pick from master
Change-Id: I8c75292755877e678cadbda8cf5b2307150fa90c
üst
fa7add20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
21 deletions
+21
-21
ruler.cxx
svtools/source/control/ruler.cxx
+20
-20
status.cxx
vcl/source/window/status.cxx
+1
-1
No files found.
svtools/source/control/ruler.cxx
Dosyayı görüntüle @
4e1d190f
...
...
@@ -1469,7 +1469,7 @@ void Ruler::ImplUpdate( bool bMustCalc )
{
// clear lines in this place so they aren't considered at recalculation
if
(
!
mbFormat
)
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
// set flags
if
(
bMustCalc
)
...
...
@@ -1483,7 +1483,7 @@ void Ruler::ImplUpdate( bool bMustCalc )
// otherwise trigger update
if
(
IsReallyVisible
()
&&
IsUpdateMode
())
{
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
}
...
...
@@ -1879,7 +1879,7 @@ bool Ruler::ImplStartDrag( RulerSelection* pHitTest, sal_uInt16 nModifier )
mbDrag
=
true
;
mnStartDragPos
=
mnDragPos
;
StartTracking
();
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
return
true
;
}
else
...
...
@@ -1946,7 +1946,7 @@ void Ruler::ImplDrag( const Point& rPos )
Drag
();
// and redraw
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
// reset the data as before cancel
*
mpDragData
=
aTempData
;
...
...
@@ -1967,7 +1967,7 @@ void Ruler::ImplDrag( const Point& rPos )
// redraw
if
(
mbFormat
)
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
}
...
...
@@ -1996,7 +1996,7 @@ void Ruler::ImplEndDrag()
mnStartDragPos
=
0
;
// redraw
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
void
Ruler
::
MouseButtonDown
(
const
MouseEvent
&
rMEvt
)
...
...
@@ -2010,7 +2010,7 @@ void Ruler::MouseButtonDown( const MouseEvent& rMEvt )
// update ruler
if
(
mbFormat
)
{
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
if
(
maExtraRect
.
IsInside
(
aMousePos
)
)
...
...
@@ -2119,7 +2119,7 @@ void Ruler::MouseMove( const MouseEvent& rMEvt )
if
(
mbFormat
)
{
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
}
...
...
@@ -2176,7 +2176,7 @@ void Ruler::Resize()
if
(
bVisible
&&
!
mpData
->
pLines
.
empty
()
)
{
mnUpdateFlags
|=
RULER_UPDATE_LINES
;
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
// recalculate some values if the height/width changes
...
...
@@ -2199,7 +2199,7 @@ void Ruler::Resize()
if
(
bVisible
)
{
if
(
nNewHeight
)
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
else
if
(
mpData
->
bAutoPageWidth
)
{
// only at AutoPageWidth muss we redraw
...
...
@@ -2226,7 +2226,7 @@ void Ruler::Resize()
aRect
.
Right
()
=
RULER_OFF
+
mnVirHeight
;
}
Invalidate
(
aRect
,
I
nvalidateFlags
::
NoErase
);
Invalidate
(
aRect
,
I
NVALIDATE_NOERASE
);
}
}
...
...
@@ -2318,13 +2318,13 @@ void Ruler::Activate()
// update positionlies - draw is delayed
mnUpdateFlags
|=
RULER_UPDATE_LINES
;
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
void
Ruler
::
Deactivate
()
{
// clear positionlines
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
mbActive
=
false
;
}
...
...
@@ -2344,7 +2344,7 @@ bool Ruler::StartDocDrag( const MouseEvent& rMEvt, RulerType eDragType )
// update ruler
if
(
mbFormat
)
{
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
if
(
nMouseClicks
==
1
)
...
...
@@ -2409,7 +2409,7 @@ RulerType Ruler::GetType( const Point& rPos, sal_uInt16* pAryPos )
// update ruler
if
(
IsReallyVisible
()
&&
mbFormat
)
{
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
(
void
)
ImplHitTest
(
rPos
,
&
aHitTest
);
...
...
@@ -2459,7 +2459,7 @@ void Ruler::SetBorderPos( long nOff )
mnBorderOff
=
nOff
;
if
(
IsReallyVisible
()
&&
IsUpdateMode
()
)
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
}
}
...
...
@@ -2534,7 +2534,7 @@ void Ruler::SetExtraType( RulerExtra eNewExtraType, sal_uInt16 nStyle )
meExtraType
=
eNewExtraType
;
mnExtraStyle
=
nStyle
;
if
(
IsReallyVisible
()
&&
IsUpdateMode
())
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
}
...
...
@@ -2620,7 +2620,7 @@ void Ruler::SetLines( sal_uInt32 aLineArraySize, const RulerLine* pLineArray )
// Delete old lines
if
(
bMustUpdate
)
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
// New data set
if
(
!
aLineArraySize
||
!
pLineArray
)
...
...
@@ -2641,7 +2641,7 @@ void Ruler::SetLines( sal_uInt32 aLineArraySize, const RulerLine* pLineArray )
mpData
->
pLines
.
begin
()
);
if
(
bMustUpdate
)
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
}
...
...
@@ -2833,7 +2833,7 @@ RulerUnitData Ruler::GetCurrentRulerUnit() const
void
Ruler
::
DrawTicks
()
{
mbFormat
=
true
;
Invalidate
(
I
nvalidateFlags
::
NoErase
);
Invalidate
(
I
NVALIDATE_NOERASE
);
}
uno
::
Reference
<
XAccessible
>
Ruler
::
CreateAccessible
()
...
...
vcl/source/window/status.cxx
Dosyayı görüntüle @
4e1d190f
...
...
@@ -1231,7 +1231,7 @@ void StatusBar::SetItemData( sal_uInt16 nItemId, void* pNewData )
{
Update
();
Rectangle
aRect
=
ImplGetItemRectPos
(
nPos
);
Invalidate
(
aRect
,
I
nvalidateFlags
::
NoErase
);
Invalidate
(
aRect
,
I
NVALIDATE_NOERASE
);
Flush
();
}
}
...
...
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