summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/relationdesign
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-rw-r--r--dbaccess/source/ui/relationdesign/RTableConnection.cxx8
-rw-r--r--dbaccess/source/ui/relationdesign/RTableConnection.hxx4
-rw-r--r--dbaccess/source/ui/relationdesign/RTableConnectionData.cxx34
-rw-r--r--dbaccess/source/ui/relationdesign/RTableWindow.hxx8
-rw-r--r--dbaccess/source/ui/relationdesign/RelationController.cxx64
-rw-r--r--dbaccess/source/ui/relationdesign/RelationDesignView.cxx8
-rw-r--r--dbaccess/source/ui/relationdesign/RelationTableView.cxx30
-rw-r--r--dbaccess/source/ui/relationdesign/relation.src2
8 files changed, 79 insertions, 79 deletions
diff --git a/dbaccess/source/ui/relationdesign/RTableConnection.cxx b/dbaccess/source/ui/relationdesign/RTableConnection.cxx
index 9cc6a42b4fe8..a0f3f422fe53 100644
--- a/dbaccess/source/ui/relationdesign/RTableConnection.cxx
+++ b/dbaccess/source/ui/relationdesign/RTableConnection.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
@@ -40,7 +40,7 @@ using namespace dbaui;
//========================================================================
DBG_NAME(ORelationTableConnection)
//------------------------------------------------------------------------
-ORelationTableConnection::ORelationTableConnection( ORelationTableView* pContainer,
+ORelationTableConnection::ORelationTableConnection( ORelationTableView* pContainer,
const TTableConnectionData::value_type& pTabConnData )
:OTableConnection( pContainer, pTabConnData )
{
@@ -91,8 +91,8 @@ void ORelationTableConnection::Draw( const Rectangle& rRect )
const OConnectionLine* pTopLine = NULL;
const ::std::vector<OConnectionLine*>* pConnLineList = GetConnLineList();
- ::std::vector<OConnectionLine*>::const_iterator aIter = pConnLineList->begin();
- ::std::vector<OConnectionLine*>::const_iterator aEnd = pConnLineList->end();
+ ::std::vector<OConnectionLine*>::const_iterator aIter = pConnLineList->begin();
+ ::std::vector<OConnectionLine*>::const_iterator aEnd = pConnLineList->end();
for(;aIter != aEnd;++aIter)
{
if( (*aIter)->IsValid() )
diff --git a/dbaccess/source/ui/relationdesign/RTableConnection.hxx b/dbaccess/source/ui/relationdesign/RTableConnection.hxx
index c9be2d46cc9e..73793dcff2e1 100644
--- a/dbaccess/source/ui/relationdesign/RTableConnection.hxx
+++ b/dbaccess/source/ui/relationdesign/RTableConnection.hxx
@@ -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
@@ -45,7 +45,7 @@ namespace dbaui
ORelationTableConnection& operator=( const ORelationTableConnection& rConn );
- virtual void Draw( const Rectangle& rRect );
+ virtual void Draw( const Rectangle& rRect );
using OTableConnection::Draw;
};
}
diff --git a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx b/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx
index db145f75664f..86a1dcdef3d6 100644
--- a/dbaccess/source/ui/relationdesign/RTableConnectionData.cxx
+++ b/dbaccess/source/ui/relationdesign/RTableConnectionData.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
@@ -77,7 +77,7 @@ ORelationTableConnectionData::ORelationTableConnectionData( const TTableWindowDa
{
DBG_CTOR(ORelationTableConnectionData,NULL);
m_aConnName = rConnName;
-
+
if ( m_aConnName.Len() )
SetCardinality();
}
@@ -178,13 +178,13 @@ void ORelationTableConnectionData::SetCardinality()
BOOL ORelationTableConnectionData::checkPrimaryKey(const Reference< XPropertySet>& i_xTable,EConnectionSide _eEConnectionSide) const
{
// check if Table has the primary key column dependig on _eEConnectionSide
- USHORT nPrimKeysCount = 0,
- nValidLinesCount = 0;
+ USHORT nPrimKeysCount = 0,
+ nValidLinesCount = 0;
const Reference< XNameAccess> xKeyColumns = dbtools::getPrimaryKeyColumns_throw(i_xTable);
if ( xKeyColumns.is() )
{
Sequence< ::rtl::OUString> aKeyColumns = xKeyColumns->getElementNames();
- const ::rtl::OUString* pKeyIter = aKeyColumns.getConstArray();
+ const ::rtl::OUString* pKeyIter = aKeyColumns.getConstArray();
const ::rtl::OUString* pKeyEnd = pKeyIter + aKeyColumns.getLength();
for(;pKeyIter != pKeyEnd;++pKeyIter)
@@ -260,14 +260,14 @@ namespace dbaui
//-------------------------------------------------------------------------
bool operator==(const ORelationTableConnectionData& lhs, const ORelationTableConnectionData& rhs)
{
- bool bEqual = (lhs.m_nUpdateRules == rhs.m_nUpdateRules)
+ bool bEqual = (lhs.m_nUpdateRules == rhs.m_nUpdateRules)
&& (lhs.m_nDeleteRules == rhs.m_nDeleteRules)
&& (lhs.m_nCardinality == rhs.m_nCardinality)
&& (lhs.getReferencingTable() == rhs.getReferencingTable())
&& (lhs.getReferencedTable() == rhs.getReferencedTable())
&& (lhs.m_aConnName == rhs.m_aConnName)
&& (lhs.m_vConnLineData.size() == rhs.m_vConnLineData.size());
-
+
if ( bEqual )
{
std::vector< OConnectionLineDataRef >::const_iterator aIter = lhs.m_vConnLineData.begin();
@@ -297,7 +297,7 @@ BOOL ORelationTableConnectionData::Update()
// reassign the keys because the orientaion could be changed
Reference<XPropertySet> xTableProp(getReferencingTable()->getTable());
Reference< XIndexAccess> xKeys ( getReferencingTable()->getKeys());
-
+
if ( !xKeys.is() )
return FALSE;
////////////////////////////////////////////////////////////
@@ -348,7 +348,7 @@ BOOL ORelationTableConnectionData::Update()
}
}
}
-
+
if ( xColumns->hasElements() )
xAppend->appendByDescriptor(xKey);
}
@@ -384,14 +384,14 @@ xKey.clear();
for ( ; pIter != pEnd ; ++pIter )
{
xColumn.set(xColumns->getByName(*pIter),UNO_QUERY_THROW);
- xColumn->getPropertyValue(PROPERTY_NAME) >>= sName;
- xColumn->getPropertyValue(PROPERTY_RELATEDCOLUMN) >>= sRelatedColumn;
+ xColumn->getPropertyValue(PROPERTY_NAME) >>= sName;
+ xColumn->getPropertyValue(PROPERTY_RELATEDCOLUMN) >>= sRelatedColumn;
OConnectionLineDataVec::iterator aIter = m_vConnLineData.begin();
OConnectionLineDataVec::iterator aEnd = m_vConnLineData.end();
for(;aIter != aEnd;++aIter)
{
- if( (*aIter)->GetSourceFieldName() == sName
+ if( (*aIter)->GetSourceFieldName() == sName
&& (*aIter)->GetDestFieldName() == sRelatedColumn )
{
break;
@@ -411,8 +411,8 @@ xKey.clear();
}
}
catch(Exception&)
- {
- }
+ {
+ }
}
}
xKey.clear();
@@ -424,7 +424,7 @@ xKey.clear();
::dbtools::throwGenericSQLException(sError,NULL);
}
-// OSL_ENSURE(xKey.is(),"No key found have insertion!");
+// OSL_ENSURE(xKey.is(),"No key found have insertion!");
// The fields the relation marks may not be the same as our LineDatas mark after the relation has been updated
if ( xColSup.is() )
@@ -446,8 +446,8 @@ xKey.clear();
{
OConnectionLineDataRef pNewData = CreateLineDataObj();
- xColumn->getPropertyValue(PROPERTY_NAME) >>= sName;
- xColumn->getPropertyValue(PROPERTY_RELATEDCOLUMN) >>= sRelatedColumn;
+ xColumn->getPropertyValue(PROPERTY_NAME) >>= sName;
+ xColumn->getPropertyValue(PROPERTY_RELATEDCOLUMN) >>= sRelatedColumn;
pNewData->SetSourceFieldName(sName);
pNewData->SetDestFieldName(sRelatedColumn);
diff --git a/dbaccess/source/ui/relationdesign/RTableWindow.hxx b/dbaccess/source/ui/relationdesign/RTableWindow.hxx
index 12c7b51e5b42..e1b11aa9af61 100644
--- a/dbaccess/source/ui/relationdesign/RTableWindow.hxx
+++ b/dbaccess/source/ui/relationdesign/RTableWindow.hxx
@@ -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
@@ -35,14 +35,14 @@ namespace dbaui
class ORelationTableWindow : public OTableWindow
{
public:
- ORelationTableWindow( Window* pParent,const TTableWindowData::value_type& pTabWinData)
+ ORelationTableWindow( Window* pParent,const TTableWindowData::value_type& pTabWinData)
: OTableWindow(pParent, pTabWinData) {}
-
+
/** returns the name which should be used when displaying join or relations
@return
The composed name or the window name.
*/
- virtual ::rtl::OUString GetName() const { return GetComposedName(); }
+ virtual ::rtl::OUString GetName() const { return GetComposedName(); }
};
}
#endif //DBAUI_RELTABLEWINDOW_HXX
diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx
index 43400cb2c6a9..bd4269f413af 100644
--- a/dbaccess/source/ui/relationdesign/RelationController.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationController.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
@@ -32,7 +32,7 @@
#include <sfx2/sfxsids.hrc>
#include "dbu_rel.hrc"
#include <vcl/svapp.hxx>
-#include "browserids.hxx"
+#include "browserids.hxx"
#include <comphelper/types.hxx>
#include "dbustrings.hrc"
#include <connectivity/dbtools.hxx>
@@ -96,8 +96,8 @@ using namespace ::com::sun::star::sdbc;
using namespace ::com::sun::star::sdb;
using namespace ::com::sun::star::ui::dialogs;
using namespace ::com::sun::star::util;
-// using namespace ::com::sun::star::sdbcx;
-// using namespace ::connectivity;
+// using namespace ::com::sun::star::sdbcx;
+// using namespace ::connectivity;
using namespace ::dbtools;
using namespace ::dbaui;
using namespace ::comphelper;
@@ -133,7 +133,7 @@ Reference< XInterface > SAL_CALL ORelationController::Create(const Reference<XMu
}
DBG_NAME(ORelationController);
// -----------------------------------------------------------------------------
-ORelationController::ORelationController(const Reference< XMultiServiceFactory >& _rM)
+ORelationController::ORelationController(const Reference< XMultiServiceFactory >& _rM)
: OJoinController(_rM)
,m_nThreadEvent(0)
,m_bRelationsPossible(sal_True)
@@ -182,7 +182,7 @@ void ORelationController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue
else
{
// now we save the layout information
- // create the output stream
+ // create the output stream
try
{
if ( haveDataSource() && getDataSource()->getPropertySetInfo()->hasPropertyByName(PROPERTY_LAYOUTINFORMATION) )
@@ -218,7 +218,7 @@ void ORelationController::impl_initialize()
{// check if this database supports relations
setEditable(sal_False);
- m_bRelationsPossible = sal_False;
+ m_bRelationsPossible = sal_False;
{
String sTitle(ModuleRes(STR_RELATIONDESIGN));
sTitle.Erase(0,3);
@@ -251,7 +251,7 @@ void ORelationController::impl_initialize()
{
DBG_UNHANDLED_EXCEPTION();
}
-
+
}
// -----------------------------------------------------------------------------
::rtl::OUString ORelationController::getPrivateTitle( ) const
@@ -295,17 +295,17 @@ namespace
const Sequence< ::rtl::OUString> m_aTableList;
ORelationController* m_pParent;
const Reference< XDatabaseMetaData> m_xMetaData;
- const Reference< XNameAccess > m_xTables;
+ const Reference< XNameAccess > m_xTables;
const sal_Int32 m_nStartIndex;
const sal_Int32 m_nEndIndex;
-
+
public:
RelationLoader(ORelationController* _pParent
,const Reference< XDatabaseMetaData>& _xMetaData
,const Reference< XNameAccess >& _xTables
,const Sequence< ::rtl::OUString>& _aTableList
,const sal_Int32 _nStartIndex
- ,const sal_Int32 _nEndIndex)
+ ,const sal_Int32 _nEndIndex)
:m_aTableData(_xMetaData.is() && _xMetaData->supportsMixedCaseQuotedIdentifiers())
,m_aTableList(_aTableList)
,m_pParent(_pParent)
@@ -320,8 +320,8 @@ namespace
virtual void SAL_CALL run();
virtual void SAL_CALL onTerminated();
protected:
- virtual ~RelationLoader(){}
-
+ virtual ~RelationLoader(){}
+
void loadTableData(const Any& _aTable);
};
@@ -333,8 +333,8 @@ namespace
::rtl::OUString sCatalog,sSchema,sTable;
::dbtools::qualifiedNameComponents(m_xMetaData,
*pIter,
- sCatalog,
- sSchema,
+ sCatalog,
+ sSchema,
sTable,
::dbtools::eInDataManipulation);
Any aCatalog;
@@ -377,14 +377,14 @@ namespace
TTableWindowData::value_type pReferencingTable = aFind->second;
Reference<XIndexAccess> xKeys = pReferencingTable->getKeys();
const Reference<XKeysSupplier> xKeySup(xTableProp,UNO_QUERY);
-
+
if ( !xKeys.is() && xKeySup.is() )
{
xKeys = xKeySup->getKeys();
}
-
+
if ( xKeys.is() )
- {
+ {
Reference<XPropertySet> xKey;
const sal_Int32 nCount = xKeys->getCount();
for(sal_Int32 i = 0 ; i < nCount ; ++i)
@@ -423,10 +423,10 @@ namespace
// insert columns
const Reference<XColumnsSupplier> xColsSup(xKey,UNO_QUERY);
OSL_ENSURE(xColsSup.is(),"Key is no XColumnsSupplier!");
- const Reference<XNameAccess> xColumns = xColsSup->getColumns();
- const Sequence< ::rtl::OUString> aNames = xColumns->getElementNames();
- const ::rtl::OUString* pIter = aNames.getConstArray();
- const ::rtl::OUString* pEnd = pIter + aNames.getLength();
+ const Reference<XNameAccess> xColumns = xColsSup->getColumns();
+ const Sequence< ::rtl::OUString> aNames = xColumns->getElementNames();
+ const ::rtl::OUString* pIter = aNames.getConstArray();
+ const ::rtl::OUString* pEnd = pIter + aNames.getLength();
::rtl::OUString sColumnName,sRelatedName;
for(sal_uInt16 j=0;pIter != pEnd;++pIter,++j)
{
@@ -434,18 +434,18 @@ namespace
OSL_ENSURE(xPropSet.is(),"Invalid column found in KeyColumns!");
if ( xPropSet.is() )
{
- xPropSet->getPropertyValue(PROPERTY_NAME) >>= sColumnName;
- xPropSet->getPropertyValue(PROPERTY_RELATEDCOLUMN) >>= sRelatedName;
+ xPropSet->getPropertyValue(PROPERTY_NAME) >>= sColumnName;
+ xPropSet->getPropertyValue(PROPERTY_RELATEDCOLUMN) >>= sRelatedName;
}
pTabConnData->SetConnLine( j, sColumnName, sRelatedName );
}
//////////////////////////////////////////////////////////////////////
// Update/Del-Flags setzen
- sal_Int32 nUpdateRule = 0;
- sal_Int32 nDeleteRule = 0;
+ sal_Int32 nUpdateRule = 0;
+ sal_Int32 nDeleteRule = 0;
xKey->getPropertyValue(PROPERTY_UPDATERULE) >>= nUpdateRule;
xKey->getPropertyValue(PROPERTY_DELETERULE) >>= nDeleteRule;
-
+
pTabConnData->SetUpdateRules( nUpdateRule );
pTabConnData->SetDeleteRules( nDeleteRule );
@@ -493,11 +493,11 @@ IMPL_LINK( ORelationController, OnThreadFinished, void*, /*NOTINTERESTEDIN*/ )
::osl::MutexGuard aGuard( getMutex() );
try
{
- getView()->initialize(); // show the windows and fill with our informations
+ getView()->initialize(); // show the windows and fill with our informations
getView()->Invalidate(INVALIDATE_NOERASE);
- getUndoMgr()->Clear(); // clear all undo redo things
- setModified(sal_False); // and we are not modified yet
-
+ getUndoMgr()->Clear(); // clear all undo redo things
+ setModified(sal_False); // and we are not modified yet
+
if(m_vTableData.empty())
Execute(ID_BROWSER_ADDTABLE,Sequence<PropertyValue>());
}
@@ -551,7 +551,7 @@ void ORelationController::loadData()
catch(const Exception&)
{
DBG_UNHANDLED_EXCEPTION();
- }
+ }
}
// -----------------------------------------------------------------------------
TTableWindowData::value_type ORelationController::existsTable(const ::rtl::OUString& _rComposedTableName,sal_Bool _bCase) const
diff --git a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx b/dbaccess/source/ui/relationdesign/RelationDesignView.cxx
index 4030abfb46a2..ea775a8b822e 100644
--- a/dbaccess/source/ui/relationdesign/RelationDesignView.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationDesignView.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
@@ -70,7 +70,7 @@ ORelationDesignView::~ORelationDesignView()
// -------------------------------------------------------------------------
void ORelationDesignView::Construct()
{
- m_pTableView = new ORelationTableView(m_pScrollWindow,this);
+ m_pTableView = new ORelationTableView(m_pScrollWindow,this);
OJoinDesignView::Construct();
}
// -----------------------------------------------------------------------------
@@ -79,7 +79,7 @@ void ORelationDesignView::initialize()
m_pTableView->clearLayoutInformation();
m_pTableView->ReSync();
- OJoinDesignView::initialize();
+ OJoinDesignView::initialize();
}
// -----------------------------------------------------------------------------
long ORelationDesignView::PreNotify( NotifyEvent& rNEvt )
@@ -93,7 +93,7 @@ long ORelationDesignView::PreNotify( NotifyEvent& rNEvt )
nDone = 1L;
}
}
- if(!nDone)
+ if(!nDone)
nDone = OJoinDesignView::PreNotify(rNEvt);
return nDone;
}
diff --git a/dbaccess/source/ui/relationdesign/RelationTableView.cxx b/dbaccess/source/ui/relationdesign/RelationTableView.cxx
index d608ee531d25..ed62b881b849 100644
--- a/dbaccess/source/ui/relationdesign/RelationTableView.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationTableView.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
@@ -99,7 +99,7 @@ ORelationTableView::ORelationTableView( Window* pParent, ORelationDesignView* pV
, ::comphelper::OContainerListener(m_aMutex)
,m_pExistingConnection(NULL)
,m_bInRemove(false)
-
+
{
DBG_CTOR(ORelationTableView,NULL);
SetHelpId(HID_CTL_RELATIONTAB);
@@ -152,7 +152,7 @@ void ORelationTableView::ReSync()
continue;
}
- (*GetTabWinMap())[pData->GetComposedName()] = pTabWin; // am Anfang einfuegen, da ich die DataList ja rueckwaerts durchlaufe
+ (*GetTabWinMap())[pData->GetComposedName()] = pTabWin; // am Anfang einfuegen, da ich die DataList ja rueckwaerts durchlaufe
// wenn in den Daten keine Position oder Groesse steht -> Default
if (!pData->HasPosition() && !pData->HasSize())
SetDefaultTabWinPosSize(pTabWin);
@@ -176,12 +176,12 @@ void ORelationTableView::ReSync()
bInvalid = bInvalid || ::std::find(arrInvalidTables.begin(),arrInvalidTables.end(),strTabExistenceTest) != arrInvalidTables.end();
if (bInvalid)
- { // nein -> Pech gehabt, die Connection faellt weg
+ { // nein -> Pech gehabt, die Connection faellt weg
pTabConnDataList->erase( ::std::remove(pTabConnDataList->begin(),pTabConnDataList->end(),*aConIter),pTabConnDataList->end() );
continue;
}
} // if ( !arrInvalidTables.empty() )
-
+
addConnection( new ORelationTableConnection(this, *aConIter), sal_False ); // don't add the data again
}
@@ -218,7 +218,7 @@ void ORelationTableView::AddConnection(const OJoinExchangeData& jxdSource, const
}
// insert table connection into view
- TTableConnectionData::value_type pTabConnData(new ORelationTableConnectionData(pSourceWin->GetData(),
+ TTableConnectionData::value_type pTabConnData(new ORelationTableConnectionData(pSourceWin->GetData(),
pDestWin->GetData()));
// die Namen der betroffenen Felder
@@ -343,7 +343,7 @@ void ORelationTableView::AddTabWin(const ::rtl::OUString& _rComposedName, const
//////////////////////////////////////////////////////////////////
// Neue Datenstruktur in DocShell eintragen
TTableWindowData::value_type pNewTabWinData(createTableWindowData( _rComposedName, rWinName,rWinName ));
- pNewTabWinData->ShowAll(FALSE);
+ pNewTabWinData->ShowAll(FALSE);
//////////////////////////////////////////////////////////////////
// Neues Fenster in Fensterliste eintragen
@@ -360,7 +360,7 @@ void ORelationTableView::AddTabWin(const ::rtl::OUString& _rComposedName, const
modified();
if ( m_pAccessible )
- m_pAccessible->notifyAccessibleEvent( AccessibleEventId::CHILD,
+ m_pAccessible->notifyAccessibleEvent( AccessibleEventId::CHILD,
Any(),
makeAny(pNewTabWin->GetAccessible()));
}
@@ -378,7 +378,7 @@ void ORelationTableView::RemoveTabWin( OTableWindow* pTabWin )
{
m_pView->getController().getUndoMgr()->Clear();
OJoinTableView::RemoveTabWin( pTabWin );
-
+
m_pView->getController().InvalidateFeature(SID_RELATION_ADD_RELATION);
m_pView->getController().InvalidateFeature(ID_BROWSER_UNDO);
m_pView->getController().InvalidateFeature(ID_BROWSER_REDO);
@@ -389,14 +389,14 @@ void ORelationTableView::RemoveTabWin( OTableWindow* pTabWin )
//{
// class OReleationAskDialog : public ButtonDialog
// {
-// FixedImage m_aInfoImage;
-// FixedText m_aTitle;
-// FixedText m_aMessage;
+// FixedImage m_aInfoImage;
+// FixedText m_aTitle;
+// FixedText m_aMessage;
// public:
// OReleationDialog(Window* _pParent) : ButtonDialog(_pParent,WB_HORZ | WB_STDDIALOG)
// ,m_aInfoImage(this)
// ,m_aTitle(this,WB_WORDBREAK | WB_LEFT)
-// ,m_aMessage(this,WB_WORDBREAK | WB_LEFT)
+// ,m_aMessage(this,WB_WORDBREAK | WB_LEFT)
// {
// m_aMessage.SetText(ModuleRes(STR_QUERY_REL_EDIT_RELATION));
// m_aMessage.Show();
@@ -458,7 +458,7 @@ bool ORelationTableView::allowQueries() const
// -----------------------------------------------------------------------------
void ORelationTableView::_elementInserted( const container::ContainerEvent& /*_rEvent*/ ) throw(::com::sun::star::uno::RuntimeException)
{
-
+
}
// -----------------------------------------------------------------------------
void ORelationTableView::_elementRemoved( const container::ContainerEvent& _rEvent ) throw(::com::sun::star::uno::RuntimeException)
@@ -472,7 +472,7 @@ void ORelationTableView::_elementRemoved( const container::ContainerEvent& _rEve
{
m_pView->getController().getUndoMgr()->Clear();
OJoinTableView::RemoveTabWin( pTableWindow );
-
+
m_pView->getController().InvalidateFeature(SID_RELATION_ADD_RELATION);
m_pView->getController().InvalidateFeature(ID_BROWSER_UNDO);
m_pView->getController().InvalidateFeature(ID_BROWSER_REDO);
diff --git a/dbaccess/source/ui/relationdesign/relation.src b/dbaccess/source/ui/relationdesign/relation.src
index e3c555debd79..0a5f3e00f137 100644
--- a/dbaccess/source/ui/relationdesign/relation.src
+++ b/dbaccess/source/ui/relationdesign/relation.src
@@ -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