[Libreoffice-commits] core.git: include/svl svl/source
Tobias Lippert
drtl at fastmail.fm
Tue Mar 11 07:00:50 PDT 2014
include/svl/style.hxx | 24 ++++++++----------------
svl/source/items/style.cxx | 2 +-
2 files changed, 9 insertions(+), 17 deletions(-)
New commits:
commit 6ae226820a3ab9596ceb59e29ebcae843a48d14c
Author: Tobias Lippert <drtl at fastmail.fm>
Date: Wed Mar 5 20:12:12 2014 +0100
fdo#39468 Translate German comments
Change-Id: I051092f2ffb76a6ef400acd51514189ff20dad7d
Reviewed-on: https://gerrit.libreoffice.org/8486
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index da6931b..72bfaed 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -145,14 +145,8 @@ public:
virtual sal_uInt16 GetVersion() const;
};
+/* Class to iterate and search on a SfxStyleSheetBasePool */
class SVL_DLLPUBLIC SfxStyleSheetIterator
-
-/* [Beschreibung]
-
- Klasse zum Iterieren und Suchen auf einem SfxStyleSheetBasePool.
-
-*/
-
{
public:
/** Constructor.
@@ -328,16 +322,14 @@ public:
-#define SFX_STYLESHEET_CREATED 1 // neu
-#define SFX_STYLESHEET_MODIFIED 2 // ver"andert
-#define SFX_STYLESHEET_CHANGED 3 // gel"oscht und neu (ausgetauscht)
-#define SFX_STYLESHEET_ERASED 4 // gel"oscht
-#define SFX_STYLESHEET_INDESTRUCTION 5 // wird gerade entfernt
+#define SFX_STYLESHEET_CREATED 1 // new
+#define SFX_STYLESHEET_MODIFIED 2 // changed
+#define SFX_STYLESHEET_CHANGED 3 // erased and re-created (replaced)
+#define SFX_STYLESHEET_ERASED 4 // erased
+#define SFX_STYLESHEET_INDESTRUCTION 5 // in the process of being destructed
-#define SFX_STYLESHEETPOOL_CHANGES 1 // Aenderungen, die den Zustand
- // des Pools anedern, aber nicht
- // ueber die STYLESHEET Hints
- // verschickt werden sollen.
+#define SFX_STYLESHEETPOOL_CHANGES 1 // Changes which change the state of the pool, but should not be
+ // broadcasted by STYLESHEET hits.
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index ab9800e..406e5c2 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -734,7 +734,7 @@ void SfxStyleSheetBasePool::Remove( SfxStyleSheetBase* p )
bool bWasRemoved = mIndexedStyleSheets->RemoveStyleSheet(xP);
if( bWasRemoved )
{
- // Alle Styles umsetzen, deren Parent dieser hier ist
+ // Adapt all styles which have this style as parant
ChangeParent( p->GetName(), p->GetParent() );
// #120015# Do not dispose, the removed StyleSheet may still be used in
More information about the Libreoffice-commits
mailing list