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
6bdfb757
Kaydet (Commit)
6bdfb757
authored
Eki 13, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:mergeclasses merge svx::ISlotInvalidator with svx::FmTextControlShell
Change-Id: I828ef52bc093d3fa2946f813a2dd09ac6b34e94c
üst
2a504a24
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
18 deletions
+7
-18
mergeclasses.results
compilerplugins/clang/mergeclasses.results
+0
-1
fmtextcontrolfeature.cxx
svx/source/form/fmtextcontrolfeature.cxx
+2
-1
fmslotinvalidator.hxx
svx/source/inc/fmslotinvalidator.hxx
+0
-9
fmtextcontrolfeature.hxx
svx/source/inc/fmtextcontrolfeature.hxx
+3
-2
fmtextcontrolshell.hxx
svx/source/inc/fmtextcontrolshell.hxx
+2
-5
No files found.
compilerplugins/clang/mergeclasses.results
Dosyayı görüntüle @
6bdfb757
...
@@ -351,7 +351,6 @@ merge svx::IContextRequestObserver with svx::FmTextControlShell
...
@@ -351,7 +351,6 @@ merge svx::IContextRequestObserver with svx::FmTextControlShell
merge svx::IControllerFeatureInvalidation with FmXFormShell
merge svx::IControllerFeatureInvalidation with FmXFormShell
merge svx::IFocusObserver with svx::FmTextControlShell
merge svx::IFocusObserver with svx::FmTextControlShell
merge svx::IPropertyValueProvider with svx::PropertyValueProvider
merge svx::IPropertyValueProvider with svx::PropertyValueProvider
merge svx::ISlotInvalidator with svx::FmTextControlShell
merge svx::RegistrationItemSetHolder with svx::DatabaseRegistrationDialog
merge svx::RegistrationItemSetHolder with svx::DatabaseRegistrationDialog
merge svx::sidebar::SvxShapeCommandsMap with svx::sidebar::DefaultShapesPanel
merge svx::sidebar::SvxShapeCommandsMap with svx::sidebar::DefaultShapesPanel
merge svxform::(anonymous namespace)::IScript with svxform::(anonymous namespace)::NewStyleUNOScript
merge svxform::(anonymous namespace)::IScript with svxform::(anonymous namespace)::NewStyleUNOScript
...
...
svx/source/form/fmtextcontrolfeature.cxx
Dosyayı görüntüle @
6bdfb757
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
*/
*/
#include "fmtextcontrolfeature.hxx"
#include "fmtextcontrolfeature.hxx"
#include "fmtextcontrolshell.hxx"
#include <osl/diagnose.h>
#include <osl/diagnose.h>
...
@@ -31,7 +32,7 @@ namespace svx
...
@@ -31,7 +32,7 @@ namespace svx
using
namespace
::
com
::
sun
::
star
::
beans
;
using
namespace
::
com
::
sun
::
star
::
beans
;
using
namespace
::
com
::
sun
::
star
::
util
;
using
namespace
::
com
::
sun
::
star
::
util
;
FmTextControlFeature
::
FmTextControlFeature
(
const
Reference
<
XDispatch
>&
_rxDispatcher
,
const
URL
&
_rFeatureURL
,
SfxSlotId
_nSlotId
,
ISlotInvalidator
*
_pInvalidator
)
FmTextControlFeature
::
FmTextControlFeature
(
const
Reference
<
XDispatch
>&
_rxDispatcher
,
const
URL
&
_rFeatureURL
,
SfxSlotId
_nSlotId
,
FmTextControlShell
*
_pInvalidator
)
:
m_xDispatcher
(
_rxDispatcher
)
:
m_xDispatcher
(
_rxDispatcher
)
,
m_aFeatureURL
(
_rFeatureURL
)
,
m_aFeatureURL
(
_rFeatureURL
)
,
m_nSlotId
(
_nSlotId
)
,
m_nSlotId
(
_nSlotId
)
...
...
svx/source/inc/fmslotinvalidator.hxx
Dosyayı görüntüle @
6bdfb757
...
@@ -23,15 +23,6 @@
...
@@ -23,15 +23,6 @@
namespace
svx
namespace
svx
{
{
typedef
sal_uInt16
SfxSlotId
;
typedef
sal_uInt16
SfxSlotId
;
class
ISlotInvalidator
{
public
:
virtual
void
Invalidate
(
SfxSlotId
_nSlot
)
=
0
;
protected
:
~
ISlotInvalidator
()
{}
};
}
}
#endif // INCLUDED_SVX_SOURCE_INC_FMSLOTINVALIDATOR_HXX
#endif // INCLUDED_SVX_SOURCE_INC_FMSLOTINVALIDATOR_HXX
...
...
svx/source/inc/fmtextcontrolfeature.hxx
Dosyayı görüntüle @
6bdfb757
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
namespace
svx
namespace
svx
{
{
class
FmTextControlShell
;
typedef
::
cppu
::
WeakImplHelper
<
css
::
frame
::
XStatusListener
typedef
::
cppu
::
WeakImplHelper
<
css
::
frame
::
XStatusListener
>
FmTextControlFeature_Base
;
>
FmTextControlFeature_Base
;
...
@@ -42,7 +43,7 @@ namespace svx
...
@@ -42,7 +43,7 @@ namespace svx
css
::
util
::
URL
m_aFeatureURL
;
css
::
util
::
URL
m_aFeatureURL
;
css
::
uno
::
Any
m_aFeatureState
;
css
::
uno
::
Any
m_aFeatureState
;
SfxSlotId
m_nSlotId
;
SfxSlotId
m_nSlotId
;
ISlotInvalidator
*
m_pInvalidator
;
FmTextControlShell
*
m_pInvalidator
;
bool
m_bFeatureEnabled
;
bool
m_bFeatureEnabled
;
public
:
public
:
...
@@ -56,7 +57,7 @@ namespace svx
...
@@ -56,7 +57,7 @@ namespace svx
const
css
::
uno
::
Reference
<
css
::
frame
::
XDispatch
>&
_rxDispatcher
,
const
css
::
uno
::
Reference
<
css
::
frame
::
XDispatch
>&
_rxDispatcher
,
const
css
::
util
::
URL
&
_rFeatureURL
,
const
css
::
util
::
URL
&
_rFeatureURL
,
SfxSlotId
_nId
,
SfxSlotId
_nId
,
ISlotInvalidator
*
_pInvalidator
FmTextControlShell
*
_pInvalidator
);
);
/// determines whether the feature we're responsible for is currently enabled
/// determines whether the feature we're responsible for is currently enabled
...
...
svx/source/inc/fmtextcontrolshell.hxx
Dosyayı görüntüle @
6bdfb757
...
@@ -74,7 +74,6 @@ namespace svx
...
@@ -74,7 +74,6 @@ namespace svx
};
};
class
FmTextControlShell
:
public
IFocusObserver
class
FmTextControlShell
:
public
IFocusObserver
,
public
ISlotInvalidator
,
public
IContextRequestObserver
,
public
IContextRequestObserver
{
{
private
:
private
:
...
@@ -136,6 +135,8 @@ namespace svx
...
@@ -136,6 +135,8 @@ namespace svx
*/
*/
void
designModeChanged
(
bool
_bNewDesignMode
);
void
designModeChanged
(
bool
_bNewDesignMode
);
void
Invalidate
(
SfxSlotId
_nSlot
);
protected
:
protected
:
// IFocusObserver
// IFocusObserver
virtual
void
focusGained
(
const
css
::
awt
::
FocusEvent
&
_rEvent
)
override
;
virtual
void
focusGained
(
const
css
::
awt
::
FocusEvent
&
_rEvent
)
override
;
...
@@ -144,10 +145,6 @@ namespace svx
...
@@ -144,10 +145,6 @@ namespace svx
// IContextRequestObserver
// IContextRequestObserver
virtual
void
contextMenuRequested
(
const
css
::
awt
::
MouseEvent
&
_rEvent
)
override
;
virtual
void
contextMenuRequested
(
const
css
::
awt
::
MouseEvent
&
_rEvent
)
override
;
// ISlotInvalidator
virtual
void
Invalidate
(
SfxSlotId
_nSlot
)
override
;
protected
:
enum
AttributeSet
{
eCharAttribs
,
eParaAttribs
};
enum
AttributeSet
{
eCharAttribs
,
eParaAttribs
};
void
executeAttributeDialog
(
AttributeSet
_eSet
,
SfxRequest
&
_rReq
);
void
executeAttributeDialog
(
AttributeSet
_eSet
,
SfxRequest
&
_rReq
);
void
executeSelectAll
(
);
void
executeSelectAll
(
);
...
...
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