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
f8fa7620
Kaydet (Commit)
f8fa7620
authored
Eyl 17, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert Link<> to typed
Change-Id: I706a3b3489dc8e945ce9e7e7ddc41104e9a15bab
üst
7034c959
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
9 deletions
+8
-9
crsrsh.hxx
sw/inc/crsrsh.hxx
+3
-3
callnk.cxx
sw/source/core/crsr/callnk.cxx
+1
-1
feshview.cxx
sw/source/core/frmedt/feshview.cxx
+1
-1
wrtsh.hxx
sw/source/uibase/inc/wrtsh.hxx
+1
-1
select.cxx
sw/source/uibase/wrtsh/select.cxx
+2
-3
No files found.
sw/inc/crsrsh.hxx
Dosyayı görüntüle @
f8fa7620
...
...
@@ -166,7 +166,7 @@ private:
Point
m_aOldRBPos
;
///< Right/Bottom of last VisArea
// (used in Invalidate by Cursor)
Link
<>
m_aFlyMacroLnk
;
/**< Link will be called, if the Crsr is set
Link
<
const
SwFlyFrameFormat
*
,
void
>
m_aFlyMacroLnk
;
/**< Link will be called, if the Crsr is set
into a fly. A macro can then be called */
Link
<>
m_aChgLnk
;
/**< link will be called by every attribute/
format changes at cursor position.*/
...
...
@@ -481,8 +481,8 @@ public:
bool
IsOverReadOnlyPos
(
const
Point
&
rPt
)
const
;
// Methods for aFlyMacroLnk.
void
SetFlyMacroLnk
(
const
Link
<>&
rLnk
)
{
m_aFlyMacroLnk
=
rLnk
;
}
const
Link
<>&
GetFlyMacroLnk
()
const
{
return
m_aFlyMacroLnk
;
}
void
SetFlyMacroLnk
(
const
Link
<
const
SwFlyFrameFormat
*
,
void
>&
rLnk
)
{
m_aFlyMacroLnk
=
rLnk
;
}
const
Link
<
const
SwFlyFrameFormat
*
,
void
>&
GetFlyMacroLnk
()
const
{
return
m_aFlyMacroLnk
;
}
// Methods returning/altering link for changes of attributes/formates.
void
SetChgLnk
(
const
Link
<>
&
rLnk
)
{
m_aChgLnk
=
rLnk
;
}
...
...
sw/source/core/crsr/callnk.cxx
Dosyayı görüntüle @
f8fa7620
...
...
@@ -225,7 +225,7 @@ SwCallLink::~SwCallLink()
if
(
rStNd
.
EndOfSectionNode
()
->
StartOfSectionIndex
()
>
nNode
||
nNode
>
rStNd
.
EndOfSectionIndex
()
)
rShell
.
GetFlyMacroLnk
().
Call
(
const_cast
<
SwFlyFrameFormat
*>
(
pFlyFrm
->
GetFormat
()
)
);
rShell
.
GetFlyMacroLnk
().
Call
(
pFlyFrm
->
GetFormat
(
)
);
}
}
...
...
sw/source/core/frmedt/feshview.cxx
Dosyayı görüntüle @
f8fa7620
...
...
@@ -111,7 +111,7 @@ static void lcl_GrabCursor( SwFEShell* pSh, SwFlyFrm* pOldSelFly)
(
!
pOldSelFly
||
pOldSelFly
->
GetFormat
()
!=
pFlyFormat
)
)
{
// now call set macro if applicable
pSh
->
GetFlyMacroLnk
().
Call
(
const_cast
<
void
*>
(
static_cast
<
void
const
*>
(
pFlyFormat
)
)
);
pSh
->
GetFlyMacroLnk
().
Call
(
static_cast
<
const
SwFlyFrameFormat
*>
(
pFlyFormat
)
);
extern
bool
g_bNoInterrupt
;
// in swmodule.cxx
// if a dialog was started inside a macro, then
// MouseButtonUp arrives at macro and not to us. Therefore
...
...
sw/source/uibase/inc/wrtsh.hxx
Dosyayı görüntüle @
f8fa7620
...
...
@@ -244,7 +244,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)();
bool
GotoPage
(
sal_uInt16
nPage
,
bool
bRecord
);
// setting the cursor; remember the old position for turning back
DECL_LINK
(
ExecFlyMac
,
void
*
);
DECL_LINK
_TYPED
(
ExecFlyMac
,
const
SwFlyFrameFormat
*
,
void
);
bool
PageCrsr
(
SwTwips
lOffset
,
bool
bSelect
);
...
...
sw/source/uibase/wrtsh/select.cxx
Dosyayı görüntüle @
f8fa7620
...
...
@@ -705,9 +705,9 @@ void SwWrtShell::LeaveSelFrmMode()
// Description: execute framebound macro
IMPL_LINK
(
SwWrtShell
,
ExecFlyMac
,
void
*
,
pFlyFormat
)
IMPL_LINK
_TYPED
(
SwWrtShell
,
ExecFlyMac
,
const
SwFlyFrameFormat
*
,
pFlyFormat
,
void
)
{
const
SwFrameFormat
*
pFormat
=
pFlyFormat
?
static_cast
<
SwFrameFormat
*>
(
pFlyFormat
)
:
GetFlyFrameFormat
();
const
SwFrameFormat
*
pFormat
=
pFlyFormat
?
static_cast
<
const
SwFrameFormat
*>
(
pFlyFormat
)
:
GetFlyFrameFormat
();
OSL_ENSURE
(
pFormat
,
"no frame format"
);
const
SvxMacroItem
&
rFormatMac
=
pFormat
->
GetMacro
();
...
...
@@ -719,7 +719,6 @@ IMPL_LINK( SwWrtShell, ExecFlyMac, void *, pFlyFormat )
CallChgLnk
();
ExecMacro
(
rMac
);
}
return
0
;
}
long
SwWrtShell
::
UpdateLayoutFrm
(
const
Point
*
pPt
,
bool
)
...
...
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