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
4cb59a86
Kaydet (Commit)
4cb59a86
authored
Tem 13, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix IndentingPagesHdl type (and GetIndentingPagesHdl is unused)
Change-Id: Ide5398040678a81e032e91e582b39d516e8c08a8
üst
51e84809
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
outliner.cxx
editeng/source/outliner/outliner.cxx
+2
-2
outliner.hxx
include/editeng/outliner.hxx
+3
-4
OutlineView.hxx
sd/source/ui/inc/OutlineView.hxx
+1
-1
outlview.cxx
sd/source/ui/view/outlview.cxx
+3
-3
No files found.
editeng/source/outliner/outliner.cxx
Dosyayı görüntüle @
4cb59a86
...
...
@@ -1251,10 +1251,10 @@ void Outliner::ImpTextPasted( sal_Int32 nStartPara, sal_Int32 nCount )
DBG_ASSERT
(
pParaList
->
GetParagraphCount
()
==
pEditEngine
->
GetParagraphCount
(),
"ImpTextPasted failed"
);
}
long
Outliner
::
IndentingPagesHdl
(
OutlinerView
*
pView
)
bool
Outliner
::
IndentingPagesHdl
(
OutlinerView
*
pView
)
{
if
(
!
aIndentingPagesHdl
.
IsSet
()
)
return
1
;
return
true
;
return
aIndentingPagesHdl
.
Call
(
pView
);
}
...
...
include/editeng/outliner.hxx
Dosyayı görüntüle @
4cb59a86
...
...
@@ -596,7 +596,7 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster
Link
<
Outliner
*
,
void
>
aDepthChangedHdl
;
Link
<
Outliner
*
,
void
>
aBeginMovingHdl
;
Link
<
Outliner
*
,
void
>
aEndMovingHdl
;
Link
<
OutlinerView
*
,
long
>
aIndentingPagesHdl
;
Link
<
OutlinerView
*
,
bool
>
aIndentingPagesHdl
;
Link
<
OutlinerView
*
,
bool
>
aRemovingPagesHdl
;
Link
<
EditFieldInfo
*
,
void
>
aFieldClickedHdl
;
Link
<
EditFieldInfo
*
,
void
>
aCalcFieldValueHdl
;
...
...
@@ -775,9 +775,8 @@ public:
bool
RemovingPagesHdl
(
OutlinerView
*
);
void
SetRemovingPagesHdl
(
const
Link
<
OutlinerView
*
,
bool
>&
rLink
){
aRemovingPagesHdl
=
rLink
;}
Link
<
OutlinerView
*
,
bool
>
GetRemovingPagesHdl
()
const
{
return
aRemovingPagesHdl
;
}
long
IndentingPagesHdl
(
OutlinerView
*
);
void
SetIndentingPagesHdl
(
const
Link
<
OutlinerView
*
,
long
>&
rLink
){
aIndentingPagesHdl
=
rLink
;}
Link
<
OutlinerView
*
,
long
>
GetIndentingPagesHdl
()
const
{
return
aIndentingPagesHdl
;
}
bool
IndentingPagesHdl
(
OutlinerView
*
);
void
SetIndentingPagesHdl
(
const
Link
<
OutlinerView
*
,
bool
>&
rLink
){
aIndentingPagesHdl
=
rLink
;}
// valid only in the two upper handlers
sal_Int32
GetSelPageCount
()
const
{
return
nDepthChangedHdlPrevDepth
;
}
...
...
sd/source/ui/inc/OutlineView.hxx
Dosyayı görüntüle @
4cb59a86
...
...
@@ -102,7 +102,7 @@ public:
DECL_LINK_TYPED
(
BeginMovingHdl
,
Outliner
*
,
void
);
DECL_LINK_TYPED
(
EndMovingHdl
,
Outliner
*
,
void
);
DECL_LINK_TYPED
(
RemovingPagesHdl
,
OutlinerView
*
,
bool
);
DECL_LINK_TYPED
(
IndentingPagesHdl
,
OutlinerView
*
,
long
);
DECL_LINK_TYPED
(
IndentingPagesHdl
,
OutlinerView
*
,
bool
);
DECL_LINK
(
BeginDropHdl
,
void
*
);
DECL_LINK
(
EndDropHdl
,
void
*
);
DECL_LINK_TYPED
(
PaintingFirstLineHdl
,
PaintFirstLineInfo
*
,
void
);
...
...
sd/source/ui/view/outlview.cxx
Dosyayı görüntüle @
4cb59a86
...
...
@@ -1194,9 +1194,9 @@ IMPL_LINK_NOARG_TYPED(OutlineView, RemovingPagesHdl, OutlinerView*, bool)
/**
* Handler for indenting level 0 paragraphs (pages): Warning
*/
IMPL_LINK_TYPED
(
OutlineView
,
IndentingPagesHdl
,
OutlinerView
*
,
pOutlinerView
,
long
)
IMPL_LINK_TYPED
(
OutlineView
,
IndentingPagesHdl
,
OutlinerView
*
,
pOutlinerView
,
bool
)
{
return
RemovingPagesHdl
(
pOutlinerView
)
?
1
:
0
;
return
RemovingPagesHdl
(
pOutlinerView
);
}
/** returns the first slide that is selected in the outliner or where
...
...
@@ -1371,7 +1371,7 @@ void OutlineView::ResetLinks() const
mrOutliner
.
SetEndMovingHdl
(
Link
<::
Outliner
*
,
void
>
());
mrOutliner
.
SetStatusEventHdl
(
aEmptyLink
);
mrOutliner
.
SetRemovingPagesHdl
(
Link
<
OutlinerView
*
,
bool
>
());
mrOutliner
.
SetIndentingPagesHdl
(
Link
<
OutlinerView
*
,
long
>
());
mrOutliner
.
SetIndentingPagesHdl
(
Link
<
OutlinerView
*
,
bool
>
());
mrOutliner
.
SetDrawPortionHdl
(
Link
<
DrawPortionInfo
*
,
void
>
());
mrOutliner
.
SetBeginPasteOrDropHdl
(
Link
<
PasteOrDropInfos
*
,
void
>
());
mrOutliner
.
SetEndPasteOrDropHdl
(
Link
<
PasteOrDropInfos
*
,
void
>
());
...
...
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