Visual Formula Editor for LibreOffice Math ========================================== This file contains a list of things to do for the visual formula editor. The visual formula editor hack was started by Jonas during GSoC... He is, as of writing this, still working on this features, but do by all means feel free to help out. Here is the list of things to be done. They are organized by complexity and necessity, note that some of the items are wishful thinking... If you have questions please feel free to ping me (Jonas) on IRC (jopsen) or e-mail me at jopsen@gmail.com. Easy ---- 1. SmGraphicWindow::KeyInput relies on comparison of sal_Char, a better way must be available for CTRL+c 2. Code style (missing spaces, linebreaks and a few renames) 3. More documentation 4. Remove the CreateTextFromNode methods and replace calls to it with NodeToTextVisitor 5. Extend NodeToTextVisitor to update token offsets so SmNode::GetRow and SmNode::GetColumn will work. (These methods can be used to enable synchronization of caret positions between visual and non-visual editor). Medium ------ 1. SmCursor::InsertCol() method for added columns to matrices should be implemented. 2. SmCursor` should support deletion of lines, rows, cols and sub-/superscripts. 3. SmCursor::InsertSubSup() should wrap the body in a SmBraceNode if the body is an SmOperNode, SmBinVerNode, etc. 4. When OpenOffice Math runs in standalone mode it centers the current formula, this is not nice for visual editing. Complex ------- 1. SmAlignNode and SmFontNode are ignored by visual editor, figure out how these should work. 2. Solve the flickering issue when drawing formulas (See dev@gsl.OpenOffice.org) 3. Make " a shortcut for creating an SmTextNode with FNT_TEXT, also check that SmNodeToTextVisitor supports this. 4. parse.cxx merges multiple blanks into one SmBlankNode, the visual editor doesn't... Complex and non-essential ------------------------- * Global clipboard integration * Consider improving GUI for "Formula Elements"-dialog, most buttons work with visual editor * Consider allowing users to enter commands in visual editor, by prefixing the command... * Optimize things, for instance SmCursor::AnnotateSelection() is called way too many places... * Improve handling of MoveUp and MoveDown in SmCursor::Move, SmCaretPos2LineVisitor might need improvement. * Synchronized command text caret and visual editor caret. ion value='distro/collabora/co-22.05-testflight'>distro/collabora/co-22.05-testflight LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 17:52:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-27 06:42:45 -0600
commita67c2a12bccef06f1fb17d8fbae08e44f44c4392 (patch)
tree354b2448d2aa8259a05ceb4e82605f8e37176528 /comphelper
parent65453d5aebdf851034632d5593f0a1023f7015fe (diff)
Remove visual noise from comphelper
Change-Id: I7e5512b43240beee05404cff9d49a87d0217ea89 Reviewed-on: https://gerrit.libreoffice.org/8242 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/qa/complex/comphelper/Map.java6
-rw-r--r--comphelper/source/container/container.cxx10
-rw-r--r--comphelper/source/container/containermultiplexer.cxx16
-rw-r--r--comphelper/source/container/enumerablemap.cxx48
-rw-r--r--comphelper/source/container/enumhelper.cxx20
-rw-r--r--comphelper/source/eventattachermgr/eventattachermgr.cxx16
-rw-r--r--comphelper/source/inc/comphelper_module.hxx8
-rw-r--r--comphelper/source/misc/SelectionMultiplex.cxx16
-rw-r--r--comphelper/source/misc/accessiblecomponenthelper.cxx20
-rw-r--r--comphelper/source/misc/accessiblecontexthelper.cxx16
-rw-r--r--comphelper/source/misc/accessibleeventnotifier.cxx12
-rw-r--r--comphelper/source/misc/accessiblekeybindinghelper.cxx12
-rw-r--r--comphelper/source/misc/accessibleselectionhelper.cxx16
-rw-r--r--comphelper/source/misc/accessibletexthelper.cxx16
-rw-r--r--comphelper/source/misc/accessiblewrapper.cxx24
-rw-r--r--comphelper/source/misc/accimplaccess.cxx16
-rw-r--r--comphelper/source/misc/anycompare.cxx16
-rw-r--r--comphelper/source/misc/anytostring.cxx2
-rw-r--r--comphelper/source/misc/asyncnotification.cxx28
-rw-r--r--comphelper/source/misc/comphelper_module.cxx8
-rw-r--r--comphelper/source/misc/comphelper_services.cxx8
-rw-r--r--comphelper/source/misc/componentbase.cxx12
-rw-r--r--comphelper/source/misc/componentmodule.cxx16
-rw-r--r--comphelper/source/misc/docpasswordhelper.cxx24
-rw-r--r--comphelper/source/misc/docpasswordrequest.cxx10
-rw-r--r--comphelper/source/misc/documentinfo.cxx16
-rw-r--r--comphelper/source/misc/ihwrapnofilter.cxx4
-rw-r--r--comphelper/source/misc/instancelocker.cxx8
-rw-r--r--comphelper/source/misc/interaction.cxx16
-rw-r--r--comphelper/source/misc/listenernotification.cxx12
-rw-r--r--comphelper/source/misc/logging.cxx28
-rw-r--r--comphelper/source/misc/namedvaluecollection.cxx16
-rw-r--r--comphelper/source/misc/numbers.cxx8
-rw-r--r--comphelper/source/misc/officeresourcebundle.cxx16
-rw-r--r--comphelper/source/misc/proxyaggregation.cxx22
-rw-r--r--comphelper/source/misc/sharedmutex.cxx12
-rw-r--r--comphelper/source/misc/synchronousdispatch.cxx12
-rw-r--r--comphelper/source/misc/types.cxx8
-rw-r--r--comphelper/source/misc/weakeventlistener.cxx16
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.cxx46
-rw-r--r--comphelper/source/officeinstdir/officeinstallationdirectories.hxx2
-rw-r--r--comphelper/source/property/MasterPropertySet.cxx4
-rw-r--r--comphelper/source/property/genericpropertyset.cxx4
-rw-r--r--comphelper/source/property/opropertybag.cxx12
-rw-r--r--comphelper/source/property/opropertybag.hxx12
-rw-r--r--comphelper/source/property/propagg.cxx20
-rw-r--r--comphelper/source/property/property.cxx6
-rw-r--r--comphelper/source/property/propertybag.cxx16
-rw-r--r--comphelper/source/property/propertycontainer.cxx12
-rw-r--r--comphelper/source/property/propertycontainerhelper.cxx12
-rw-r--r--comphelper/source/property/propertysethelper.cxx4
-rw-r--r--comphelper/source/property/propertysetinfo.cxx2
-rw-r--r--comphelper/source/property/propertystatecontainer.cxx12
-rw-r--r--comphelper/source/property/propmultiplex.cxx16
-rw-r--r--comphelper/source/property/propstate.cxx16
-rw-r--r--comphelper/source/streaming/basicio.cxx8
-rw-r--r--comphelper/source/xml/ofopxmlhelper.cxx2
57 files changed, 398 insertions, 398 deletions
diff --git a/comphelper/qa/complex/comphelper/Map.java b/comphelper/qa/complex/comphelper/Map.java
index 20ce90e166c4..0603ba34e13f 100644
--- a/comphelper/qa/complex/comphelper/Map.java
+++ b/comphelper/qa/complex/comphelper/Map.java
@@ -193,7 +193,7 @@ public class Map /* extends complexlib.ComplexTestCase */
Type intType = new Type( Integer.class );
Type longType = new Type( Long.class );
Type msfType = new Type ( XMultiServiceFactory.class );
- // ....................................................................
+
// css.uno.Type should be a valid key type
impl_checkMappings(
new Type[] { intType, longType, msfType },
@@ -201,7 +201,7 @@ public class Map /* extends complexlib.ComplexTestCase */
"type->string"
);
- // ....................................................................
+
// any UNO interface type should be a valid key type.
// Try with some form components (just because I like form components :), and the very first application
// for the newly implemented map will be to map XFormComponents to drawing shapes
@@ -216,7 +216,7 @@ public class Map /* extends complexlib.ComplexTestCase */
components[0] = UnoRuntime.queryInterface( formComponentType.getZClass(), components[0] );
impl_checkMappings( components, serviceNames, "XFormComponent->string" );
- // ....................................................................
+
// any UNO enum type should be a valid key type
impl_checkMappings(
new TypeClass[] { intType.getTypeClass(), longType.getTypeClass(), msfType.getTypeClass() },
diff --git a/comphelper/source/container/container.cxx b/comphelper/source/container/container.cxx
index b04c11aeb8ad..73a3b2016bd8 100644
--- a/comphelper/source/container/container.cxx
+++ b/comphelper/source/container/container.cxx
@@ -23,12 +23,12 @@
#include <comphelper/container.hxx>
#include <osl/diagnose.h>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
-//==============================================================================
+
+
IndexAccessIterator::IndexAccessIterator(::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> xStartingPoint)
:m_xStartingPoint(xStartingPoint)
,m_xCurrentObject(NULL)
@@ -133,9 +133,9 @@ IndexAccessIterator::~IndexAccessIterator() {}
return m_xCurrentObject;
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/container/containermultiplexer.cxx b/comphelper/source/container/containermultiplexer.cxx
index 6c600b023927..4f04c5b53753 100644
--- a/comphelper/source/container/containermultiplexer.cxx
+++ b/comphelper/source/container/containermultiplexer.cxx
@@ -20,18 +20,18 @@
#include "comphelper/containermultiplexer.hxx"
#include "comphelper/uno3.hxx"
#include <osl/diagnose.h>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::container;
- //=====================================================================
+
//= OContainerListener
- //=====================================================================
+
OContainerListener::OContainerListener(::osl::Mutex& _rMutex)
:m_pAdapter(NULL)
@@ -91,9 +91,9 @@ namespace comphelper
}
}
- //=====================================================================
+
//= OContainerListenerAdapter
- //=====================================================================
+
OContainerListenerAdapter::OContainerListenerAdapter(OContainerListener* _pListener,
const Reference< XContainer >& _rxContainer)
@@ -179,8 +179,8 @@ namespace comphelper
m_pListener->_elementReplaced(_rEvent);
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx
index 2d9eaa972541..8688486fc793 100644
--- a/comphelper/source/container/enumerablemap.cxx
+++ b/comphelper/source/container/enumerablemap.cxx
@@ -40,10 +40,10 @@
#include <map>
#include <boost/shared_ptr.hpp>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
@@ -80,9 +80,9 @@ namespace comphelper
using ::com::sun::star::lang::WrappedTargetException;
using ::com::sun::star::lang::DisposedException;
- //====================================================================
+
//= MapData
- //====================================================================
+
class IMapModificationListener;
typedef ::std::vector< IMapModificationListener* > MapListeners;
@@ -114,9 +114,9 @@ namespace comphelper
MapData& operator=( const MapData& _source ); // not implemented
};
- //====================================================================
+
//= IMapModificationListener
- //====================================================================
+
/** implemented by components who want to be notified of modifications in the MapData they work with
*/
class SAL_NO_VTABLE IMapModificationListener
@@ -129,9 +129,9 @@ namespace comphelper
}
};
- //====================================================================
+
//= MapData helpers
- //====================================================================
+
static void lcl_registerMapModificationListener( MapData& _mapData, IMapModificationListener& _listener )
{
@@ -176,9 +176,9 @@ namespace comphelper
}
}
- //====================================================================
+
//= EnumerableMap
- //====================================================================
+
typedef ::cppu::WeakAggComponentImplHelper3 < XInitialization
, XEnumerableMap
, XServiceInfo
@@ -241,17 +241,17 @@ namespace comphelper
m_aDependentComponents;
};
- //====================================================================
+
//= EnumerationType
- //====================================================================
+
enum EnumerationType
{
eKeys, eValues, eBoth
};
- //====================================================================
+
//= MapEnumerator
- //====================================================================
+
class MapEnumerator : public IMapModificationListener
{
public:
@@ -299,9 +299,9 @@ namespace comphelper
MapEnumerator& operator=( const MapEnumerator& ); // not implemented
};
- //====================================================================
+
//= MapEnumeration
- //====================================================================
+
typedef ::cppu::WeakImplHelper1 < XEnumeration
> MapEnumeration_Base;
class MapEnumeration :public ComponentBase
@@ -339,9 +339,9 @@ namespace comphelper
MapEnumerator m_aEnumerator;
};
- //====================================================================
+
//= EnumerableMap
- //====================================================================
+
EnumerableMap::EnumerableMap()
:Map_IFace( m_aMutex )
@@ -721,9 +721,9 @@ namespace comphelper
return *new EnumerableMap;
}
- //====================================================================
+
//= MapEnumerator
- //====================================================================
+
bool MapEnumerator::hasMoreElements()
{
@@ -757,9 +757,9 @@ namespace comphelper
m_disposed = true;
}
- //====================================================================
+
//= MapEnumeration - implementation
- //====================================================================
+
::sal_Bool SAL_CALL MapEnumeration::hasMoreElements( ) throw (RuntimeException, std::exception)
{
@@ -774,9 +774,9 @@ namespace comphelper
return m_aEnumerator.nextElement();
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
void createRegistryInfo_Map()
{
diff --git a/comphelper/source/container/enumhelper.cxx b/comphelper/source/container/enumhelper.cxx
index 07cb797e7238..343b27655a95 100644
--- a/comphelper/source/container/enumhelper.cxx
+++ b/comphelper/source/container/enumhelper.cxx
@@ -20,14 +20,14 @@
#include <comphelper/enumhelper.hxx>
#include <com/sun/star/lang/XComponent.hpp>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
-//==================================================================
+
+
//= OEnumerationByName
-//==================================================================
+
OEnumerationByName::OEnumerationByName(const staruno::Reference<starcontainer::XNameAccess>& _rxAccess)
:m_aNames(_rxAccess->getElementNames())
@@ -140,9 +140,9 @@ void OEnumerationByName::impl_stopDisposeListening()
--m_refCount;
}
-//==================================================================
+
//= OEnumerationByIndex
-//==================================================================
+
OEnumerationByIndex::OEnumerationByIndex(const staruno::Reference< starcontainer::XIndexAccess >& _rxAccess)
:m_nPos(0)
@@ -243,9 +243,9 @@ void OEnumerationByIndex::impl_stopDisposeListening()
--m_refCount;
}
-//==================================================================
+
//= OAnyEnumeration
-//==================================================================
+
OAnyEnumeration::OAnyEnumeration(const staruno::Sequence< staruno::Any >& lItems)
@@ -280,9 +280,9 @@ staruno::Any SAL_CALL OAnyEnumeration::nextElement( )
return m_lItems[nPos];
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/eventattachermgr/eventattachermgr.cxx b/comphelper/source/eventattachermgr/eventattachermgr.cxx
index ece585f4603f..5c4cfb3dde79 100644
--- a/comphelper/source/eventattachermgr/eventattachermgr.cxx
+++ b/comphelper/source/eventattachermgr/eventattachermgr.cxx
@@ -141,9 +141,9 @@ private:
::std::deque<AttacherIndex_Impl>::iterator implCheckIndex( sal_Int32 _nIndex ) SAL_THROW ( ( IllegalArgumentException ) );
};
-//========================================================================
-//========================================================================
-//========================================================================
+
+
+
// Implementation of an EventAttacher-subclass 'AllListeners', which
@@ -169,7 +169,7 @@ public:
virtual void SAL_CALL disposing(const EventObject& Source) throw( RuntimeException, std::exception );
};
-//========================================================================
+
AttacherAllListener_Impl::AttacherAllListener_Impl
(
ImplEventAttacherManager* pManager_,
@@ -184,7 +184,7 @@ AttacherAllListener_Impl::AttacherAllListener_Impl
}
-//========================================================================
+
// Methods of XAllListener
void SAL_CALL AttacherAllListener_Impl::firing(const AllEventObject& Event)
throw( RuntimeException, std::exception )
@@ -204,7 +204,7 @@ void SAL_CALL AttacherAllListener_Impl::firing(const AllEventObject& Event)
((XScriptListener *)aIt.next())->firing( aScriptEvent );
}
-//========================================================================
+
// Convert to the standard event return
void AttacherAllListener_Impl::convertToEventReturn( Any & rRet, const Type & rRetType )
throw( CannotConvertException )
@@ -250,7 +250,7 @@ void AttacherAllListener_Impl::convertToEventReturn( Any & rRet, const Type & rR
}
}
-//========================================================================
+
// Methods of XAllListener
Any SAL_CALL AttacherAllListener_Impl::approveFiring( const AllEventObject& Event )
throw( InvocationTargetException, RuntimeException, std::exception )
@@ -338,7 +338,7 @@ Any SAL_CALL AttacherAllListener_Impl::approveFiring( const AllEventObject& Even
return aRet;
}
-//========================================================================
+
// Methods of XEventListener
void SAL_CALL AttacherAllListener_Impl::disposing(const EventObject& )
throw( RuntimeException, std::exception )
diff --git a/comphelper/source/inc/comphelper_module.hxx b/comphelper/source/inc/comphelper_module.hxx
index 12ba762646f4..1a56d00e5127 100644
--- a/comphelper/source/inc/comphelper_module.hxx
+++ b/comphelper/source/inc/comphelper_module.hxx
@@ -22,10 +22,10 @@
#include "comphelper/componentmodule.hxx"
-//........................................................................
+
namespace comphelper { namespace module
{
-//........................................................................
+
class ComphelperModule : public ::comphelper::OModule
{
@@ -77,9 +77,9 @@ namespace comphelper { namespace module
}
};
-//........................................................................
+
} } // namespace comphelper::module
-//........................................................................
+
#endif // COMPHELPER_COMPHELPER_MODULE_HXX
diff --git a/comphelper/source/misc/SelectionMultiplex.cxx b/comphelper/source/misc/SelectionMultiplex.cxx
index 20ad358ea80d..c01135ead098 100644
--- a/comphelper/source/misc/SelectionMultiplex.cxx
+++ b/comphelper/source/misc/SelectionMultiplex.cxx
@@ -21,18 +21,18 @@
#include <comphelper/SelectionMultiplex.hxx>
#include <osl/diagnose.h>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::view;
-//========================================================================
+
//= OSelectionChangeListener
-//========================================================================
+
OSelectionChangeListener::~OSelectionChangeListener()
{
@@ -65,9 +65,9 @@ void OSelectionChangeListener::setAdapter(OSelectionChangeMultiplexer* pAdapter)
}
}
-//========================================================================
+
//= OSelectionChangeMultiplexer
-//========================================================================
+
OSelectionChangeMultiplexer::OSelectionChangeMultiplexer(OSelectionChangeListener* _pListener, const Reference< XSelectionSupplier>& _rxSet, bool _bAutoReleaseSet)
:m_xSet(_rxSet)
@@ -149,8 +149,8 @@ void SAL_CALL OSelectionChangeMultiplexer::selectionChanged( const EventObject&
if (m_pListener && !locked())
m_pListener->_selectionChanged(_rEvent);
}
-//.........................................................................
+
}
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/accessiblecomponenthelper.cxx b/comphelper/source/misc/accessiblecomponenthelper.cxx
index 631670849042..61b94e427b62 100644
--- a/comphelper/source/misc/accessiblecomponenthelper.cxx
+++ b/comphelper/source/misc/accessiblecomponenthelper.cxx
@@ -19,19 +19,19 @@
#include <comphelper/accessiblecomponenthelper.hxx>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::accessibility;
- //=====================================================================
+
//= OCommonAccessibleComponent
- //=====================================================================
+
OCommonAccessibleComponent::OCommonAccessibleComponent( IMutex* _pExternalLock )
:OAccessibleContextHelper( _pExternalLock )
@@ -97,9 +97,9 @@ namespace comphelper
return implGetBounds();
}
- //=====================================================================
+
//= OAccessibleComponentHelper
- //=====================================================================
+
OAccessibleComponentHelper::OAccessibleComponentHelper( IMutex* _pExternalLock )
:OCommonAccessibleComponent( _pExternalLock )
@@ -141,9 +141,9 @@ namespace comphelper
return OCommonAccessibleComponent::getBounds( );
}
- //=====================================================================
+
//= OAccessibleExtendedComponentHelper
- //=====================================================================
+
OAccessibleExtendedComponentHelper::OAccessibleExtendedComponentHelper( IMutex* _pExternalLock )
:OCommonAccessibleComponent( _pExternalLock )
@@ -185,9 +185,9 @@ namespace comphelper
return OCommonAccessibleComponent::getBounds( );
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/accessiblecontexthelper.cxx b/comphelper/source/misc/accessiblecontexthelper.cxx
index 009853485a19..dc9d6ec57565 100644
--- a/comphelper/source/misc/accessiblecontexthelper.cxx
+++ b/comphelper/source/misc/accessiblecontexthelper.cxx
@@ -24,10 +24,10 @@
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <comphelper/accessibleeventnotifier.hxx>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -35,9 +35,9 @@ namespace comphelper
IMutex::~IMutex() {}
- //=====================================================================
+
//= OContextHelper_Impl
- //=====================================================================
+
/** implementation class for OAccessibleContextHelper. No own thread safety!
*/
class OContextHelper_Impl
@@ -75,9 +75,9 @@ namespace comphelper
m_aCreator = _rAcc;
}
- //=====================================================================
+
//= OAccessibleContextHelper
- //=====================================================================
+
OAccessibleContextHelper::OAccessibleContextHelper( IMutex* _pExternalLock )
:OAccessibleContextHelper_Base( GetMutex() )
@@ -302,9 +302,9 @@ namespace comphelper
return xParentContext;
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/accessibleeventnotifier.cxx b/comphelper/source/misc/accessibleeventnotifier.cxx
index 97187c3fb1c4..9f9c90df6750 100644
--- a/comphelper/source/misc/accessibleeventnotifier.cxx
+++ b/comphelper/source/misc/accessibleeventnotifier.cxx
@@ -31,9 +31,9 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::accessibility;
using namespace ::comphelper;
-//=====================================================================
+
//= AccessibleEventNotifier
-//=====================================================================
+
namespace
{
@@ -143,10 +143,10 @@ namespace
}
}
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
AccessibleEventNotifier::TClientId AccessibleEventNotifier::registerClient( )
@@ -293,8 +293,8 @@ namespace comphelper
}
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/accessiblekeybindinghelper.cxx b/comphelper/source/misc/accessiblekeybindinghelper.cxx
index 0455108a2700..5e739edf9205 100644
--- a/comphelper/source/misc/accessiblekeybindinghelper.cxx
+++ b/comphelper/source/misc/accessiblekeybindinghelper.cxx
@@ -20,19 +20,19 @@
#include <comphelper/accessiblekeybindinghelper.hxx>
-//..............................................................................
+
namespace comphelper
{
-//..............................................................................
+
using namespace ::com::sun::star; // MT 04/2003: was ::drafts::com::sun::star - otherwise to many changes
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::accessibility;
- //==============================================================================
+
// OAccessibleKeyBindingHelper
- //==============================================================================
+
OAccessibleKeyBindingHelper::OAccessibleKeyBindingHelper()
{
@@ -97,8 +97,8 @@ namespace comphelper
-//..............................................................................
+
} // namespace comphelper
-//..............................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/accessibleselectionhelper.cxx b/comphelper/source/misc/accessibleselectionhelper.cxx
index 41b5c7727040..35c6622a75a8 100644
--- a/comphelper/source/misc/accessibleselectionhelper.cxx
+++ b/comphelper/source/misc/accessibleselectionhelper.cxx
@@ -19,19 +19,19 @@
#include <comphelper/accessibleselectionhelper.hxx>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::accessibility;
- //=====================================================================
+
//= OCommonAccessibleSelection
- //=====================================================================
+
OCommonAccessibleSelection::OCommonAccessibleSelection( )
{
@@ -105,9 +105,9 @@ namespace comphelper
implSelect( nSelectedChildIndex, sal_False );
}
- //=====================================================================
+
//= OAccessibleSelectionHelper
- //=====================================================================
+
OAccessibleSelectionHelper::OAccessibleSelectionHelper( IMutex* _pExternalLock ) : OAccessibleComponentHelper(_pExternalLock)
{
@@ -173,8 +173,8 @@ namespace comphelper
OCommonAccessibleSelection::deselectAccessibleChild( nSelectedChildIndex );
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/accessibletexthelper.cxx b/comphelper/source/misc/accessibletexthelper.cxx
index 51a6ef8435d6..e088cd197764 100644
--- a/comphelper/source/misc/accessibletexthelper.cxx
+++ b/comphelper/source/misc/accessibletexthelper.cxx
@@ -29,10 +29,10 @@
#include <algorithm>
-//..............................................................................
+
namespace comphelper
{
-//..............................................................................
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -40,9 +40,9 @@ namespace comphelper
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::accessibility;
- //==============================================================================
+
// OCommonAccessibleText
- //==============================================================================
+
OCommonAccessibleText::OCommonAccessibleText()
{
@@ -768,9 +768,9 @@ namespace comphelper
return true;
}
- //==============================================================================
+
// OAccessibleTextHelper
- //==============================================================================
+
OAccessibleTextHelper::OAccessibleTextHelper( IMutex* _pExternalLock )
:OAccessibleExtendedComponentHelper( _pExternalLock )
@@ -883,8 +883,8 @@ namespace comphelper
-//..............................................................................
+
} // namespace comphelper
-//..............................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/accessiblewrapper.cxx b/comphelper/source/misc/accessiblewrapper.cxx
index 3c37394165db..70164fb0a74a 100644
--- a/comphelper/source/misc/accessiblewrapper.cxx
+++ b/comphelper/source/misc/accessiblewrapper.cxx
@@ -29,14 +29,14 @@ using namespace ::com::sun::star::accessibility;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
-//.............................................................................
+
namespace comphelper
{
-//.............................................................................
- //=========================================================================
+
+
//= OWrappedAccessibleChildrenManager
- //=========================================================================
+
struct RemoveEventListener
: public ::std::unary_function< AccessibleMap::value_type, void >
@@ -295,9 +295,9 @@ namespace comphelper
}
}
- //=========================================================================
+
//= OAccessibleWrapper (implementation)
- //=========================================================================
+
OAccessibleWrapper::OAccessibleWrapper( const Reference< XComponentContext >& _rxContext,
const Reference< XAccessible >& _rxInnerAccessible, const Reference< XAccessible >& _rxParentAccessible )
@@ -365,9 +365,9 @@ namespace comphelper
return xContext;
}
- //=========================================================================
+
//= OAccessibleWrapper (implementation)
- //=========================================================================
+
OAccessibleContextWrapperHelper::OAccessibleContextWrapperHelper(
const Reference< XComponentContext >& _rxContext,
@@ -517,9 +517,9 @@ namespace comphelper
OComponentProxyAggregationHelper::disposing( _rEvent );
}
- //====================================================================
+
//= OAccessibleContextWrapper
- //====================================================================
+
IMPLEMENT_FORWARD_XINTERFACE2( OAccessibleContextWrapper, OAccessibleContextWrapper_CBase, OAccessibleContextWrapperHelper )
@@ -666,8 +666,8 @@ namespace comphelper
WeakComponentImplHelperBase::dispose();
}
-//.............................................................................
+
} // namespace accessibility
-//.............................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index f852950ca728..6cf56370a006 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -25,10 +25,10 @@
#include <set>
#include <string.h>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
@@ -39,9 +39,9 @@ namespace comphelper
using ::com::sun::star::accessibility::XAccessible;
using ::com::sun::star::accessibility::XAccessibleContext;
- //=====================================================================
+
//= OAccImpl_Impl
- //=====================================================================
+
struct OAccImpl_Impl
{
Reference< XAccessible > m_xAccParent;
@@ -49,9 +49,9 @@ namespace comphelper
};
- //=====================================================================
+
//= OAccessibleImplementationAccess
- //=====================================================================
+
OAccessibleImplementationAccess::OAccessibleImplementationAccess( )
:m_pImpl( new OAccImpl_Impl )
@@ -150,9 +150,9 @@ namespace comphelper
return ( NULL != pImplementation );
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/anycompare.cxx b/comphelper/source/misc/anycompare.cxx
index 9d1c1642002f..5143b172cfdd 100644
--- a/comphelper/source/misc/anycompare.cxx
+++ b/comphelper/source/misc/anycompare.cxx
@@ -57,9 +57,9 @@ namespace comphelper
using ::com::sun::star::util::Time;
using ::com::sun::star::util::DateTime;
- //==================================================================================================================
+
//= DatePredicateLess
- //==================================================================================================================
+
class DatePredicateLess : public IKeyPredicateLess
{
public:
@@ -88,9 +88,9 @@ namespace comphelper
}
};
- //==================================================================================================================
+
//= TimePredicateLess
- //==================================================================================================================
+
class TimePredicateLess : public IKeyPredicateLess
{
public:
@@ -124,9 +124,9 @@ namespace comphelper
}
};
- //==================================================================================================================
+
//= DateTimePredicateLess
- //==================================================================================================================
+
class DateTimePredicateLess : public IKeyPredicateLess
{
public:
@@ -245,8 +245,8 @@ namespace comphelper
return pComparator;
}
-//......................................................................................................................
+
} // namespace comphelper
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/anytostring.cxx b/comphelper/source/misc/anytostring.cxx
index 5fa3028aba0c..75e881b0ba7b 100644
--- a/comphelper/source/misc/anytostring.cxx
+++ b/comphelper/source/misc/anytostring.cxx
@@ -308,7 +308,7 @@ void appendValue( OUStringBuffer & buf,
} // anon namespace
-//==============================================================================
+
OUString anyToString( uno::Any const & value )
{
OUStringBuffer buf;
diff --git a/comphelper/source/misc/asyncnotification.cxx b/comphelper/source/misc/asyncnotification.cxx
index 897a840b9841..d419580cf0e5 100644
--- a/comphelper/source/misc/asyncnotification.cxx
+++ b/comphelper/source/misc/asyncnotification.cxx
@@ -28,14 +28,14 @@
#include <functional>
#include <algorithm>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
- //====================================================================
+
+
//= AnyEvent
- //====================================================================
+
AnyEvent::AnyEvent()
:m_refCount( 0 )
@@ -64,9 +64,9 @@ namespace comphelper
return m_refCount;
}
- //====================================================================
+
//= ProcessableEvent
- //====================================================================
+
struct ProcessableEvent
{
AnyEventRef aEvent;
@@ -92,10 +92,10 @@ namespace comphelper
}
};
- //====================================================================
+
typedef ::std::deque< ProcessableEvent > EventQueue;
- //====================================================================
+
struct EqualProcessor : public ::std::unary_function< ProcessableEvent, bool >
{
const ::rtl::Reference< IEventProcessor >& rProcessor;
@@ -107,9 +107,9 @@ namespace comphelper
}
};
- //====================================================================
+
//= EventNotifierImpl
- //====================================================================
+
struct EventNotifierImpl
{
::osl::Mutex aMutex;
@@ -129,9 +129,9 @@ namespace comphelper
EventNotifierImpl& operator=( const EventNotifierImpl& ); // never implemented
};
- //====================================================================
+
//= AsyncEventNotifier
- //====================================================================
+
AsyncEventNotifier::AsyncEventNotifier(char const * name):
Thread(name), m_pImpl(new EventNotifierImpl)
@@ -234,8 +234,8 @@ namespace comphelper
while ( true );
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/comphelper_module.cxx b/comphelper/source/misc/comphelper_module.cxx
index f199465d9773..cabeb12f6934 100644
--- a/comphelper/source/misc/comphelper_module.cxx
+++ b/comphelper/source/misc/comphelper_module.cxx
@@ -20,10 +20,10 @@
#include "comphelper_module.hxx"
-//........................................................................
+
namespace comphelper { namespace module
{
-//........................................................................
+
struct ComphelperModuleCreator
{
@@ -44,8 +44,8 @@ namespace comphelper { namespace module
return theComphelperModuleInstance::get().m_aComphelperModule;
}
-//........................................................................
+
} } // namespace comphelper::module
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/comphelper_services.cxx b/comphelper/source/misc/comphelper_services.cxx
index 4fff696dbd45..af4e88e0874c 100644
--- a/comphelper/source/misc/comphelper_services.cxx
+++ b/comphelper/source/misc/comphelper_services.cxx
@@ -36,10 +36,10 @@ extern void createRegistryInfo_Map();
extern void createRegistryInfo_OSimpleLogRing();
extern void createRegistryInfo_OOfficeRestartManager();
-//........................................................................
+
namespace comphelper { namespace module
{
-//........................................................................
+
namespace
{
@@ -71,9 +71,9 @@ namespace comphelper { namespace module
theInitializer::get();
}
-//........................................................................
+
} } // namespace comphelper::module
-//........................................................................
+
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL comphelp_component_getFactory(
const sal_Char* pImplementationName, SAL_UNUSED_PARAMETER void*,
diff --git a/comphelper/source/misc/componentbase.cxx b/comphelper/source/misc/componentbase.cxx
index 0d13cf26f87a..da274feefc5f 100644
--- a/comphelper/source/misc/componentbase.cxx
+++ b/comphelper/source/misc/componentbase.cxx
@@ -23,19 +23,19 @@
#include <com/sun/star/lang/NotInitializedException.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
using ::com::sun::star::lang::NotInitializedException;
using ::com::sun::star::lang::DisposedException;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
- //====================================================================
+
//= ComponentBase
- //====================================================================
+
void ComponentBase::impl_checkDisposed_throw() const
{
@@ -56,8 +56,8 @@ namespace comphelper
return NULL;
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/componentmodule.cxx b/comphelper/source/misc/componentmodule.cxx
index 4b1c44fcd045..81aa5967bdc9 100644
--- a/comphelper/source/misc/componentmodule.cxx
+++ b/comphelper/source/misc/componentmodule.cxx
@@ -24,10 +24,10 @@
#include <vector>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
using namespace ::cppu;
using ::com::sun::star::uno::Sequence;
@@ -40,9 +40,9 @@ namespace comphelper
typedef ::std::vector< ComponentDescription > ComponentDescriptions;
- //=========================================================================
+
//= OModuleImpl
- //=========================================================================
+
/** implementation for <type>OModule</type>. not threadsafe, has to be guarded by it's owner
*/
class OModuleImpl
@@ -64,9 +64,9 @@ namespace comphelper
{
}
- //=========================================================================
+
//= OModule
- //=========================================================================
+
OModule::OModule()
: m_nClients(0)
@@ -160,8 +160,8 @@ namespace comphelper
return NULL;
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/docpasswordhelper.cxx b/comphelper/source/misc/docpasswordhelper.cxx
index a690658ee84e..31b9e56d89ed 100644
--- a/comphelper/source/misc/docpasswordhelper.cxx
+++ b/comphelper/source/misc/docpasswordhelper.cxx
@@ -41,7 +41,7 @@ using namespace ::com::sun::star;
namespace comphelper {
-// ============================================================================
+
static uno::Sequence< sal_Int8 > GeneratePBKDF2Hash( const OUString& aPassword, const uno::Sequence< sal_Int8 >& aSalt, sal_Int32 nCount, sal_Int32 nHashLength )
{
@@ -63,13 +63,13 @@ static uno::Sequence< sal_Int8 > GeneratePBKDF2Hash( const OUString& aPassword,
return aResult;
}
-// ============================================================================
+
IDocPasswordVerifier::~IDocPasswordVerifier()
{
}
-// ============================================================================
+
uno::Sequence< beans::PropertyValue > DocPasswordHelper::GenerateNewModifyPasswordInfo( const OUString& aPassword )
{
uno::Sequence< beans::PropertyValue > aResult;
@@ -94,7 +94,7 @@ uno::Sequence< beans::PropertyValue > DocPasswordHelper::GenerateNewModifyPasswo
return aResult;
}
-// ============================================================================
+
bool DocPasswordHelper::IsModifyPasswordCorrect( const OUString& aPassword, const uno::Sequence< beans::PropertyValue >& aInfo )
{
bool bResult = false;
@@ -131,7 +131,7 @@ bool DocPasswordHelper::IsModifyPasswordCorrect( const OUString& aPassword, cons
return bResult;
}
-// ============================================================================
+
sal_uInt32 DocPasswordHelper::GetWordHashAsUINT32(
const OUString& aUString )
{
@@ -208,7 +208,7 @@ sal_uInt32 DocPasswordHelper::GetWordHashAsUINT32(
return nResult;
}
-// ============================================================================
+
sal_uInt16 DocPasswordHelper::GetXLHashAsUINT16(
const OUString& aUString,
rtl_TextEncoding nEnc )
@@ -233,7 +233,7 @@ sal_uInt16 DocPasswordHelper::GetXLHashAsUINT16(
return nResult;
}
-// ============================================================================
+
Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
const OUString& aUString,
rtl_TextEncoding nEnc )
@@ -246,7 +246,7 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
return aResult;
}
-// ============================================================================
+
/*static*/ uno::Sequence< sal_Int8 > DocPasswordHelper::GenerateRandomByteSequence( sal_Int32 nLength )
{
uno::Sequence< sal_Int8 > aResult( nLength );
@@ -262,7 +262,7 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
}
-// ============================================================================
+
/*static*/ uno::Sequence< sal_Int8 > DocPasswordHelper::GenerateStd97Key( const OUString& aPassword, const uno::Sequence< sal_Int8 >& aDocId )
{
uno::Sequence< sal_Int8 > aResultKey;
@@ -280,7 +280,7 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
return aResultKey;
}
-// ============================================================================
+
/*static*/ uno::Sequence< sal_Int8 > DocPasswordHelper::GenerateStd97Key( const sal_uInt16 pPassData[16], const uno::Sequence< sal_Int8 >& aDocId )
{
uno::Sequence< sal_Int8 > aResultKey;
@@ -291,7 +291,7 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
return aResultKey;
}
-// ============================================================================
+
/*static*/ uno::Sequence< sal_Int8 > DocPasswordHelper::GenerateStd97Key( const sal_uInt16 pPassData[16], const sal_uInt8 pDocId[16] )
{
uno::Sequence< sal_Int8 > aResultKey;
@@ -346,7 +346,7 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence(
}
-// ============================================================================
+
/*static*/ ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue > DocPasswordHelper::requestAndVerifyDocPassword(
IDocPasswordVerifier& rVerifier,
diff --git a/comphelper/source/misc/docpasswordrequest.cxx b/comphelper/source/misc/docpasswordrequest.cxx
index d340d6e08080..380b0824883e 100644
--- a/comphelper/source/misc/docpasswordrequest.cxx
+++ b/comphelper/source/misc/docpasswordrequest.cxx
@@ -43,7 +43,7 @@ using ::com::sun::star::task::XInteractionRequest;
namespace comphelper {
-// ============================================================================
+
class AbortContinuation : public ::cppu::WeakImplHelper1< XInteractionAbort >
{
@@ -59,7 +59,7 @@ private:
bool mbSelected;
};
-// ============================================================================
+
class PasswordContinuation : public ::cppu::WeakImplHelper1< XInteractionPassword2 >
{
@@ -87,7 +87,7 @@ private:
bool mbSelected;
};
-// ============================================================================
+
SimplePasswordRequest::SimplePasswordRequest( PasswordRequestMode eMode )
: mpAbort( NULL )
@@ -126,7 +126,7 @@ Sequence< Reference< XInteractionContinuation > > SAL_CALL SimplePasswordRequest
return maContinuations;
}
-// ============================================================================
+
DocPasswordRequest::DocPasswordRequest( DocPasswordRequestType eType,
PasswordRequestMode eMode, const OUString& rDocumentName, bool bPasswordToModify )
@@ -192,7 +192,7 @@ Sequence< Reference< XInteractionContinuation > > SAL_CALL DocPasswordRequest::g
return maContinuations;
}
-// ============================================================================
+
} // namespace comphelper
diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx
index 617455ee6cbf..9a9eabec01b9 100644
--- a/comphelper/source/misc/documentinfo.cxx
+++ b/comphelper/source/misc/documentinfo.cxx
@@ -34,9 +34,9 @@
#include <boost/current_function.hpp>
-//........................................................................
+
namespace comphelper {
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::UNO_QUERY;
@@ -54,9 +54,9 @@ namespace comphelper {
using ::com::sun::star::uno::XInterface;
using ::com::sun::star::frame::XFrame;
- //====================================================================
+
//= helper
- //====================================================================
+
namespace
{
OUString lcl_getTitle( const Reference< XInterface >& _rxComponent )
@@ -68,9 +68,9 @@ namespace comphelper {
}
}
- //====================================================================
+
//= DocumentInfo
- //====================================================================
+
OUString DocumentInfo::getDocumentTitle( const Reference< XModel >& _rxDocument )
{
@@ -177,8 +177,8 @@ namespace comphelper {
return sTitle;
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/ihwrapnofilter.cxx b/comphelper/source/misc/ihwrapnofilter.cxx
index d6af85a075df..4f9d5f59a761 100644
--- a/comphelper/source/misc/ihwrapnofilter.cxx
+++ b/comphelper/source/misc/ihwrapnofilter.cxx
@@ -22,10 +22,10 @@
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/document/NoSuchFilterRequest.hpp>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star;
diff --git a/comphelper/source/misc/instancelocker.cxx b/comphelper/source/misc/instancelocker.cxx
index 93bbbec7277d..f6b269b867b9 100644
--- a/comphelper/source/misc/instancelocker.cxx
+++ b/comphelper/source/misc/instancelocker.cxx
@@ -34,9 +34,9 @@
using namespace ::com::sun::star;
-// ====================================================================
+
// OInstanceLocker
-// ====================================================================
+
OInstanceLocker::OInstanceLocker( const uno::Reference< uno::XComponentContext >& xContext )
@@ -230,9 +230,9 @@ uno::Reference< uno::XInterface > SAL_CALL OInstanceLocker::Create(
-// ====================================================================
+
// OLockListener
-// ====================================================================
+
OLockListener::OLockListener( const uno::WeakReference< lang::XComponent >& xWrapper,
diff --git a/comphelper/source/misc/interaction.cxx b/comphelper/source/misc/interaction.cxx
index 3263b0667312..db0c965d58ce 100644
--- a/comphelper/source/misc/interaction.cxx
+++ b/comphelper/source/misc/interaction.cxx
@@ -20,17 +20,17 @@
#include <comphelper/interaction.hxx>
#include <osl/diagnose.h>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::task;
- //=========================================================================
+
//= OInteractionPassword
- //=========================================================================
+
void SAL_CALL OInteractionPassword::setPassword( const OUString& _Password ) throw (RuntimeException, std::exception)
{
@@ -43,9 +43,9 @@ namespace comphelper
return m_sPassword;
}
- //=========================================================================
+
//= OInteractionRequest
- //=========================================================================
+
OInteractionRequest::OInteractionRequest(const Any& _rRequestDescription)
:m_aRequest(_rRequestDescription)
@@ -76,9 +76,9 @@ namespace comphelper
return m_aContinuations;
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/listenernotification.cxx b/comphelper/source/misc/listenernotification.cxx
index 6368e5a7dc16..c933219cf819 100644
--- a/comphelper/source/misc/listenernotification.cxx
+++ b/comphelper/source/misc/listenernotification.cxx
@@ -21,17 +21,17 @@
#include <com/sun/star/lang/DisposedException.hpp>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
- //====================================================================
+
//= OListenerContainer
- //====================================================================
+
OListenerContainer::OListenerContainer( ::osl::Mutex& _rMutex )
:m_aListeners( _rMutex )
@@ -109,8 +109,8 @@ namespace comphelper
return !bCancelled;
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/logging.cxx b/comphelper/source/misc/logging.cxx
index a4c1ceb46f32..1ffea6be341b 100644
--- a/comphelper/source/misc/logging.cxx
+++ b/comphelper/source/misc/logging.cxx
@@ -28,10 +28,10 @@
#include <rtl/ustrbuf.hxx>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XComponentContext;
@@ -46,9 +46,9 @@ namespace comphelper
namespace LogLevel = ::com::sun::star::logging::LogLevel;
- //====================================================================
+
//= EventLogger_Impl - declaration
- //====================================================================
+
class EventLogger_Impl
{
private:
@@ -73,9 +73,9 @@ namespace comphelper
void impl_createLogger_nothrow();
};
- //====================================================================
+
//= EventLogger_Impl - implementation
- //====================================================================
+
void EventLogger_Impl::impl_createLogger_nothrow()
{
@@ -94,9 +94,9 @@ namespace comphelper
}
}
- //====================================================================
+
//= EventLogger
- //====================================================================
+
EventLogger::EventLogger( const Reference< XComponentContext >& _rxContext, const sal_Char* _pAsciiLoggerName )
:m_pImpl( new EventLogger_Impl( _rxContext, OUString::createFromAscii( _pAsciiLoggerName ) ) )
@@ -202,9 +202,9 @@ namespace comphelper
return false;
}
- //====================================================================
+
//= ResourceBasedEventLogger_Data
- //====================================================================
+
struct ResourceBasedEventLogger_Data
{
/// the base name of the resource bundle
@@ -267,9 +267,9 @@ namespace comphelper
return sMessage;
}
- //====================================================================
+
//= ResourceBasedEventLogger
- //====================================================================
+
ResourceBasedEventLogger::ResourceBasedEventLogger( const Reference< XComponentContext >& _rxContext, const sal_Char* _pResourceBundleBaseName,
const sal_Char* _pAsciiLoggerName )
@@ -298,8 +298,8 @@ namespace comphelper
return sMessage;
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/namedvaluecollection.cxx b/comphelper/source/misc/namedvaluecollection.cxx
index 2554e566dc3b..090357995b59 100644
--- a/comphelper/source/misc/namedvaluecollection.cxx
+++ b/comphelper/source/misc/namedvaluecollection.cxx
@@ -30,10 +30,10 @@
#include <functional>
#include <algorithm>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Sequence;
@@ -46,9 +46,9 @@ namespace comphelper
using ::com::sun::star::lang::IllegalArgumentException;
using ::com::sun::star::beans::PropertyState_DIRECT_VALUE;
- //====================================================================
+
//= NamedValueCollection_Impl
- //====================================================================
+
typedef ::boost::unordered_map< OUString, Any, OUStringHash > NamedValueRepository;
struct NamedValueCollection_Impl
@@ -56,9 +56,9 @@ namespace comphelper
NamedValueRepository aValues;
};
- //====================================================================
+
//= NamedValueCollection
- //====================================================================
+
NamedValueCollection::NamedValueCollection()
:m_pImpl( new NamedValueCollection_Impl )
@@ -349,8 +349,8 @@ namespace comphelper
return _out_rValues.getLength();
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/numbers.cxx b/comphelper/source/misc/numbers.cxx
index 9920e4a7519a..3f853812620f 100644
--- a/comphelper/source/misc/numbers.cxx
+++ b/comphelper/source/misc/numbers.cxx
@@ -24,10 +24,10 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/Locale.hpp>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
namespace starbeans = ::com::sun::star::beans;
namespace starlang = ::com::sun::star::lang;
@@ -134,8 +134,8 @@ Any getNumberFormatProperty( const Reference< XNumberFormatter >& _rxFormatter,
return aReturn;
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/officeresourcebundle.cxx b/comphelper/source/misc/officeresourcebundle.cxx
index 218a61ba3608..054fe1772b73 100644
--- a/comphelper/source/misc/officeresourcebundle.cxx
+++ b/comphelper/source/misc/officeresourcebundle.cxx
@@ -26,10 +26,10 @@
#include <osl/diagnose.h>
#include <rtl/ustrbuf.hxx>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using com::sun::star::resource::XResourceBundle;
@@ -41,9 +41,9 @@ namespace comphelper
using ::com::sun::star::uno::Exception;
using ::com::sun::star::uno::Any;
- //====================================================================
+
//= ResourceBundle_Impl
- //====================================================================
+
class ResourceBundle_Impl
{
private:
@@ -184,9 +184,9 @@ namespace comphelper
return m_xBundle.is();
}
- //====================================================================
+
//= OfficeResourceBundle
- //====================================================================
+
OfficeResourceBundle::OfficeResourceBundle( const Reference< XComponentContext >& _context, const sal_Char* _bundleBaseAsciiName )
:m_pImpl( new ResourceBundle_Impl( _context, OUString::createFromAscii( _bundleBaseAsciiName ) ) )
@@ -212,8 +212,8 @@ namespace comphelper
return m_pImpl->hasString( _resourceId );
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/proxyaggregation.cxx b/comphelper/source/misc/proxyaggregation.cxx
index 92498c8eaa0e..c2b89e92d5a8 100644
--- a/comphelper/source/misc/proxyaggregation.cxx
+++ b/comphelper/source/misc/proxyaggregation.cxx
@@ -24,18 +24,18 @@
#include <comphelper/proxyaggregation.hxx>
#include <com/sun/star/reflection/ProxyFactory.hpp>
-//.............................................................................
+
namespace comphelper
{
-//.............................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::reflection;
- //=========================================================================
+
//= OProxyAggregation
- //=========================================================================
+
OProxyAggregation::OProxyAggregation( const Reference< XComponentContext >& _rxContext )
:m_xContext( _rxContext )
@@ -97,9 +97,9 @@ namespace comphelper
// ourself) to this proxy, and thus delete it
}
- //=========================================================================
+
//= OComponentProxyAggregationHelper
- //=========================================================================
+
OComponentProxyAggregationHelper::OComponentProxyAggregationHelper( const Reference< XComponentContext >& _rxContext,
::cppu::OBroadcastHelper& _rBHelper )
@@ -146,7 +146,7 @@ namespace comphelper
{
OSL_ENSURE( m_rBHelper.bDisposed, "OComponentProxyAggregationHelper::~OComponentProxyAggregationHelper: you should dispose your derived class in the dtor, if necessary!" );
// if this asserts, add the following to your derived class dtor:
- //
+
// if ( !m_rBHelper.bDisposed )
// {
// acquire(); // to prevent duplicate dtor calls
@@ -185,9 +185,9 @@ namespace comphelper
}
}
- //=========================================================================
+
//= OComponentProxyAggregation
- //=========================================================================
+
OComponentProxyAggregation::OComponentProxyAggregation( const Reference< XComponentContext >& _rxContext,
const Reference< XComponent >& _rxComponent )
@@ -260,8 +260,8 @@ namespace comphelper
}
-//.............................................................................
+
} // namespace comphelper
-//.............................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/sharedmutex.cxx b/comphelper/source/misc/sharedmutex.cxx
index 49a051e229ad..88ba0a519b82 100644
--- a/comphelper/source/misc/sharedmutex.cxx
+++ b/comphelper/source/misc/sharedmutex.cxx
@@ -20,14 +20,14 @@
#include "comphelper/sharedmutex.hxx"
-//........................................................................
+
namespace comphelper
{
-//........................................................................
- //========================================================================
+
+
//= SharedMutex
- //========================================================================
+
SharedMutex::SharedMutex()
:m_pMutexImpl( new ::osl::Mutex )
@@ -48,8 +48,8 @@ namespace comphelper
return *this;
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/synchronousdispatch.cxx b/comphelper/source/misc/synchronousdispatch.cxx
index 265c052b1436..468e1ade7c60 100644
--- a/comphelper/source/misc/synchronousdispatch.cxx
+++ b/comphelper/source/misc/synchronousdispatch.cxx
@@ -28,16 +28,16 @@
#include "comphelper/processfactory.hxx"
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star;
-//====================================================================
+
//= SynchronousDispatch
-//====================================================================
+
uno::Reference< lang::XComponent > SynchronousDispatch::dispatch(
const uno::Reference< uno::XInterface > &xStartPoint,
@@ -79,8 +79,8 @@ uno::Reference< lang::XComponent > SynchronousDispatch::dispatch(
return aComponent;
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/types.cxx b/comphelper/source/misc/types.cxx
index 949db6731787..8bee20711804 100644
--- a/comphelper/source/misc/types.cxx
+++ b/comphelper/source/misc/types.cxx
@@ -31,10 +31,10 @@
#include <memory.h>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::awt;
@@ -469,8 +469,8 @@ Type getSequenceElementType(const Type& _rSequenceType)
return Type();
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/misc/weakeventlistener.cxx b/comphelper/source/misc/weakeventlistener.cxx
index b3939ba1c4a3..0c594a421c8b 100644
--- a/comphelper/source/misc/weakeventlistener.cxx
+++ b/comphelper/source/misc/weakeventlistener.cxx
@@ -21,25 +21,25 @@
#include <osl/diagnose.h>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
- //=====================================================================
+
//= OWeakListenerAdapter
- //=====================================================================
+
OWeakListenerAdapterBase::~OWeakListenerAdapterBase()
{
}
- //=====================================================================
+
//= OWeakEventListenerAdapter
- //=====================================================================
+
OWeakEventListenerAdapter::OWeakEventListenerAdapter( Reference< XWeak > _rxListener, Reference< XComponent > _rxBroadcaster )
:OWeakEventListenerAdapter_Base( _rxListener, _rxBroadcaster )
@@ -76,9 +76,9 @@ namespace comphelper
resetListener();
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
index 4e7bc4f3c43c..24c3d34f4370 100644
--- a/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
+++ b/comphelper/source/officeinstdir/officeinstallationdirectories.cxx
@@ -38,11 +38,11 @@ using namespace com::sun::star;
using namespace comphelper;
-//=========================================================================
+
// helpers
-//=========================================================================
-//=========================================================================
+
+
static bool makeCanonicalFileURL( OUString & rURL )
{
OSL_ENSURE( rURL.matchAsciiL( "file:", sizeof( "file:" ) - 1 , 0 ) ,
@@ -81,13 +81,13 @@ static bool makeCanonicalFileURL( OUString & rURL )
return false;
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// OfficeInstallationDirectories Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
OfficeInstallationDirectories::OfficeInstallationDirectories(
const uno::Reference< uno::XComponentContext > & xCtx )
@@ -100,7 +100,7 @@ OfficeInstallationDirectories::OfficeInstallationDirectories(
{
}
-//=========================================================================
+
// virtual
OfficeInstallationDirectories::~OfficeInstallationDirectories()
{
@@ -108,9 +108,9 @@ OfficeInstallationDirectories::~OfficeInstallationDirectories()
delete m_pUserDir;
}
-//=========================================================================
+
// util::XOfficeInstallationDirectories
-//=========================================================================
+
// virtual
OUString SAL_CALL
@@ -121,7 +121,7 @@ OfficeInstallationDirectories::getOfficeInstallationDirectoryURL()
return OUString( *m_pOfficeBrandDir );
}
-//=========================================================================
+
// virtual
OUString SAL_CALL
OfficeInstallationDirectories::getOfficeUserDataDirectoryURL()
@@ -132,7 +132,7 @@ OfficeInstallationDirectories::getOfficeUserDataDirectoryURL()
}
-//=========================================================================
+
// virtual
OUString SAL_CALL
OfficeInstallationDirectories::makeRelocatableURL( const OUString& URL )
@@ -168,7 +168,7 @@ OfficeInstallationDirectories::makeRelocatableURL( const OUString& URL )
return OUString( URL );
}
-//=========================================================================
+
// virtual
OUString SAL_CALL
OfficeInstallationDirectories::makeAbsoluteURL( const OUString& URL )
@@ -203,9 +203,9 @@ OfficeInstallationDirectories::makeAbsoluteURL( const OUString& URL )
return OUString( URL );
}
-//=========================================================================
+
// lang::XServiceInfo
-//=========================================================================
+
// virtual
OUString SAL_CALL
@@ -231,7 +231,7 @@ OfficeInstallationDirectories::getSupportedServiceNames()
return getSupportedServiceNames_static();
}
-//=========================================================================
+
// static
OUString SAL_CALL
OfficeInstallationDirectories::getImplementationName_static()
@@ -239,7 +239,7 @@ OfficeInstallationDirectories::getImplementationName_static()
return OUString("com.sun.star.comp.util.OfficeInstallationDirectories");
}
-//=========================================================================
+
// static
uno::Sequence< OUString > SAL_CALL
OfficeInstallationDirectories::getSupportedServiceNames_static()
@@ -248,14 +248,14 @@ OfficeInstallationDirectories::getSupportedServiceNames_static()
return uno::Sequence< OUString >( &aServiceName, 1 );
}
-//=========================================================================
+
// static
OUString SAL_CALL OfficeInstallationDirectories::getSingletonName_static()
{
return OUString("com.sun.star.util.theOfficeInstallationDirectories");
}
-//=========================================================================
+
// static
uno::Reference< uno::XInterface > SAL_CALL
OfficeInstallationDirectories::Create(
@@ -265,9 +265,9 @@ OfficeInstallationDirectories::Create(
new OfficeInstallationDirectories( rxContext ) );
}
-//=========================================================================
+
// non-UNO
-//=========================================================================
+
void OfficeInstallationDirectories::initDirs()
{
diff --git a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
index d631f1f0d54e..1f8e34bc4374 100644
--- a/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
+++ b/comphelper/source/officeinstdir/officeinstallationdirectories.hxx
@@ -29,7 +29,7 @@
namespace comphelper {
-//=========================================================================
+
typedef cppu::WeakImplHelper2<
com::sun::star::util::XOfficeInstallationDirectories,
diff --git a/comphelper/source/property/MasterPropertySet.cxx b/comphelper/source/property/MasterPropertySet.cxx
index e6b0e6ed7179..ab80a032b5c9 100644
--- a/comphelper/source/property/MasterPropertySet.cxx
+++ b/comphelper/source/property/MasterPropertySet.cxx
@@ -26,7 +26,7 @@
#include <boost/scoped_ptr.hpp>
-//////////////////////////////////////////////////////////////////////
+
class AutoOGuardArray
{
@@ -50,7 +50,7 @@ AutoOGuardArray::~AutoOGuardArray()
}
-//////////////////////////////////////////////////////////////////////
+
using namespace ::rtl;
using namespace ::comphelper;
diff --git a/comphelper/source/property/genericpropertyset.cxx b/comphelper/source/property/genericpropertyset.cxx
index aa2c6bf9b0b4..43714950e603 100644
--- a/comphelper/source/property/genericpropertyset.cxx
+++ b/comphelper/source/property/genericpropertyset.cxx
@@ -33,7 +33,7 @@
#include <comphelper/servicehelper.hxx>
#include <rtl/uuid.h>
-///////////////////////////////////////////////////////////////////////
+
using namespace ::rtl;
using namespace ::osl;
@@ -93,7 +93,7 @@ namespace comphelper
}
-///////////////////////////////////////////////////////////////////////
+
GenericPropertySet::GenericPropertySet( PropertySetInfo* pInfo ) throw()
: PropertySetHelper( pInfo )
diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx
index 0136f2862b1a..04a7330bd9b8 100644
--- a/comphelper/source/property/opropertybag.cxx
+++ b/comphelper/source/property/opropertybag.cxx
@@ -44,10 +44,10 @@ void createRegistryInfo_OPropertyBag()
static ::comphelper::module::OAutoRegistration< ::comphelper::OPropertyBag > aAutoRegistration;
}
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -55,9 +55,9 @@ namespace comphelper
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::container;
- //====================================================================
+
//= OPropertyBag
- //====================================================================
+
OPropertyBag::OPropertyBag()
:OPropertyBag_PBase( GetBroadcastHelper(), this )
@@ -578,8 +578,8 @@ namespace comphelper
return aDefault;
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/property/opropertybag.hxx b/comphelper/source/property/opropertybag.hxx
index 355eeea8a594..3aacbbbb6ed6 100644
--- a/comphelper/source/property/opropertybag.hxx
+++ b/comphelper/source/property/opropertybag.hxx
@@ -39,10 +39,10 @@
#include <set>
#include <memory>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
struct UnoTypeLess : public ::std::unary_function< ::com::sun::star::uno::Type, bool >
{
@@ -58,9 +58,9 @@ namespace comphelper
typedef ::std::map< sal_Int32, ::com::sun::star::uno::Any > MapInt2Any;
typedef ::std::set< ::com::sun::star::uno::Type, UnoTypeLess > TypeBag;
- //====================================================================
+
//= OPropertyBag
- //====================================================================
+
typedef ::cppu::WeakAggImplHelper5 < ::com::sun::star::beans::XPropertyBag
, ::com::sun::star::util::XModifiable
, ::com::sun::star::lang::XServiceInfo
@@ -227,9 +227,9 @@ namespace comphelper
using ::cppu::OPropertySetHelper::getFastPropertyValue;
};
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
#endif // COMPHELPER_OPROPERTYBAG_HXX
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx
index 30fe378a5e59..5928578a1f2f 100644
--- a/comphelper/source/property/propagg.cxx
+++ b/comphelper/source/property/propagg.cxx
@@ -31,10 +31,10 @@
#include <algorithm>
#include <set>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -57,9 +57,9 @@ namespace comphelper
return pResult;
}
}
-//==================================================================
+
//= OPropertyArrayAggregationHelper
-//==================================================================
+
OPropertyArrayAggregationHelper::OPropertyArrayAggregationHelper(
@@ -349,9 +349,9 @@ sal_Int32 OPropertyArrayAggregationHelper::fillHandles(
return nHitCount;
}
-//==================================================================
+
//= PropertyForwarder
-//==================================================================
+
namespace internal
{
class PropertyForwarder
@@ -435,9 +435,9 @@ namespace internal
}
}
-//==================================================================
+
//= OPropertySetAggregationHelper
-//==================================================================
+
OPropertySetAggregationHelper::OPropertySetAggregationHelper( ::cppu::OBroadcastHelper& rBHlp )
@@ -1030,8 +1030,8 @@ bool OPropertySetAggregationHelper::isCurrentlyForwardingProperty( sal_Int32 _nH
return m_pForwarder->getCurrentlyForwardedProperty() == _nHandle;
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/property/property.cxx b/comphelper/source/property/property.cxx
index 872857a0d008..b898c9b3286f 100644
--- a/comphelper/source/property/property.cxx
+++ b/comphelper/source/property/property.cxx
@@ -36,7 +36,7 @@
#include <algorithm>
#include <boost/bind.hpp>
-//.........................................................................
+
namespace comphelper
{
@@ -209,8 +209,8 @@ bool tryPropertyValue(Any& _rConvertedValue, Any& _rOldValue, const Any& _rValue
return bModified;
}
-//.........................................................................
+
}
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/property/propertybag.cxx b/comphelper/source/property/propertybag.cxx
index 95471eab0925..46631ae0289b 100644
--- a/comphelper/source/property/propertybag.cxx
+++ b/comphelper/source/property/propertybag.cxx
@@ -27,10 +27,10 @@
#include <map>
-//........................................................................
+
namespace comphelper
{
-//........................................................................
+
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Type;
@@ -44,9 +44,9 @@ namespace comphelper
namespace PropertyAttribute = ::com::sun::star::beans::PropertyAttribute;
- //====================================================================
+
//= PropertyBag_Impl
- //====================================================================
+
typedef ::std::map< sal_Int32, Any > MapInt2Any;
struct PropertyBag_Impl
{
@@ -55,9 +55,9 @@ namespace comphelper
bool m_bAllowEmptyPropertyName;
};
- //====================================================================
+
//= PropertyBag
- //====================================================================
+
PropertyBag::PropertyBag()
:m_pImpl( new PropertyBag_Impl )
@@ -202,8 +202,8 @@ namespace comphelper
}
-//........................................................................
+
} // namespace comphelper
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/property/propertycontainer.cxx b/comphelper/source/property/propertycontainer.cxx
index 6fd333525411..b2e5fed945ce 100644
--- a/comphelper/source/property/propertycontainer.cxx
+++ b/comphelper/source/property/propertycontainer.cxx
@@ -28,18 +28,18 @@
#include <algorithm>
-//.........................................................................
+
namespace comphelper
{
-//.........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
-//==========================================================================
+
//= OPropertyContainer
-//==========================================================================
+
OPropertyContainer::OPropertyContainer(::cppu::OBroadcastHelper& _rBHelper)
:OPropertySetHelper(_rBHelper)
@@ -89,9 +89,9 @@ void OPropertyContainer::getFastPropertyValue(Any& _rValue, sal_Int32 _nHandle)
OPropertyContainerHelper::getFastPropertyValue( _rValue, _nHandle );
}
-//.........................................................................
+
} // namespace comphelper
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/property/propertycontainerhelper.cxx b/comphelper/source/property/propertycontainerhelper.cxx
index d0e783d7dc6f..13f3307fc18b 100644
--- a/comphelper/source/property/propertycontainerhelper.cxx
+++ b/comphelper/source/property/propertycontainerhelper.cxx