Kaydet (Commit) 488d850f authored tarafından Jens Carl's avatar Jens Carl Kaydeden (comit) Michael Stahl

tdf#39486: Translate some randomly found German comments

Change-Id: I4c2950180f504c06666f055d166c51e32a6d5294
Reviewed-on: https://gerrit.libreoffice.org/36969Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst f22b1271
...@@ -554,8 +554,8 @@ bool OPredicateInterpreter::evaluate(OCodeList& rCodeList) ...@@ -554,8 +554,8 @@ bool OPredicateInterpreter::evaluate(OCodeList& rCodeList)
OOperand* pOperand = m_aStack.top(); OOperand* pOperand = m_aStack.top();
m_aStack.pop(); m_aStack.pop();
DBG_ASSERT(m_aStack.empty(), "StackFehler"); DBG_ASSERT(m_aStack.empty(), "Stack error");
DBG_ASSERT(pOperand, "StackFehler"); DBG_ASSERT(pOperand, "Stack error");
bResult = pOperand->isValid(); bResult = pOperand->isValid();
if (typeid(OOperandResult) == typeid(*pOperand)) if (typeid(OOperandResult) == typeid(*pOperand))
...@@ -581,8 +581,8 @@ void OPredicateInterpreter::evaluateSelection(OCodeList& rCodeList,ORowSetValueD ...@@ -581,8 +581,8 @@ void OPredicateInterpreter::evaluateSelection(OCodeList& rCodeList,ORowSetValueD
OOperand* pOperand = m_aStack.top(); OOperand* pOperand = m_aStack.top();
m_aStack.pop(); m_aStack.pop();
DBG_ASSERT(m_aStack.empty(), "StackFehler"); DBG_ASSERT(m_aStack.empty(), "Stack error");
DBG_ASSERT(pOperand, "StackFehler"); DBG_ASSERT(pOperand, "Stack error");
(*_rVal) = pOperand->getValue(); (*_rVal) = pOperand->getValue();
if (typeid(OOperandResult) == typeid(*pOperand)) if (typeid(OOperandResult) == typeid(*pOperand))
......
...@@ -142,7 +142,7 @@ ScPrintAreasDlg::~ScPrintAreasDlg() ...@@ -142,7 +142,7 @@ ScPrintAreasDlg::~ScPrintAreasDlg()
void ScPrintAreasDlg::dispose() void ScPrintAreasDlg::dispose()
{ {
// Extra-Data an ListBox-Entries abraeumen // clean extra data of ListBox entries
ListBox* aLb[3] = { pLbPrintArea, pLbRepeatRow, pLbRepeatCol }; ListBox* aLb[3] = { pLbPrintArea, pLbRepeatRow, pLbRepeatCol };
for (ListBox* pBox : aLb) for (ListBox* pBox : aLb)
...@@ -271,7 +271,7 @@ void ScPrintAreasDlg::Impl_Reset() ...@@ -271,7 +271,7 @@ void ScPrintAreasDlg::Impl_Reset()
Impl_FillLists(); Impl_FillLists();
// Druckbereich // printing area
aStrRange.clear(); aStrRange.clear();
OUString aOne; OUString aOne;
...@@ -291,12 +291,12 @@ void ScPrintAreasDlg::Impl_Reset() ...@@ -291,12 +291,12 @@ void ScPrintAreasDlg::Impl_Reset()
} }
pEdPrintArea->SetText( aStrRange ); pEdPrintArea->SetText( aStrRange );
// Wiederholungszeile // repeat row
lcl_GetRepeatRangeString(pRepeatRowRange, pDoc, true, aStrRange); lcl_GetRepeatRangeString(pRepeatRowRange, pDoc, true, aStrRange);
pEdRepeatRow->SetText( aStrRange ); pEdRepeatRow->SetText( aStrRange );
// Wiederholungsspalte // repeat column
lcl_GetRepeatRangeString(pRepeatColRange, pDoc, false, aStrRange); lcl_GetRepeatRangeString(pRepeatColRange, pDoc, false, aStrRange);
pEdRepeatCol->SetText( aStrRange ); pEdRepeatCol->SetText( aStrRange );
...@@ -307,7 +307,7 @@ void ScPrintAreasDlg::Impl_Reset() ...@@ -307,7 +307,7 @@ void ScPrintAreasDlg::Impl_Reset()
if( pDoc->IsPrintEntireSheet( nCurTab ) ) if( pDoc->IsPrintEntireSheet( nCurTab ) )
pLbPrintArea->SelectEntryPos( SC_AREASDLG_PR_ENTIRE ); pLbPrintArea->SelectEntryPos( SC_AREASDLG_PR_ENTIRE );
pEdPrintArea->SaveValue(); // fuer FillItemSet() merken: pEdPrintArea->SaveValue(); // save for FillItemSet():
pEdRepeatRow->SaveValue(); pEdRepeatRow->SaveValue();
pEdRepeatCol->SaveValue(); pEdRepeatCol->SaveValue();
} }
...@@ -369,7 +369,7 @@ bool ScPrintAreasDlg::Impl_CheckRefStrings() ...@@ -369,7 +369,7 @@ bool ScPrintAreasDlg::Impl_CheckRefStrings()
if ( !bRepeatColOk ) if ( !bRepeatColOk )
bRepeatColOk = lcl_CheckRepeatString(aStrRepeatCol, pDoc, false, nullptr); bRepeatColOk = lcl_CheckRepeatString(aStrRepeatCol, pDoc, false, nullptr);
// Fehlermeldungen // error messages
bOk = (bPrintAreaOk && bRepeatRowOk && bRepeatColOk); bOk = (bPrintAreaOk && bRepeatRowOk && bRepeatColOk);
...@@ -478,7 +478,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, Button*, pBtn, void ) ...@@ -478,7 +478,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, Button*, pBtn, void )
SfxStringItem aRepeatRow( FN_PARAM_2, aStr ); SfxStringItem aRepeatRow( FN_PARAM_2, aStr );
SfxStringItem aRepeatCol( FN_PARAM_3, aStr ); SfxStringItem aRepeatCol( FN_PARAM_3, aStr );
// Druckbereich veraendert? // Printing area changed?
// first try the list box, if "Entire sheet" is selected // first try the list box, if "Entire sheet" is selected
bool bEntireSheet = (pLbPrintArea->GetSelectEntryPos() == SC_AREASDLG_PR_ENTIRE); bool bEntireSheet = (pLbPrintArea->GetSelectEntryPos() == SC_AREASDLG_PR_ENTIRE);
...@@ -491,11 +491,11 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, Button*, pBtn, void ) ...@@ -491,11 +491,11 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, Button*, pBtn, void )
bDataChanged |= Impl_GetItem( pEdPrintArea, aPrintArea ); bDataChanged |= Impl_GetItem( pEdPrintArea, aPrintArea );
} }
// Wiederholungszeile veraendert? // Repeat row changed?
bDataChanged |= Impl_GetItem( pEdRepeatRow, aRepeatRow ); bDataChanged |= Impl_GetItem( pEdRepeatRow, aRepeatRow );
// Wiederholungsspalte veraendert? // Repeat column changed?
bDataChanged |= Impl_GetItem( pEdRepeatCol, aRepeatCol ); bDataChanged |= Impl_GetItem( pEdRepeatCol, aRepeatCol );
......
...@@ -193,14 +193,14 @@ sal_uInt64 SotStorageStream::remainingSize() ...@@ -193,14 +193,14 @@ sal_uInt64 SotStorageStream::remainingSize()
void SotStorageStream::CopyTo( SotStorageStream * pDestStm ) void SotStorageStream::CopyTo( SotStorageStream * pDestStm )
{ {
Flush(); // alle Daten schreiben Flush(); // write all data
pDestStm->ClearBuffer(); pDestStm->ClearBuffer();
if( !pOwnStm || !pDestStm->pOwnStm ) if( !pOwnStm || !pDestStm->pOwnStm )
{ {
// Wenn Ole2 oder nicht nur eigene StorageStreams // If Ole2 or not only own StorageStreams
sal_uLong nPos = Tell(); // Position merken sal_uLong nPos = Tell(); // save position
Seek( 0L ); Seek( 0L );
pDestStm->SetSize( 0 ); // Ziel-Stream leeren pDestStm->SetSize( 0 ); // empty target stream
std::unique_ptr<sal_uInt8[]> pMem(new sal_uInt8[ 8192 ]); std::unique_ptr<sal_uInt8[]> pMem(new sal_uInt8[ 8192 ]);
sal_uLong nRead; sal_uLong nRead;
...@@ -213,7 +213,7 @@ void SotStorageStream::CopyTo( SotStorageStream * pDestStm ) ...@@ -213,7 +213,7 @@ void SotStorageStream::CopyTo( SotStorageStream * pDestStm )
} }
} }
pMem.reset(); pMem.reset();
// Position setzen // set position
pDestStm->Seek( nPos ); pDestStm->Seek( nPos );
Seek( nPos ); Seek( nPos );
} }
...@@ -284,7 +284,7 @@ bool SotStorageStream::SetProperty( const OUString& rName, const css::uno::Any& ...@@ -284,7 +284,7 @@ bool SotStorageStream::SetProperty( const OUString& rName, const css::uno::Any&
SotStorage::SotStorage( const OUString & rName, StreamMode nMode ) SotStorage::SotStorage( const OUString & rName, StreamMode nMode )
INIT_SotStorage() INIT_SotStorage()
{ {
m_aName = rName; // Namen merken m_aName = rName; // save name
CreateStorage( true, nMode ); CreateStorage( true, nMode );
if ( IsOLEStorage() ) if ( IsOLEStorage() )
m_nVersion = SOFFICE_FILEFORMAT_50; m_nVersion = SOFFICE_FILEFORMAT_50;
...@@ -383,7 +383,7 @@ SotStorage::SotStorage( BaseStorage * pStor ) ...@@ -383,7 +383,7 @@ SotStorage::SotStorage( BaseStorage * pStor )
{ {
if ( pStor ) if ( pStor )
{ {
m_aName = pStor->GetName(); // Namen merken m_aName = pStor->GetName(); // save name
SignAsRoot( pStor->IsRoot() ); SignAsRoot( pStor->IsRoot() );
SetError( pStor->GetError() ); SetError( pStor->GetError() );
} }
...@@ -472,7 +472,7 @@ SvMemoryStream * SotStorage::CreateMemoryStream() ...@@ -472,7 +472,7 @@ SvMemoryStream * SotStorage::CreateMemoryStream()
} }
else else
{ {
aStg.clear(); // Storage vorher freigeben aStg.clear(); // release storage beforehand
delete pStm; delete pStm;
pStm = nullptr; pStm = nullptr;
} }
...@@ -602,15 +602,15 @@ SotStorageStream * SotStorage::OpenSotStream( const OUString & rEleName, ...@@ -602,15 +602,15 @@ SotStorageStream * SotStorage::OpenSotStream( const OUString & rEleName,
SotStorageStream * pStm = nullptr; SotStorageStream * pStm = nullptr;
if( m_pOwnStg ) if( m_pOwnStg )
{ {
// volle Ole-Patches einschalten // enable full Ole patches,
// egal was kommt, nur exclusiv gestattet // regardless what is coming, only exclusively allowed
nMode |= StreamMode::SHARE_DENYALL; nMode |= StreamMode::SHARE_DENYALL;
ErrCode nE = m_pOwnStg->GetError(); ErrCode nE = m_pOwnStg->GetError();
BaseStorageStream * p = m_pOwnStg->OpenStream( rEleName, nMode ); BaseStorageStream * p = m_pOwnStg->OpenStream( rEleName, nMode );
pStm = new SotStorageStream( p ); pStm = new SotStorageStream( p );
if( !nE ) if( !nE )
m_pOwnStg->ResetError(); // kein Fehler setzen m_pOwnStg->ResetError(); // don't set error
if( nMode & StreamMode::TRUNC ) if( nMode & StreamMode::TRUNC )
pStm->SetSize( 0 ); pStm->SetSize( 0 );
} }
...@@ -633,7 +633,7 @@ SotStorage * SotStorage::OpenSotStorage( const OUString & rEleName, ...@@ -633,7 +633,7 @@ SotStorage * SotStorage::OpenSotStorage( const OUString & rEleName,
{ {
SotStorage * pStor = new SotStorage( p ); SotStorage * pStor = new SotStorage( p );
if( !nE ) if( !nE )
m_pOwnStg->ResetError(); // kein Fehler setzen m_pOwnStg->ResetError(); // don't set error
return pStor; return pStor;
} }
...@@ -646,7 +646,7 @@ SotStorage * SotStorage::OpenSotStorage( const OUString & rEleName, ...@@ -646,7 +646,7 @@ SotStorage * SotStorage::OpenSotStorage( const OUString & rEleName,
bool SotStorage::IsStorage( const OUString & rEleName ) const bool SotStorage::IsStorage( const OUString & rEleName ) const
{ {
// ein bisschen schneller // a little bit faster
if( m_pOwnStg ) if( m_pOwnStg )
return m_pOwnStg->IsStorage( rEleName ); return m_pOwnStg->IsStorage( rEleName );
...@@ -655,7 +655,7 @@ bool SotStorage::IsStorage( const OUString & rEleName ) const ...@@ -655,7 +655,7 @@ bool SotStorage::IsStorage( const OUString & rEleName ) const
bool SotStorage::IsStream( const OUString & rEleName ) const bool SotStorage::IsStream( const OUString & rEleName ) const
{ {
// ein bisschen schneller // a little bit faster
if( m_pOwnStg ) if( m_pOwnStg )
return m_pOwnStg->IsStream( rEleName ); return m_pOwnStg->IsStream( rEleName );
...@@ -664,7 +664,7 @@ bool SotStorage::IsStream( const OUString & rEleName ) const ...@@ -664,7 +664,7 @@ bool SotStorage::IsStream( const OUString & rEleName ) const
bool SotStorage::IsContained( const OUString & rEleName ) const bool SotStorage::IsContained( const OUString & rEleName ) const
{ {
// ein bisschen schneller // a little bit faster
if( m_pOwnStg ) if( m_pOwnStg )
return m_pOwnStg->IsContained( rEleName ); return m_pOwnStg->IsContained( rEleName );
...@@ -701,7 +701,7 @@ bool SotStorage::CopyTo( const OUString & rEleName, ...@@ -701,7 +701,7 @@ bool SotStorage::CopyTo( const OUString & rEleName,
bool SotStorage::Validate() bool SotStorage::Validate()
{ {
DBG_ASSERT( m_bIsRoot, "Validate nur an Rootstorage" ); DBG_ASSERT( m_bIsRoot, "Validate only if root storage" );
if( m_pOwnStg ) if( m_pOwnStg )
return m_pOwnStg->ValidateFAT(); return m_pOwnStg->ValidateFAT();
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment