summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/docrecovery.cxx6
-rw-r--r--svx/source/form/fmtools.cxx2
-rw-r--r--svx/source/inc/filtnav.hxx2
-rw-r--r--svx/source/items/numfmtsh.cxx31
-rw-r--r--svx/source/items/numinf.cxx2
-rw-r--r--svx/source/items/pageitem.cxx11
-rw-r--r--svx/source/items/rotmodit.cxx4
7 files changed, 28 insertions, 30 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index 9a0a02514aa1..d96a3524e001 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -711,9 +711,9 @@ void SaveProgressDialog::stepNext(TURLInfo* )
{
/* TODO
- wenn die m_pCore noch ein Member m_nCurrentItem haette
- koennte man dort erkennen, wer gerade drann war, wer demnaechst
- dran ist ... Diese Info kann man dann in unserem Progress FixText anzeigen ...
+ if m_pCore would have a member m_mCurrentItem, you could see,
+ who is current, who is next ... You can show this information
+ in progress report FixText
*/
}
diff --git a/svx/source/form/fmtools.cxx b/svx/source/form/fmtools.cxx
index f4cde2a2deb7..4b7bfadd3b4c 100644
--- a/svx/source/form/fmtools.cxx
+++ b/svx/source/form/fmtools.cxx
@@ -179,7 +179,7 @@ sal_Int32 getElementPos(const Reference< ::com::sun::star::container::XIndexAcce
DBG_ASSERT( xNormalized.is(), "getElementPos: invalid element!" );
if ( xNormalized.is() )
{
- // Feststellen an welcher Position sich das Kind befindet
+ // find child position
nIndex = xCont->getCount();
while (nIndex--)
{
diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx
index 3bde69e3f28f..6e050a0f18a6 100644
--- a/svx/source/inc/filtnav.hxx
+++ b/svx/source/inc/filtnav.hxx
@@ -248,7 +248,7 @@ class FmFilterNavigator : public SvTreeListBox, public SfxListener
AutoTimer m_aDropActionTimer;
unsigned short m_aTimerCounter;
- Point m_aTimerTriggered; // die Position, an der der DropTimer angeschaltet wurde
+ Point m_aTimerTriggered; // position, where DropTimer was started
DROP_ACTION m_aDropActionType;
public:
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index a3fabc6dbf53..dda14b3fe287 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -145,8 +145,7 @@ SvxNumberFormatShell::~SvxNumberFormatShell()
if ( bUndoAddList )
{
- // Hinzugefuegte Formate sind nicht gueltig:
- // => wieder entfernen:
+ // Added formats are invalid => remove them
for ( std::vector<sal_uInt32>::const_iterator it(aAddList.begin()); it != aAddList.end(); ++it )
pFormatter->DeleteEntry( *it );
@@ -166,7 +165,7 @@ void SvxNumberFormatShell::GetUpdateData( sal_uInt32* pDelArray, const sal_uInt3
{
const size_t nListSize = aDelList.size();
- DBG_ASSERT( pDelArray && ( nSize == nListSize ), "Array nicht initialisiert!" );
+ DBG_ASSERT( pDelArray && ( nSize == nListSize ), "Array not initialised!" );
if ( pDelArray && ( nSize == nListSize ) )
for (std::vector<sal_uInt32>::const_iterator it(aDelList.begin()); it != aDelList.end(); ++it )
@@ -236,7 +235,7 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos,
bool bInserted = false;
sal_uInt32 nAddKey = pFormatter->GetEntryKey( rFormat, eCurLanguage );
- if ( nAddKey != NUMBERFORMAT_ENTRY_NOT_FOUND ) // bereits vorhanden?
+ if ( nAddKey != NUMBERFORMAT_ENTRY_NOT_FOUND ) // exists already?
{
::std::vector<sal_uInt32>::iterator nAt = GetRemoved_Impl( nAddKey );
if ( nAt != aDelList.end() )
@@ -246,10 +245,10 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos,
}
else
{
- OSL_FAIL( "Doppeltes Format!" );
+ OSL_FAIL( "duplicate format!" );
}
}
- else // neues Format
+ else // new format
{
sal_Int32 nPos;
bInserted = pFormatter->PutEntry( rFormat, nPos,
@@ -273,27 +272,27 @@ bool SvxNumberFormatShell::AddFormat( OUString& rFormat, sal_Int32& rErrPos,
}
}
- if ( bInserted ) // eingefuegt
+ if ( bInserted )
{
nCurFormatKey = nAddKey;
- DBG_ASSERT( !IsAdded_Impl( nCurFormatKey ), "Doppeltes Format!" );
+ DBG_ASSERT( !IsAdded_Impl( nCurFormatKey ), "duplicate format!" );
aAddList.push_back( nCurFormatKey );
- // aktuelle Tabelle holen
+ // get current table
pCurFmtTable = &(pFormatter->GetEntryTable( nCurCategory,
nCurFormatKey,
eCurLanguage ));
- nCurCategory=pFormatter->GetType(nAddKey); //@@ ???
+ nCurCategory=pFormatter->GetType(nAddKey);
CategoryToPos_Impl( nCurCategory, rCatLbSelPos );
rFmtSelPos = FillEntryList_Impl( rFmtEntries );
}
- else if ( rErrPos != 0 ) // Syntaxfehler
+ else if ( rErrPos != 0 ) // syntax error
{
;
}
- else // Doppelt einfuegen nicht moeglich
+ else // insert twice not possible
{
- OSL_FAIL( "Doppeltes Format!" ); // oder doch?
+ OSL_FAIL( "duplicate format!" );
}
return bInserted;
@@ -308,8 +307,8 @@ bool SvxNumberFormatShell::RemoveFormat( const OUString& rFormat,
{
sal_uInt32 nDelKey = pFormatter->GetEntryKey( rFormat, eCurLanguage );
- DBG_ASSERT( nDelKey != NUMBERFORMAT_ENTRY_NOT_FOUND, "Eintrag nicht gefunden!" );
- DBG_ASSERT( !IsRemoved_Impl( nDelKey ), "Eintrag bereits geloescht!" );
+ DBG_ASSERT( nDelKey != NUMBERFORMAT_ENTRY_NOT_FOUND, "entry not found!" );
+ DBG_ASSERT( !IsRemoved_Impl( nDelKey ), "entry already removed!" );
if ( (nDelKey != NUMBERFORMAT_ENTRY_NOT_FOUND) && !IsRemoved_Impl( nDelKey ) )
{
@@ -512,7 +511,7 @@ void SvxNumberFormatShell::GetInitSettings( sal_uInt16& nCatLbPos,
Color*& rpPrevColor )
{
- // Vorbedingung: Zahlenformatierer gefunden
+ // precondition: number formater found
DBG_ASSERT( pFormatter != NULL, "Zahlenformatierer nicht gefunden!" );
short nSelPos = SELPOS_NONE;
diff --git a/svx/source/items/numinf.cxx b/svx/source/items/numinf.cxx
index 4cc527b6ce7c..5a855d5a7e4a 100644
--- a/svx/source/items/numinf.cxx
+++ b/svx/source/items/numinf.cxx
@@ -168,7 +168,7 @@ SfxPoolItem* SvxNumberInfoItem::Clone( SfxItemPool * ) const
return new SvxNumberInfoItem( *this );
}
-// Laden/Speichern wird nicht gebraucht!
+// Load/Save is unused!
SfxPoolItem* SvxNumberInfoItem::Create( SvStream& /*rStream*/, sal_uInt16 ) const
diff --git a/svx/source/items/pageitem.cxx b/svx/source/items/pageitem.cxx
index 80447b992892..1ebbdeaa8e9a 100644
--- a/svx/source/items/pageitem.cxx
+++ b/svx/source/items/pageitem.cxx
@@ -33,7 +33,6 @@ using namespace ::com::sun::star;
TYPEINIT1_FACTORY( SvxPageItem, SfxPoolItem , new SvxPageItem(0));
-// Konstruktor
SvxPageItem::SvxPageItem( const sal_uInt16 nId ) : SfxPoolItem( nId ),
eNumType ( SVX_ARABIC ),
@@ -42,7 +41,7 @@ SvxPageItem::SvxPageItem( const sal_uInt16 nId ) : SfxPoolItem( nId ),
{
}
-// Copy-Konstruktor
+// Copy-Ctor
SvxPageItem::SvxPageItem( const SvxPageItem& rItem )
: SfxPoolItem( rItem )
{
@@ -51,13 +50,13 @@ SvxPageItem::SvxPageItem( const SvxPageItem& rItem )
eUse = rItem.eUse;
}
-// Clonen
+// Clone
SfxPoolItem* SvxPageItem::Clone( SfxItemPool * ) const
{
return new SvxPageItem( *this );
}
-// Abfrage auf Gleichheit
+// Test for equality
bool SvxPageItem::operator==( const SfxPoolItem& rAttr ) const
{
DBG_ASSERT( SfxPoolItem::operator==(rAttr), "unequal types" );
@@ -147,7 +146,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
{
case MID_PAGE_NUMTYPE:
{
- //! die Konstanten sind nicht mehr in den IDLs ?!?
+ //! constants aren't in IDLs any more ?!?
rVal <<= (sal_Int16)( eNumType );
}
break;
@@ -165,7 +164,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
case SVX_PAGE_ALL : eRet = style::PageStyleLayout_ALL; break;
case SVX_PAGE_MIRROR: eRet = style::PageStyleLayout_MIRRORED; break;
default:
- OSL_FAIL("was fuer ein Layout ist das?");
+ OSL_FAIL("what layout is this?");
return false;
}
rVal <<= eRet;
diff --git a/svx/source/items/rotmodit.cxx b/svx/source/items/rotmodit.cxx
index 5750fc86c630..f35601038b0f 100644
--- a/svx/source/items/rotmodit.cxx
+++ b/svx/source/items/rotmodit.cxx
@@ -40,7 +40,7 @@ TYPEINIT1_FACTORY(SvxRotateModeItem, SfxEnumItem, new SvxRotateModeItem(SVX_ROTA
-// SvxRotateModeItem - Ausrichtung bei gedrehtem Text
+// SvxRotateModeItem - orientation with turned text
SvxRotateModeItem::SvxRotateModeItem( SvxRotateMode eMode, sal_uInt16 _nWhich )
@@ -75,7 +75,7 @@ bool SvxRotateModeItem::GetPresentation(
{
case SFX_ITEM_PRESENTATION_COMPLETE:
rText += "...: ";
-// break; // DURCHFALLEN!!!
+// break; // FALL THROUGH!!!
case SFX_ITEM_PRESENTATION_NAMELESS:
rText += OUString( GetValue() );