summaryrefslogtreecommitdiff
path: root/embeddedobj/source/inc/oleembobj.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:56:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-16 14:19:19 +0000
commit5eab3e5eec67ad97f39f792852e88003fea89d1c (patch)
tree464308340f1ba6a803b3173e4a20d2320ae4c3a7 /embeddedobj/source/inc/oleembobj.hxx
parent3b658759c945a5e2da7b2c6acfdecc9c3d9c6a34 (diff)
clang-cl loplugin: embeddedobj
Change-Id: Id8359ff2bc2ae177837f5c58f949d40b818a8684 Reviewed-on: https://gerrit.libreoffice.org/29869 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embeddedobj/source/inc/oleembobj.hxx')
-rw-r--r--embeddedobj/source/inc/oleembobj.hxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/embeddedobj/source/inc/oleembobj.hxx b/embeddedobj/source/inc/oleembobj.hxx
index d30b17cea6bf..4e41552d1a94 100644
--- a/embeddedobj/source/inc/oleembobj.hxx
+++ b/embeddedobj/source/inc/oleembobj.hxx
@@ -55,7 +55,7 @@ class VerbExecutionController
bool m_bWasEverActive;
bool m_bVerbExecutionInProgress;
oslThreadIdentifier m_nVerbExecutionThreadIdentifier;
- sal_Bool m_bChangedOnVerbExecution;
+ bool m_bChangedOnVerbExecution;
#endif
public:
@@ -66,13 +66,13 @@ public:
, m_bWasEverActive( false )
, m_bVerbExecutionInProgress( false )
, m_nVerbExecutionThreadIdentifier( 0 )
- , m_bChangedOnVerbExecution( sal_False )
+ , m_bChangedOnVerbExecution( false )
#endif
{}
#ifdef _WIN32
void StartControlExecution();
- sal_Bool EndControlExecution_WasModified();
+ bool EndControlExecution_WasModified();
void ModificationNotificationIsDone();
// no need to lock anything to check the value of the numeric members
bool CanDoNotification() { return ( !m_bVerbExecutionInProgress && !m_bWasEverActive && !m_nNotificationLock ); }
@@ -211,13 +211,13 @@ protected:
#endif
void MakeEventListenerNotification_Impl( const OUString& aEventName );
#ifdef _WIN32
- void StateChangeNotification_Impl( sal_Bool bBeforeChange, sal_Int32 nOldState, sal_Int32 nNewState );
+ void StateChangeNotification_Impl( bool bBeforeChange, sal_Int32 nOldState, sal_Int32 nNewState );
css::uno::Reference< css::io::XOutputStream > GetStreamForSaving();
css::uno::Sequence< sal_Int32 > GetIntermediateVerbsSequence_Impl( sal_Int32 nNewState );
- css::uno::Sequence< sal_Int32 > GetReachableStatesList_Impl(
+ static css::uno::Sequence< sal_Int32 > GetReachableStatesList_Impl(
const css::uno::Sequence< css::embed::VerbDescriptor >& aVerbList );
#endif
@@ -241,7 +241,7 @@ protected:
bool bSaveAs )
throw ( css::uno::Exception );
#ifdef _WIN32
- void StoreObjectToStream( css::uno::Reference< css::io::XOutputStream > xOutStream )
+ void StoreObjectToStream( css::uno::Reference< css::io::XOutputStream > const & xOutStream )
throw ( css::uno::Exception );
#endif
void InsertVisualCache_Impl(
@@ -264,11 +264,11 @@ protected:
bool bAllowRepair50 = false )
throw ();
#ifdef _WIN32
- sal_Bool SaveObject_Impl();
- sal_Bool OnShowWindow_Impl( sal_Bool bShow );
- void CreateOleComponent_Impl( OleComponent* pOleComponent = NULL );
- void CreateOleComponentAndLoad_Impl( OleComponent* pOleComponent = NULL );
- void CreateOleComponentFromClipboard_Impl( OleComponent* pOleComponent = NULL );
+ bool SaveObject_Impl();
+ bool OnShowWindow_Impl( bool bShow );
+ void CreateOleComponent_Impl( OleComponent* pOleComponent = nullptr );
+ void CreateOleComponentAndLoad_Impl( OleComponent* pOleComponent = nullptr );
+ void CreateOleComponentFromClipboard_Impl( OleComponent* pOleComponent = nullptr );
OUString CreateTempURLEmpty_Impl();
OUString GetTempURL_Impl();
void SetObjectIsLink_Impl( bool bIsLink ) { m_bIsLink = bIsLink; }
@@ -298,7 +298,7 @@ public:
virtual ~OleEmbeddedObject() override;
#ifdef _WIN32
- void OnIconChanged_Impl();
+ static void OnIconChanged_Impl();
void OnViewChanged_Impl();
void OnClosed_Impl();
#endif