[Libreoffice-commits] .: sc/inc

Christina Rossmanith crossmanith at kemper.freedesktop.org
Tue Jan 25 13:04:59 PST 2011


 sc/inc/patattr.hxx |    2 +-
 sc/inc/pivot.hxx   |   12 +++++-------
 2 files changed, 6 insertions(+), 8 deletions(-)

New commits:
commit 38f08469c102b6777d98cc121c2f654f4565a1ed
Author: Christina Rossmanith <Christina Rossmanith>
Date:   Tue Jan 25 22:04:52 2011 +0100

    Translated comments from German to English

diff --git a/sc/inc/patattr.hxx b/sc/inc/patattr.hxx
index 6b49ad8..37e98f0 100644
--- a/sc/inc/patattr.hxx
+++ b/sc/inc/patattr.hxx
@@ -82,7 +82,7 @@ public:
     static const SfxPoolItem& GetItem( USHORT nWhich, const SfxItemSet& rItemSet, const SfxItemSet* pCondSet );
     const SfxPoolItem&		GetItem( USHORT nWhich, const SfxItemSet* pCondSet ) const;
 
-                            // pWhich sind keine Ranges, sondern einzelne IDs, 0-terminiert
+                            // pWhich are no ranges, but single IDs, 0-terminated
     BOOL					HasItemsSet( const USHORT* pWhich ) const;
     void					ClearItems( const USHORT* pWhich );
 
diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx
index 3042002..511f1ed 100644
--- a/sc/inc/pivot.hxx
+++ b/sc/inc/pivot.hxx
@@ -26,8 +26,8 @@
  *
  ************************************************************************/
 /*
-    WICHTIG:
-    Folgende Reihenfolge beim Aufbau der Pivot-Tabelle unbedingt einzuhalten:
+    IMPORTANT:
+    Strictly adhere to the following sequence when creating a pivot table:
 
     pPivot->SetColFields(aColArr, aColCount)
     pPivot->SetRowFields(aRowArr, aRowCount)
@@ -38,9 +38,7 @@
         pPivotReleaseData();
     }
 
-    ausserdem ist sicherzustellen, dass entweder das ColArr oder das RowArr
-    einen PivotDataField Eintrag enthalten
-
+    Make sure that either ColArr or RowArr contains a PivotDataField entry.
 */
 
 
@@ -93,8 +91,8 @@ struct PivotField
 // implementation still in global2.cxx
 struct ScPivotParam
 {
-    SCCOL           nCol;           // Cursor Position /
-    SCROW           nRow;           // bzw. Anfang des Zielbereiches
+    SCCOL           nCol;           // cursor position /
+    SCROW           nRow;           // or start of destination area
     SCTAB           nTab;
     ::std::vector<ScDPLabelDataRef> maLabelArray;
     ::std::vector<PivotField> maPageFields;


More information about the Libreoffice-commits mailing list