summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-02-13 22:18:09 +0100
committerMichael Stahl <mstahl@redhat.com>2017-02-21 13:34:20 +0000
commit7bc1c438008517cc9d475a21cdc4a06c6d25eb8f (patch)
tree68bc4821920c8da49488058452dd358e6e7a1441 /basctl
parentcd497ebda3d63042c41e70a9ff8941a0fcf65572 (diff)
Fix typos/translations, following 04644956e53d
No automatic tools Change-Id: I3a6d18760f90c4ee02b9380758f97f6fca6c4428 Reviewed-on: https://gerrit.libreoffice.org/30874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.cxx8
-rw-r--r--basctl/source/basicide/basides1.cxx8
-rw-r--r--basctl/source/basicide/bastype3.cxx2
-rw-r--r--basctl/source/basicide/macrodlg.cxx2
4 files changed, 10 insertions, 10 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx
index 7a5b1a5a0829..7f89adec43ea 100644
--- a/basctl/source/basicide/baside2.cxx
+++ b/basctl/source/basicide/baside2.cxx
@@ -318,7 +318,7 @@ void ModulWindow::BasicExecute()
if ( !m_aStatus.bIsRunning )
{
- DBG_ASSERT( m_xModule.is(), "Kein Modul!" );
+ DBG_ASSERT( m_xModule.is(), "No Module!" );
AddStatus( BASWIN_RUNNINGBASIC );
sal_uInt16 nStart, nEnd;
TextSelection aSel = GetEditView()->GetSelection();
@@ -525,7 +525,7 @@ void ModulWindow::ToggleBreakPoint( sal_uLong nLine )
void ModulWindow::UpdateBreakPoint( const BreakPoint& rBrk )
{
- DBG_ASSERT( XModule().is(), "Kein Modul!" );
+ DBG_ASSERT( XModule().is(), "No Module!" );
if ( XModule().is() )
{
@@ -696,7 +696,7 @@ void ModulWindow::BasicAddWatch()
void ModulWindow::EditMacro( const OUString& rMacroName )
{
- DBG_ASSERT( XModule().is(), "Kein Modul!" );
+ DBG_ASSERT( XModule().is(), "No Module!" );
if ( XModule().is() )
{
@@ -757,7 +757,7 @@ bool ModulWindow::AllowUndo()
void ModulWindow::UpdateData()
{
- DBG_ASSERT( XModule().is(), "Kein Modul!" );
+ DBG_ASSERT( XModule().is(), "No Module!" );
// UpdateData is called when the source has changed from outside
// => interrupts undesired!
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 4d4cde8b6819..3202ce4dfe87 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -314,7 +314,7 @@ void Shell::ExecuteGlobal( SfxRequest& rReq )
else
pModule = pBasic->GetModules().front().get();
}
- DBG_ASSERT( pModule, "Kein Modul!" );
+ DBG_ASSERT( pModule, "No Module!" );
if ( pModule && !pModule->GetMethods()->Find( rInfo.GetMethod(), SbxClassType::Method ) )
CreateMacro( pModule, rInfo.GetMethod() );
}
@@ -395,7 +395,7 @@ void Shell::ExecuteGlobal( SfxRequest& rReq )
DBG_ASSERT( rReq.GetArgs(), "arguments expected" );
const SfxMacroInfoItem& rInfo = static_cast<const SfxMacroInfoItem&>(rReq.GetArgs()->Get(SID_BASICIDE_ARG_MACROINFO ));
BasicManager* pBasMgr = const_cast<BasicManager*>(rInfo.GetBasicManager());
- DBG_ASSERT( pBasMgr, "Store source: Kein BasMgr?" );
+ DBG_ASSERT( pBasMgr, "Store source: No BasMgr?" );
ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) );
VclPtr<ModulWindow> pWin = FindBasWin( aDocument, rInfo.GetLib(), rInfo.GetModule(), false, true );
if ( pWin )
@@ -1184,7 +1184,7 @@ VclPtr<ModulWindow> Shell::ShowActiveModuleWindow( StarBASIC* pBasic )
if (SbClassModuleObject* pCMO = dynamic_cast<SbClassModuleObject*>(pActiveModule))
pActiveModule = pCMO->getClassModule();
- DBG_ASSERT( pActiveModule, "Kein aktives Modul im ErrorHdl?!" );
+ DBG_ASSERT( pActiveModule, "No active module in ErrorHdl!?" );
if ( pActiveModule )
{
VclPtr<ModulWindow> pWin;
@@ -1196,7 +1196,7 @@ VclPtr<ModulWindow> Shell::ShowActiveModuleWindow( StarBASIC* pBasic )
ScriptDocument aDocument( ScriptDocument::getDocumentForBasicManager( pBasMgr ) );
OUString aLibName = pLib->GetName();
pWin = FindBasWin( aDocument, aLibName, pActiveModule->GetName(), true );
- DBG_ASSERT( pWin, "Error/Step-Hdl: Fenster wurde nicht erzeugt/gefunden!" );
+ DBG_ASSERT( pWin, "Error/Step-Hdl: Window was not created/found!" );
SetCurLib( aDocument, aLibName );
SetCurWindow( pWin, true );
}
diff --git a/basctl/source/basicide/bastype3.cxx b/basctl/source/basicide/bastype3.cxx
index 49e2281dcd9a..c197778afe2c 100644
--- a/basctl/source/basicide/bastype3.cxx
+++ b/basctl/source/basicide/bastype3.cxx
@@ -221,7 +221,7 @@ SbxVariable* TreeListBox::FindVariable( SvTreeListEntry* pEntry )
pVar = static_cast<StarBASIC*>(pVar)->FindModule( aName );
break;
case OBJ_TYPE_METHOD:
- DBG_ASSERT(dynamic_cast<SbxObject*>(pVar), "FindVariable: invalid modul/object");
+ DBG_ASSERT(dynamic_cast<SbxObject*>(pVar), "FindVariable: invalid module/object");
if(!pVar)
{
break;
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index 80c820ee9838..66fc105536d2 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -300,7 +300,7 @@ void MacroChooser::DeleteMacro()
}
SbModule* pModule = pMethod->GetModule();
- assert(pModule && "DeleteMacro: Kein Modul?!");
+ assert(pModule && "DeleteMacro: No Module?!");
OUString aSource( pModule->GetSource32() );
sal_uInt16 nStart, nEnd;
pMethod->GetLineRange( nStart, nEnd );