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
64340f4c
Kaydet (Commit)
64340f4c
authored
Eyl 10, 2011
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Now I can pass range list to PostPaint() when appropriate.
üst
a6d2e1ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
rangelst.cxx
sc/source/core/tool/rangelst.cxx
+6
-1
undoblk.cxx
sc/source/ui/undo/undoblk.cxx
+1
-1
viewfun3.cxx
sc/source/ui/view/viewfun3.cxx
+1
-4
No files found.
sc/source/core/tool/rangelst.cxx
Dosyayı görüntüle @
64340f4c
...
@@ -492,15 +492,20 @@ ScRange ScRangeList::Combine() const
...
@@ -492,15 +492,20 @@ ScRange ScRangeList::Combine() const
{
{
const
ScRange
&
r
=
**
itr
;
const
ScRange
&
r
=
**
itr
;
SCROW
nRow1
=
r
.
aStart
.
Row
(),
nRow2
=
r
.
aEnd
.
Row
();
SCROW
nRow1
=
r
.
aStart
.
Row
(),
nRow2
=
r
.
aEnd
.
Row
();
SCROW
nCol1
=
r
.
aStart
.
Col
(),
nCol2
=
r
.
aEnd
.
Col
();
SCCOL
nCol1
=
r
.
aStart
.
Col
(),
nCol2
=
r
.
aEnd
.
Col
();
SCTAB
nTab1
=
r
.
aStart
.
Tab
(),
nTab2
=
r
.
aEnd
.
Tab
();
if
(
aRet
.
aStart
.
Row
()
>
nRow1
)
if
(
aRet
.
aStart
.
Row
()
>
nRow1
)
aRet
.
aStart
.
SetRow
(
nRow1
);
aRet
.
aStart
.
SetRow
(
nRow1
);
if
(
aRet
.
aStart
.
Col
()
>
nCol1
)
if
(
aRet
.
aStart
.
Col
()
>
nCol1
)
aRet
.
aStart
.
SetCol
(
nCol1
);
aRet
.
aStart
.
SetCol
(
nCol1
);
if
(
aRet
.
aStart
.
Tab
()
>
nTab1
)
aRet
.
aStart
.
SetTab
(
nTab1
);
if
(
aRet
.
aEnd
.
Row
()
<
nRow2
)
if
(
aRet
.
aEnd
.
Row
()
<
nRow2
)
aRet
.
aEnd
.
SetRow
(
nRow2
);
aRet
.
aEnd
.
SetRow
(
nRow2
);
if
(
aRet
.
aEnd
.
Col
()
<
nCol2
)
if
(
aRet
.
aEnd
.
Col
()
<
nCol2
)
aRet
.
aEnd
.
SetCol
(
nCol2
);
aRet
.
aEnd
.
SetCol
(
nCol2
);
if
(
aRet
.
aEnd
.
Tab
()
<
nTab2
)
aRet
.
aEnd
.
SetTab
(
nTab2
);
}
}
return
aRet
;
return
aRet
;
}
}
...
...
sc/source/ui/undo/undoblk.cxx
Dosyayı görüntüle @
64340f4c
...
@@ -1093,7 +1093,7 @@ void ScUndoPaste::DoChange(bool bUndo)
...
@@ -1093,7 +1093,7 @@ void ScUndoPaste::DoChange(bool bUndo)
if
(
!
bUndo
)
// draw redo after updating row heights
if
(
!
bUndo
)
// draw redo after updating row heights
RedoSdrUndoAction
(
mpDrawUndo
);
RedoSdrUndoAction
(
mpDrawUndo
);
pDocShell
->
PostPaint
(
aDrawRanges
.
Combine
()
,
nPaint
,
nExtFlags
);
pDocShell
->
PostPaint
(
aDrawRanges
,
nPaint
,
nExtFlags
);
pDocShell
->
PostDataChanged
();
pDocShell
->
PostDataChanged
();
if
(
pViewShell
)
if
(
pViewShell
)
...
...
sc/source/ui/view/viewfun3.cxx
Dosyayı görüntüle @
64340f4c
...
@@ -1819,10 +1819,7 @@ bool ScViewFunc::PasteFromClipToMultiRanges(
...
@@ -1819,10 +1819,7 @@ bool ScViewFunc::PasteFromClipToMultiRanges(
// Refresh the range that includes all pasted ranges. We only need to
// Refresh the range that includes all pasted ranges. We only need to
// refresh the current sheet.
// refresh the current sheet.
ScRange
aWholeRange
=
aRanges
.
Combine
();
pDocSh
->
PostPaint
(
aRanges
,
PAINT_GRID
);
aWholeRange
.
aStart
.
SetTab
(
rViewData
.
GetTabNo
());
aWholeRange
.
aEnd
.
SetTab
(
rViewData
.
GetTabNo
());
pDocSh
->
PostPaint
(
aWholeRange
,
PAINT_GRID
);
if
(
pDoc
->
IsUndoEnabled
())
if
(
pDoc
->
IsUndoEnabled
())
{
{
...
...
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