[PATCH] renamed MACASSGN_TEXTBAUST -> MACASSGN_AUTOTEXT

Christina Rossmanith ChrRossmanith at web.de
Fri Feb 25 12:49:07 PST 2011


---
 sw/source/ui/dialog/macassgn.cxx |    2 +-
 sw/source/ui/inc/macassgn.hxx    |    2 +-
 sw/source/ui/misc/glossary.cxx   |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sw/source/ui/dialog/macassgn.cxx b/sw/source/ui/dialog/macassgn.cxx
index 85dbb53..6daac06 100644
--- a/sw/source/ui/dialog/macassgn.cxx
+++ b/sw/source/ui/dialog/macassgn.cxx
@@ -70,7 +70,7 @@ SfxEventNamesItem SwMacroAssignDlg::AddEvents( DlgEventType eType )
 
     switch( eType )
     {
-    case MACASSGN_TEXTBAUST:			// text building blocks
+    case MACASSGN_AUTOTEXT:
         aItem.AddEvent( String( SW_RES(STR_EVENT_START_INS_GLOSSARY) ), String(),
                             SW_EVENT_START_INS_GLOSSARY );
         aItem.AddEvent( String( SW_RES(STR_EVENT_END_INS_GLOSSARY) ), String(), 
diff --git a/sw/source/ui/inc/macassgn.hxx b/sw/source/ui/inc/macassgn.hxx
index 1872e53..c2be6cb 100644
--- a/sw/source/ui/inc/macassgn.hxx
+++ b/sw/source/ui/inc/macassgn.hxx
@@ -35,7 +35,7 @@ class SvxMacroItem;
 
 enum DlgEventType
 {
-    MACASSGN_TEXTBAUST,
+    MACASSGN_AUTOTEXT,
     MACASSGN_GRAPHIC,
     MACASSGN_OLE,
     MACASSGN_FRMURL,
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx
index 990406d..0c708a8 100644
--- a/sw/source/ui/misc/glossary.cxx
+++ b/sw/source/ui/misc/glossary.cxx
@@ -590,7 +590,7 @@ IMPL_LINK( SwGlossaryDlg, MenuHdl, Menu *, pMn )
                 aItem.SetMacro( SW_EVENT_END_INS_GLOSSARY, aEnd );
 
             aSet.Put( aItem );
-            aSet.Put( SwMacroAssignDlg::AddEvents( MACASSGN_TEXTBAUST ) );
+            aSet.Put( SwMacroAssignDlg::AddEvents( MACASSGN_AUTOTEXT ) );
 
             const SfxPoolItem* pItem;
             SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
-- 
1.7.0.4


--------------060902030907040803090307--


More information about the LibreOffice mailing list