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
60bfcc0a
Kaydet (Commit)
60bfcc0a
authored
Ara 20, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: SfxRequest::IsRecording unused for a long time
üst
80c7dd48
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
21 deletions
+2
-21
request.hxx
sfx2/inc/sfx2/request.hxx
+0
-1
request.cxx
sfx2/source/control/request.cxx
+0
-18
basesh.cxx
sw/source/ui/shells/basesh.cxx
+2
-2
No files found.
sfx2/inc/sfx2/request.hxx
Dosyayı görüntüle @
60bfcc0a
...
@@ -101,7 +101,6 @@ public:
...
@@ -101,7 +101,6 @@ public:
static
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XDispatchRecorder
>
GetMacroRecorder
(
SfxViewFrame
*
pFrame
=
NULL
);
static
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XDispatchRecorder
>
GetMacroRecorder
(
SfxViewFrame
*
pFrame
=
NULL
);
static
sal_Bool
HasMacroRecorder
(
SfxViewFrame
*
pFrame
=
NULL
);
static
sal_Bool
HasMacroRecorder
(
SfxViewFrame
*
pFrame
=
NULL
);
sal_uInt16
GetCallMode
()
const
;
sal_uInt16
GetCallMode
()
const
;
bool
IsRecording
()
const
;
void
AllowRecording
(
sal_Bool
);
void
AllowRecording
(
sal_Bool
);
sal_Bool
AllowsRecording
()
const
;
sal_Bool
AllowsRecording
()
const
;
sal_Bool
IsAPI
()
const
;
sal_Bool
IsAPI
()
const
;
...
...
sfx2/source/control/request.cxx
Dosyayı görüntüle @
60bfcc0a
...
@@ -869,24 +869,6 @@ sal_Bool SfxRequest::IsAPI() const
...
@@ -869,24 +869,6 @@ sal_Bool SfxRequest::IsAPI() const
return
SFX_CALLMODE_API
==
(
SFX_CALLMODE_API
&
pImp
->
nCallMode
);
return
SFX_CALLMODE_API
==
(
SFX_CALLMODE_API
&
pImp
->
nCallMode
);
}
}
//--------------------------------------------------------------------
bool
SfxRequest
::
IsRecording
()
const
/* [Description]
Returns sal_True if this SfxRequest is to be recorded ie
1. Currently a macro is beeing recorded
2. This request is even recorded
3. the request did not originate from a pure API (for example BASIC),
otherwise sal_False.
*/
{
return
(
AllowsRecording
()
&&
GetMacroRecorder
().
is
()
);
}
//--------------------------------------------------------------------
//--------------------------------------------------------------------
void
SfxRequest
::
SetModifier
(
sal_uInt16
nModi
)
void
SfxRequest
::
SetModifier
(
sal_uInt16
nModi
)
{
{
...
...
sw/source/ui/shells/basesh.cxx
Dosyayı görüntüle @
60bfcc0a
...
@@ -344,7 +344,7 @@ void SwBaseShell::ExecClpbrd(SfxRequest &rReq)
...
@@ -344,7 +344,7 @@ void SwBaseShell::ExecClpbrd(SfxRequest &rReq)
rReq
.
Ignore
();
rReq
.
Ignore
();
bIgnore
=
sal_True
;
bIgnore
=
sal_True
;
int
nRet
=
SwTransferable
::
PasteUnformatted
(
rSh
,
aDataHelper
);
int
nRet
=
SwTransferable
::
PasteUnformatted
(
rSh
,
aDataHelper
);
if
(
nRet
)
// && rReq.IsRecording() )
if
(
nRet
)
{
{
SfxViewFrame
*
pViewFrame
=
pView
->
GetViewFrame
();
SfxViewFrame
*
pViewFrame
=
pView
->
GetViewFrame
();
uno
::
Reference
<
frame
::
XDispatchRecorder
>
xRecorder
=
uno
::
Reference
<
frame
::
XDispatchRecorder
>
xRecorder
=
...
@@ -380,7 +380,7 @@ void SwBaseShell::ExecClpbrd(SfxRequest &rReq)
...
@@ -380,7 +380,7 @@ void SwBaseShell::ExecClpbrd(SfxRequest &rReq)
rReq
.
Ignore
();
rReq
.
Ignore
();
bIgnore
=
sal_True
;
bIgnore
=
sal_True
;
int
nRet
=
SwTransferable
::
PasteSpecial
(
rSh
,
aDataHelper
,
nFormatId
);
int
nRet
=
SwTransferable
::
PasteSpecial
(
rSh
,
aDataHelper
,
nFormatId
);
if
(
nRet
)
// && rReq.IsRecording() )
if
(
nRet
)
{
{
SfxViewFrame
*
pViewFrame
=
pView
->
GetViewFrame
();
SfxViewFrame
*
pViewFrame
=
pView
->
GetViewFrame
();
uno
::
Reference
<
frame
::
XDispatchRecorder
>
xRecorder
=
uno
::
Reference
<
frame
::
XDispatchRecorder
>
xRecorder
=
...
...
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