summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r--dbaccess/source/ui/querydesign/JoinController.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryAddTabConnUndoAction.hxx4
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx5
-rw-r--r--dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx2
-rw-r--r--dbaccess/source/ui/querydesign/QueryTableView.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx4
-rw-r--r--dbaccess/source/ui/querydesign/TableConnectionData.cxx2
7 files changed, 10 insertions, 11 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinController.cxx b/dbaccess/source/ui/querydesign/JoinController.cxx
index e894ee567e37..0c92646b4ba6 100644
--- a/dbaccess/source/ui/querydesign/JoinController.cxx
+++ b/dbaccess/source/ui/querydesign/JoinController.cxx
@@ -291,7 +291,7 @@ void OJoinController::SaveTabWinsPosSize( OJoinTableView::OTableWindowMap* pTabW
// If the TabWins had a SetData, I could save that effort... but they don't, further I also would still have to set information anew, which actually didn't change.
// So I don't delete the TabWinDatas, but only update them.
OSL_ENSURE(m_vTableData.size() == pTabWinList->size(),
- "OJoinController::SaveTabWinsPosSize : inkonsistenter Zustand : sollte genausviel TabWinDatas haben wie TabWins !");
+ "OJoinController::SaveTabWinsPosSize : inconsistent state : should have as many TabWinDatas as TabWins !");
OJoinTableView::OTableWindowMap::const_iterator aIter = pTabWinList->begin();
OJoinTableView::OTableWindowMap::const_iterator aEnd = pTabWinList->end();
diff --git a/dbaccess/source/ui/querydesign/QueryAddTabConnUndoAction.hxx b/dbaccess/source/ui/querydesign/QueryAddTabConnUndoAction.hxx
index e5fac04e8a51..37e13213d6c0 100644
--- a/dbaccess/source/ui/querydesign/QueryAddTabConnUndoAction.hxx
+++ b/dbaccess/source/ui/querydesign/QueryAddTabConnUndoAction.hxx
@@ -23,7 +23,7 @@
namespace dbaui
{
- // OQueryAddTabConnUndoAction - Undo-Klasse fuer Einfuegen einer Connection
+ // OQueryAddTabConnUndoAction - Undo class for inserting a connection
class OQueryTableView;
class OQueryAddTabConnUndoAction : public OQueryTabConnUndoAction
@@ -35,7 +35,7 @@ namespace dbaui
virtual void Redo() override;
};
- // OQueryDelTabConnUndoAction - Undo-Klasse fuer Einfuegen einer Connection
+ // OQueryDelTabConnUndoAction - Undo class for inserting a connection
class OQueryDelTabConnUndoAction : public OQueryTabConnUndoAction
{
diff --git a/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
index cfcbb7950bba..543e6a7ca9b6 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
@@ -89,7 +89,7 @@ namespace dbaui
class OTabFieldUndoAct : public OQueryDesignFieldUndoAct
{
protected:
- OTableFieldDescRef pDescr; // geloeschte Spaltenbeschreibung
+ OTableFieldDescRef pDescr; // the deleted column description
public:
OTabFieldUndoAct(OSelectionBrowseBox* pSelBrwBox, sal_uInt16 nCommentID) : OQueryDesignFieldUndoAct(pSelBrwBox, nCommentID) { }
@@ -109,8 +109,7 @@ namespace dbaui
explicit OTabFieldDelUndoAct(OSelectionBrowseBox* pSelBrwBox) : OTabFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_TABFIELDDELETE) { }
};
- // OTabFieldDelUndoAct - Undo-Klasse fuer Anlegen eines Feldes
- // OTabFieldDelUndoAct - undo class to create a field
+ // OTabFieldCreateUndoAct - undo class for creating a field
class OTabFieldCreateUndoAct : public OTabFieldUndoAct
{
diff --git a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx
index d8f027a37c65..a1790f977a6c 100644
--- a/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx
+++ b/dbaccess/source/ui/querydesign/QueryMoveTabWinUndoAct.hxx
@@ -26,7 +26,7 @@
namespace dbaui
{
- // OQueryMoveTabWinUndoAct - Undo-Klasse fuer Verschieben eines TabWins
+ // OQueryMoveTabWinUndoAct - Undo class for moving a TabWin
class OTableWindow;
class OJoinMoveTabWinUndoAct : public OQueryDesignUndoAction
{
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index a71c067a3d53..f96a49e61852 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -163,7 +163,7 @@ namespace
// we found a table in our view where we can insert some connections
// the key columns have a property called RelatedColumn
- // OQueryTableConnectionData aufbauen
+ // build OQueryTableConnectionData
OQueryTableConnectionData* pNewConnData = new OQueryTableConnectionData( _rSource.GetData(), _rDest.GetData() );
TTableConnectionData::value_type aNewConnData(pNewConnData);
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index b89c7f585ed1..80e8cd603343 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -1261,7 +1261,7 @@ void OSelectionBrowseBox::RemoveColumn(sal_uInt16 _nColumnId)
EditBrowseBox::RemoveColumn( _nColumnId );
InsertDataColumn( _nColumnId , OUString(), DEFAULT_SIZE );
- // Neuzeichnen
+ // redraw
tools::Rectangle aInvalidRect = GetInvalidRect( _nColumnId );
Invalidate( aInvalidRect );
@@ -2116,7 +2116,7 @@ OUString OSelectionBrowseBox::GetCellText(long nRow, sal_uInt16 nColId) const
case BROW_FIELD_ROW:
{
OUString aField = pEntry->GetField();
- if (!aField.isEmpty() && aField[0] == '*') // * durch alias.* ersetzen
+ if (!aField.isEmpty() && aField[0] == '*') // * replace with alias.*
{
aField = pEntry->GetAlias();
if(!aField.isEmpty())
diff --git a/dbaccess/source/ui/querydesign/TableConnectionData.cxx b/dbaccess/source/ui/querydesign/TableConnectionData.cxx
index 22fff0de020f..633af8529457 100644
--- a/dbaccess/source/ui/querydesign/TableConnectionData.cxx
+++ b/dbaccess/source/ui/querydesign/TableConnectionData.cxx
@@ -98,7 +98,7 @@ void OTableConnectionData::SetConnLine( sal_uInt16 nIndex, const OUString& rSour
}
OConnectionLineDataRef pConnLineData = m_vConnLineData[nIndex];
- OSL_ENSURE(pConnLineData != nullptr, "OTableConnectionData::SetConnLine : habe ungueltiges LineData-Objekt");
+ OSL_ENSURE(pConnLineData != nullptr, "OTableConnectionData::SetConnLine : have invalid LineData object");
pConnLineData->SetSourceFieldName( rSourceFieldName );
pConnLineData->SetDestFieldName( rDestFieldName );