diff options
Diffstat (limited to 'sw/source/ui/dochdl/gloshdl.cxx')
-rw-r--r-- | sw/source/ui/dochdl/gloshdl.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sw/source/ui/dochdl/gloshdl.cxx b/sw/source/ui/dochdl/gloshdl.cxx index 5f1e3795cdc6..ba5de0746ecf 100644 --- a/sw/source/ui/dochdl/gloshdl.cxx +++ b/sw/source/ui/dochdl/gloshdl.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -55,9 +55,9 @@ #include <gloshdl.hxx> #include <glosdoc.hxx> #include <shellio.hxx> -#include <swundo.hxx> // fuer Undo-Ids +#include <swundo.hxx> // fuer Undo-Ids #include <expfld.hxx> -#include <initui.hxx> // fuer ::GetGlossaries() +#include <initui.hxx> // fuer ::GetGlossaries() #include <gloslst.hxx> #include <swdtflvr.hxx> #include <docsh.hxx> @@ -92,7 +92,7 @@ SV_IMPL_PTRARR( TextBlockInfoArr, TextBlockInfo_ImplPtr ) SV_IMPL_REF( SwDocShell ) /*------------------------------------------------------------------------ - Beschreibung: Dialog fuer Bearbeiten Vorlagen + Beschreibung: Dialog fuer Bearbeiten Vorlagen ------------------------------------------------------------------------*/ void SwGlossaryHdl::GlossaryDlg() { @@ -121,7 +121,7 @@ void SwGlossaryHdl::GlossaryDlg() } /*------------------------------------------------------------------------ - Beschreibung: Setzen der aktuellen Gruppe; falls aus dem Dialog + Beschreibung: Setzen der aktuellen Gruppe; falls aus dem Dialog gerufen, wird die Gruppe temp. erzeugt fuer einen schnelleren Zugriff ------------------------------------------------------------------------*/ @@ -158,11 +158,11 @@ void SwGlossaryHdl::SetCurGroup(const String &rGrp, BOOL bApi, BOOL bAlwaysCreat sGroup.GetToken(0, GLOS_DELIM) == sCurBase) bPathEqual = TRUE; } -// const String aMac_Tmp(pCurGrp->GetName()); +// const String aMac_Tmp(pCurGrp->GetName()); // Beim Pfadwechsel kann man sich auf den Namen nicht verlassen if(!bAlwaysCreateNew && bPathEqual -// aMac_Tmp == sGroup +// aMac_Tmp == sGroup ) return; } @@ -291,7 +291,7 @@ BOOL SwGlossaryHdl::DelGroup(const String &rGrpName) } /*------------------------------------------------------------------------ - Beschreibung: Anzahl Textbausteine erfragen + Beschreibung: Anzahl Textbausteine erfragen ------------------------------------------------------------------------*/ USHORT SwGlossaryHdl::GetGlossaryCnt() { @@ -304,14 +304,14 @@ String SwGlossaryHdl::GetGlossaryName( USHORT nId ) return pCurGrp->GetLongName( nId ); } -String SwGlossaryHdl::GetGlossaryShortName(USHORT nId) +String SwGlossaryHdl::GetGlossaryShortName(USHORT nId) { OSL_ENSURE(nId < GetGlossaryCnt(), "Textbausteinarray ueberindiziert."); return pCurGrp->GetShortName( nId ); } /*------------------------------------------------------------------------ - Beschreibung: Kurzname erfragen + Beschreibung: Kurzname erfragen ------------------------------------------------------------------------*/ String SwGlossaryHdl::GetGlossaryShortName(const String &rName) { @@ -330,7 +330,7 @@ String SwGlossaryHdl::GetGlossaryShortName(const String &rName) } /*------------------------------------------------------------------------ - Beschreibung: Kuerzel fuer Textbaustein bereits verwendet? + Beschreibung: Kuerzel fuer Textbaustein bereits verwendet? ------------------------------------------------------------------------*/ BOOL SwGlossaryHdl::HasShortName(const String& rShortName) const { @@ -362,7 +362,7 @@ BOOL SwGlossaryHdl::ConvertToNew(SwTextBlocks& /*rOld*/) } /*------------------------------------------------------------------------ - Beschreibung: Erzeugen eines Textbausteines + Beschreibung: Erzeugen eines Textbausteines ------------------------------------------------------------------------*/ BOOL SwGlossaryHdl::NewGlossary(const String& rName, const String& rShortName, BOOL bCreateGroup, BOOL bNoAttr) @@ -397,7 +397,7 @@ BOOL SwGlossaryHdl::NewGlossary(const String& rName, const String& rShortName, return BOOL( nSuccess != (USHORT) -1 ); } /*------------------------------------------------------------------------ - Beschreibung: Loeschen eines Textbausteines + Beschreibung: Loeschen eines Textbausteines ------------------------------------------------------------------------*/ BOOL SwGlossaryHdl::DelGlossary(const String &rShortName) { @@ -463,7 +463,7 @@ BOOL SwGlossaryHdl::Expand( const String& rShortName, String aShortName( rShortName ); BOOL bCancel = FALSE; // search for text block - //#b6633427# - don't prefer current group depending on configuration setting + //#b6633427# - don't prefer current group depending on configuration setting const SvxAutoCorrCfg* pCfg = SvxAutoCorrCfg::Get(); USHORT nFound = !pCfg->IsSearchInAllCategories() ? pGlossary->GetIndex( aShortName ) : -1; // if not found then search in all groups @@ -642,7 +642,7 @@ BOOL SwGlossaryHdl::InsertGlossary(const String &rName) } /*------------------------------------------------------------------------ - Beschreibung: Macro setzen / erfragen + Beschreibung: Macro setzen / erfragen ------------------------------------------------------------------------*/ void SwGlossaryHdl::SetMacros(const String& rShortName, const SvxMacro* pStart, @@ -695,7 +695,7 @@ void SwGlossaryHdl::GetMacros( const String &rShortName, /*------------------------------------------------------------------------ - Beschreibung: ctor, dtor + Beschreibung: ctor, dtor ------------------------------------------------------------------------*/ SwGlossaryHdl::SwGlossaryHdl(SfxViewFrame* pVwFrm, SwWrtShell *pSh) : rStatGlossaries( *::GetGlossaries() ), @@ -713,7 +713,7 @@ SwGlossaryHdl::~SwGlossaryHdl() } /*------------------------------------------------------------------------ - Beschreibung: Umbenennen eines Textbausteines + Beschreibung: Umbenennen eines Textbausteines ------------------------------------------------------------------------*/ BOOL SwGlossaryHdl::Rename(const String& rOldShort, const String& rNewShortName, const String& rNewName ) |