summaryrefslogtreecommitdiff
path: root/svtools/source/uno/toolboxcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/uno/toolboxcontroller.cxx')
-rw-r--r--svtools/source/uno/toolboxcontroller.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx
index 2981959bf035..285b2aef1c34 100644
--- a/svtools/source/uno/toolboxcontroller.cxx
+++ b/svtools/source/uno/toolboxcontroller.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,7 +41,7 @@
#include <toolkit/unohlp.hxx>
#include <vcl/toolbox.hxx>
-//shizhobo
+//shizhobo
#include <com/sun/star/beans/PropertyAttribute.hpp>
const int TOOLBARCONTROLLER_PROPHANDLE_SUPPORTSVISIABLE = 1;
const int TOOLBARCONTROLLER_PROPCOUNT = 1;
@@ -87,15 +87,15 @@ struct ToolboxController_Impl
};
ToolboxController::ToolboxController(
-
+
const Reference< XMultiServiceFactory >& rServiceManager,
const Reference< XFrame >& xFrame,
const ::rtl::OUString& aCommandURL ) :
OPropertyContainer(GetBroadcastHelper())
- , OWeakObject()
+ , OWeakObject()
, m_bInitialized( sal_False )
, m_bDisposed( sal_False )
- , m_xFrame(xFrame)
+ , m_xFrame(xFrame)
, m_xServiceManager( rServiceManager )
, m_aCommandURL( aCommandURL )
, m_aListenerContainer( m_aMutex )
@@ -119,7 +119,7 @@ ToolboxController::ToolboxController(
ToolboxController::ToolboxController() :
OPropertyContainer(GetBroadcastHelper())
- , OWeakObject()
+ , OWeakObject()
, m_bInitialized( sal_False )
, m_bDisposed( sal_False )
, m_aListenerContainer( m_aMutex )
@@ -190,7 +190,7 @@ throw ( RuntimeException )
,static_cast<XMultiPropertySet*>(this)
,static_cast<XFastPropertySet*>(this));
if (!a.hasValue())
- return OWeakObject::queryInterface( rType );
+ return OWeakObject::queryInterface( rType );
}
return a;
}
@@ -209,7 +209,7 @@ void SAL_CALL ToolboxController::initialize( const Sequence< Any >& aArguments )
throw ( Exception, RuntimeException )
{
bool bInitialized( true );
-
+
{
SolarMutexGuard aSolarMutexGuard;
@@ -223,7 +223,7 @@ throw ( Exception, RuntimeException )
{
SolarMutexGuard aSolarMutexGuard;
m_bInitialized = sal_True;
- //shizhoubo add
+ //shizhoubo add
m_bSupportVisiable = sal_False;
PropertyValue aPropValue;
for ( int i = 0; i < aArguments.getLength(); i++ )
@@ -261,13 +261,13 @@ throw ( Exception, RuntimeException )
void SAL_CALL ToolboxController::update()
throw ( RuntimeException )
-{
+{
{
SolarMutexGuard aSolarMutexGuard;
if ( m_bDisposed )
throw DisposedException();
}
-
+
// Bind all registered listeners to their dispatch objects
bindListener();
}
@@ -755,7 +755,7 @@ void ToolboxController::dispatchCommand( const OUString& sCommandURL, const Sequ
try
{
Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY_THROW );
- URL aURL;
+ URL aURL;
aURL.Complete = sCommandURL;
getURLTransformer()->parseStrict( aURL );
@@ -826,7 +826,7 @@ throw( com::sun::star::uno::Exception)
{
OPropertyContainer::setFastPropertyValue_NoBroadcast(nHandle, aValue);
if (TOOLBARCONTROLLER_PROPHANDLE_SUPPORTSVISIABLE == nHandle)
- {
+ {
sal_Bool rValue(sal_False);
if (( aValue >>= rValue ) && m_bInitialized)
this->setSupportVisiableProperty( rValue );