diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2014-12-17 18:28:58 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-12-18 06:09:29 +0000 |
commit | 7efdc59d61c4f57780047627645caed81f3e654c (patch) | |
tree | a64e2bf46f378af2cb8983ec60c0d74a1de9e2a8 /include/sot | |
parent | 652e09f734fefb9b49787e8e565d235d504a1e73 (diff) |
fdo#39468 translate German comments
Change-Id: Ibcd2199db171c531018301631d76ec56924da23a
Reviewed-on: https://gerrit.libreoffice.org/13511
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sot')
-rw-r--r-- | include/sot/object.hxx | 8 | ||||
-rw-r--r-- | include/sot/storage.hxx | 29 |
2 files changed, 18 insertions, 19 deletions
diff --git a/include/sot/object.hxx b/include/sot/object.hxx index 0bcfdc7a8c44..9c52bdbbf74d 100644 --- a/include/sot/object.hxx +++ b/include/sot/object.hxx @@ -96,8 +96,8 @@ class SOT_DLLPUBLIC SotObject : virtual public SvRefBase friend class SotFactory; sal_uInt16 nOwnerLockCount; bool bOwner; - bool bSVObject; // Ist Proxy, dann TRUE wenn andere Seite SV ist - bool bInClose; // TRUE, im DoClose + bool bSVObject; // is proxy, then TRUE if other side is SV + bool bInClose; // TRUE, in DoClose protected: virtual ~SotObject(); @@ -115,7 +115,7 @@ public: virtual const SotFactory * GetSvFactory() const; virtual void * Cast( const SotFactory * ); - // Nur damit die Makros in So3 nicht ganz ausufern + // only for the macros in So3 not to get out of hand virtual IUnknown * GetInterface( const SvGlobalName & ); bool Owner() const { return bOwner; } @@ -127,7 +127,7 @@ public: bool IsInClose() const { return bInClose; } private: - // Kopieren und Zuweisen dieses Objekttyps ist nicht erlaubt + // copying and assigning this object type is not allowed SOT_DLLPRIVATE SotObject & operator = ( const SotObject & ); SOT_DLLPRIVATE SotObject( const SotObject & ); }; diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx index ce8466dd3e7a..2104e70f968c 100644 --- a/include/sot/storage.hxx +++ b/include/sot/storage.hxx @@ -52,7 +52,7 @@ class BaseStorageStream; class SOT_DLLPUBLIC SotStorageStream : virtual public SotObject, public SvStream { friend class SotStorage; - BaseStorageStream * pOwnStm;// Zeiger auf den eigenen Stream + BaseStorageStream * pOwnStm; // pointer to the own stream protected: virtual sal_uLong GetData( void* pData, sal_uLong nSize ) SAL_OVERRIDE; virtual sal_uLong PutData( const void* pData, sal_uLong nSize ) SAL_OVERRIDE; @@ -103,13 +103,13 @@ class SOT_DLLPUBLIC SotStorage : virtual public SotObject friend class SotStorageStream; friend class SvStorage; - BaseStorage * m_pOwnStg; // Zielstorage - SvStream * m_pStorStm; // nur fuer SDSTORAGES + BaseStorage * m_pOwnStg; // target storage + SvStream * m_pStorStm; // only for SDSTORAGES sal_uLong m_nError; - OUString m_aName; // Name des Storage - bool m_bIsRoot; // z.B.: File-Storage + OUString m_aName; // name of the storage + bool m_bIsRoot; // e.g.: File Storage bool m_bDelStm; - OString m_aKey; // aKey.Len != 0 -> Verschluesselung + OString m_aKey; // aKey.Len != 0 -> encryption long m_nVersion; protected: @@ -170,40 +170,39 @@ public: void SignAsRoot( bool b = true ) { m_bIsRoot = b; } void SetDeleteStream( bool bDelete ) { m_bDelStm = bDelete; } - // eigener Datenbereich + // own data sector virtual void SetClass( const SvGlobalName & rClass, sal_uLong bOriginalClipFormat, const OUString & rUserTypeName ); virtual void SetConvertClass( const SvGlobalName & rConvertClass, sal_uLong bOriginalClipFormat, const OUString & rUserTypeName ); - virtual SvGlobalName GetClassName();// Typ der Daten im Storage + virtual SvGlobalName GetClassName(); // type of data in the storage virtual sal_uLong GetFormat(); virtual OUString GetUserName(); virtual bool ShouldConvert(); - // Liste aller Elemente + // list of all elements virtual void FillInfoList( SvStorageInfoList * ) const; virtual bool CopyTo( SotStorage * pDestStg ); virtual bool Commit(); virtual bool Revert(); - /* Element Methoden */ - // Stream mit Verbindung zu Storage erzeugen, - // in etwa eine Parent-Child Beziehung + // create stream with connection to Storage, + // more or less a Parent-Child relationship SotStorageStream * OpenSotStream( const OUString & rEleName, StreamMode = STREAM_STD_READWRITE, StorageMode = 0 ); SotStorage * OpenSotStorage( const OUString & rEleName, StreamMode = STREAM_STD_READWRITE, bool transacted = true ); - // Abfrage auf Storage oder Stream + // query whether Storage or Stream virtual bool IsStream( const OUString & rEleName ) const; virtual bool IsStorage( const OUString & rEleName ) const; virtual bool IsContained( const OUString & rEleName ) const; - // Element loeschen + // remove element virtual bool Remove( const OUString & rEleName ); - // Elementnamen aendern + // change element's name virtual bool Rename( const OUString & rEleName, const OUString & rNewName ); virtual bool CopyTo( const OUString & rEleName, SotStorage * pDest, |