diff options
Diffstat (limited to 'sw/source/ui/uno/unoatxt.cxx')
-rw-r--r-- | sw/source/ui/uno/unoatxt.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/ui/uno/unoatxt.cxx b/sw/source/ui/uno/unoatxt.cxx index 8885ca9d82ea..c05d258f6374 100644 --- a/sw/source/ui/uno/unoatxt.cxx +++ b/sw/source/ui/uno/unoatxt.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 @@ -140,7 +140,7 @@ uno::Any SwXAutoTextContainer::getByName(const OUString& GroupName) SolarMutexGuard aGuard; uno::Reference< text::XAutoTextGroup > xGroup; - if ( pGlossaries && hasByName( GroupName ) ) // group name already known? + if ( pGlossaries && hasByName( GroupName ) ) // group name already known? // TRUE = create group if not already available xGroup = pGlossaries->GetAutoTextGroup( GroupName, TRUE ); @@ -196,7 +196,7 @@ uno::Reference< text::XAutoTextGroup > SwXAutoTextContainer::insertNewByName( for(sal_Int32 nPos = 0; nPos < aGroupName.getLength(); nPos++) { sal_Unicode cChar = aGroupName[nPos]; - if( ((cChar >= 'A') && (cChar <= 'Z')) || + if( ((cChar >= 'A') && (cChar <= 'Z')) || ((cChar >= 'a') && (cChar <= 'z')) || ((cChar >= '0') && (cChar <= '9')) || (cChar == '_') || @@ -275,7 +275,7 @@ sal_Int64 SAL_CALL SwXAutoTextGroup::getSomething( const uno::Sequence< sal_Int8 } SwXAutoTextGroup::SwXAutoTextGroup(const OUString& rName, - SwGlossaries* pGlos) : + SwGlossaries* pGlos) : pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_AUTO_TEXT_GROUP)), pGlossaries(pGlos), sName(rName), @@ -814,7 +814,7 @@ void SwXAutoTextEntry::implFlushDocument( bool _bCloseDoc ) void SwXAutoTextEntry::Notify( SfxBroadcaster& _rBC, const SfxHint& _rHint ) { if ( &_rBC == &xDocSh ) - { // it's our document + { // it's our document if ( _rHint.ISA( SfxSimpleHint ) ) { if ( SFX_HINT_DEINITIALIZING == static_cast< const SfxSimpleHint& >( _rHint ).GetId() ) @@ -1036,8 +1036,8 @@ uno::Reference< container::XNameReplace > SwXAutoTextEntry::getEvents() const struct SvEventDescription aAutotextEvents[] = { - { SW_EVENT_START_INS_GLOSSARY, "OnInsertStart" }, - { SW_EVENT_END_INS_GLOSSARY, "OnInsertDone" }, + { SW_EVENT_START_INS_GLOSSARY, "OnInsertStart" }, + { SW_EVENT_END_INS_GLOSSARY, "OnInsertDone" }, { 0, NULL } }; |