Hi,
the "Textbaustein" (German) feature is "auto text" in LibreOffice. I
renamed the constant accordingly. Build of sw was successful.
Submitted under LGPLv3+ / MPL
Christina Rossmanith
>From c0e1f78f6e87f554bb8e8d38a1e81fa0a3b9bceb Mon Sep 17 00:00:00 2001
From: Christina Rossmanith <chrrossman...@web.de>
Date: Fri, 25 Feb 2011 21:49:07 +0100
Subject: [PATCH] renamed MACASSGN_TEXTBAUST -> MACASSGN_AUTOTEXT
---
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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice