summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/propcontroller.cxx')
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index cf14f3778682..26f0da8df9d2 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -1,7 +1,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
@@ -96,7 +96,7 @@ namespace pcr
using namespace ::com::sun::star::ucb;
using namespace ::comphelper;
-#define THISREF() static_cast< XController* >(this)
+#define THISREF() static_cast< XController* >(this)
//========================================================================
//= OPropertyBrowserController
@@ -183,7 +183,7 @@ namespace pcr
{
return m_xModel;
}
-
+
//--------------------------------------------------------------------
void OPropertyBrowserController::impl_initializeView_nothrow()
{
@@ -223,7 +223,7 @@ namespace pcr
{
if ( !m_xModel.is() )
return false;
-
+
return m_xModel->getIsReadOnly();
}
@@ -278,7 +278,7 @@ namespace pcr
impl_bindToNewModel_nothrow( _inspectorModel );
}
-
+
//--------------------------------------------------------------------
Reference< XObjectInspectorUI > SAL_CALL OPropertyBrowserController::getInspectorUI() throw (RuntimeException)
{
@@ -313,7 +313,7 @@ namespace pcr
// we don't have any dispatches at all, right now
return Reference< XDispatch >();
}
-
+
//--------------------------------------------------------------------
Sequence< Reference< XDispatch > > SAL_CALL OPropertyBrowserController::queryDispatches( const Sequence< DispatchDescriptor >& Requests ) throw (RuntimeException)
{
@@ -321,9 +321,9 @@ namespace pcr
sal_Int32 nLen = Requests.getLength();
aReturn.realloc( nLen );
- Reference< XDispatch >* pReturn = aReturn.getArray();
- const Reference< XDispatch >* pReturnEnd = aReturn.getArray() + nLen;
- const DispatchDescriptor* pDescripts = Requests.getConstArray();
+ Reference< XDispatch >* pReturn = aReturn.getArray();
+ const Reference< XDispatch >* pReturnEnd = aReturn.getArray() + nLen;
+ const DispatchDescriptor* pDescripts = Requests.getConstArray();
for ( ; pReturn != pReturnEnd; ++ pReturn, ++pDescripts )
*pReturn = queryDispatch( pDescripts->FeatureURL, pDescripts->FrameName, pDescripts->SearchFlags );
@@ -394,7 +394,7 @@ namespace pcr
// Maybe it is intended to only announce the frame to the controller, and the instance doing this
// announcement is responsible for calling setComponent, too.
Reference< XWindow > xContainerWindow = m_xFrame->getContainerWindow();
- VCLXWindow* pContainerWindow = VCLXWindow::GetImplementation(xContainerWindow);
+ VCLXWindow* pContainerWindow = VCLXWindow::GetImplementation(xContainerWindow);
Window* pParentWin = pContainerWindow ? pContainerWindow->GetWindow() : NULL;
if (!pParentWin)
throw RuntimeException(::rtl::OUString::createFromAscii("The frame is invalid. Unable to extract the container window."),*this);
@@ -629,7 +629,7 @@ namespace pcr
xContainerWindow = m_xFrame->getContainerWindow();
if ( xContainerWindow.get() == xSourceWindow.get() )
- { // our container window got the focus
+ { // our container window got the focus
if ( haveView() )
getPropertyBox().GrabFocus();
}
@@ -1357,7 +1357,7 @@ namespace pcr
InteractiveSelectionResult eResult =
handler->second->onInteractivePropertySelection( _rName, _bPrimary, aData,
m_pUIRequestComposer->getUIForPropertyHandler( handler->second ) );
-
+
switch ( eResult )
{
case InteractiveSelectionResult_Cancelled:
@@ -1404,7 +1404,7 @@ namespace pcr
if ( rName.equals( PROPERTY_IMAGE_URL ) )
{
- // if the prop value is the PlaceHolder
+ // if the prop value is the PlaceHolder
// can ignore it
rtl::OUString sVal;
_rValue >>= sVal;
@@ -1463,7 +1463,7 @@ namespace pcr
{
m_aControlObservers.notifyEach( &XPropertyControlObserver::focusGained, _Control );
}
-
+
//--------------------------------------------------------------------
void OPropertyBrowserController::valueChanged( const Reference< XPropertyControl >& _Control )
{
@@ -1720,7 +1720,7 @@ namespace pcr
{
m_aControlObservers.addInterface( _Observer );
}
-
+
//--------------------------------------------------------------------
void SAL_CALL OPropertyBrowserController::revokeControlObserver( const Reference< XPropertyControlObserver >& _Observer ) throw (RuntimeException)
{