summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 20:45:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 21:14:09 +0000
commitbee1cc83ec4b8a246017a823305fd5d20869bce3 (patch)
tree398868a95857150f59994c8b2ebbb04fbca12be8 /svtools
parent614e1a6cf8839344755ea8d5227561f75772aa2a (diff)
Remove visual noise from svtools
Change-Id: I7c2b74a449fb20aae5bc643e24a22cf6f732136d Reviewed-on: https://gerrit.libreoffice.org/8320 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/brwbox1.cxx2
-rw-r--r--svtools/source/brwbox/brwbox2.cxx30
-rw-r--r--svtools/source/brwbox/brwbox3.cxx6
-rw-r--r--svtools/source/brwbox/brwhead.cxx2
-rw-r--r--svtools/source/brwbox/datwin.cxx14
-rw-r--r--svtools/source/brwbox/datwin.hxx16
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx52
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx24
-rw-r--r--svtools/source/config/colorcfg.cxx2
-rw-r--r--svtools/source/config/itemholder2.hxx8
-rw-r--r--svtools/source/config/menuoptions.cxx56
-rw-r--r--svtools/source/config/miscopt.cxx38
-rw-r--r--svtools/source/config/optionsdrawinglayer.cxx72
-rw-r--r--svtools/source/config/test/test.cxx24
-rw-r--r--svtools/source/contnr/contentenumeration.cxx12
-rw-r--r--svtools/source/contnr/contentenumeration.hxx32
-rw-r--r--svtools/source/contnr/fileview.cxx12
-rw-r--r--svtools/source/contnr/imivctl.hxx36
-rw-r--r--svtools/source/contnr/imivctl1.cxx18
-rw-r--r--svtools/source/contnr/svimpbox.cxx12
-rw-r--r--svtools/source/contnr/svlbitm.cxx4
-rw-r--r--svtools/source/contnr/treelistbox.cxx4
-rw-r--r--svtools/source/control/calendar.cxx12
-rw-r--r--svtools/source/control/collatorres.cxx8
-rw-r--r--svtools/source/control/ctrlbox.cxx20
-rw-r--r--svtools/source/control/ctrltool.cxx10
-rw-r--r--svtools/source/control/filectrl.cxx2
-rw-r--r--svtools/source/control/fileurlbox.cxx12
-rw-r--r--svtools/source/control/headbar.cxx4
-rw-r--r--svtools/source/control/hyperlabel.cxx12
-rw-r--r--svtools/source/control/indexentryres.cxx8
-rw-r--r--svtools/source/control/roadmap.cxx32
-rw-r--r--svtools/source/control/scrwin.cxx2
-rw-r--r--svtools/source/control/stdctrl.cxx2
-rw-r--r--svtools/source/control/stdmenu.cxx4
-rw-r--r--svtools/source/control/tabbar.cxx16
-rw-r--r--svtools/source/control/toolbarmenu.cxx2
-rw-r--r--svtools/source/control/toolbarmenuimp.hxx14
-rw-r--r--svtools/source/control/urlcontrol.cxx12
-rw-r--r--svtools/source/control/vclxaccessibleheaderbaritem.cxx4
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx32
-rw-r--r--svtools/source/dialogs/mcvmath.hxx10
-rw-r--r--svtools/source/dialogs/prnsetup.cxx4
-rw-r--r--svtools/source/dialogs/roadmapwizard.cxx12
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx24
-rw-r--r--svtools/source/dialogs/wizdlg.cxx8
-rw-r--r--svtools/source/filter/exportdialog.cxx2
-rw-r--r--svtools/source/graphic/grfcache.hxx4
-rw-r--r--svtools/source/graphic/grfmgr2.cxx8
-rw-r--r--svtools/source/graphic/transformer.hxx4
-rw-r--r--svtools/source/hatchwindow/ipwin.hxx2
-rw-r--r--svtools/source/inc/iodlg.hrc4
-rw-r--r--svtools/source/inc/svtaccessiblefactory.hxx12
-rw-r--r--svtools/source/inc/unoiface.hxx32
-rw-r--r--svtools/source/misc/bindablecontrolhelper.cxx8
-rw-r--r--svtools/source/misc/dialogclosedlistener.cxx12
-rw-r--r--svtools/source/misc/dialogcontrolling.cxx32
-rw-r--r--svtools/source/misc/ehdl.cxx2
-rw-r--r--svtools/source/misc/imagemgr.cxx6
-rw-r--r--svtools/source/misc/imageresourceaccess.cxx16
-rw-r--r--svtools/source/misc/sampletext.cxx6
-rw-r--r--svtools/source/misc/stringtransfer.cxx16
-rw-r--r--svtools/source/misc/svtaccessiblefactory.cxx18
-rw-r--r--svtools/source/misc/templatefoldercache.cxx38
-rw-r--r--svtools/source/misc/transfer.cxx2
-rw-r--r--svtools/source/misc/xwindowitem.cxx4
-rw-r--r--svtools/source/svhtml/parhtml.cxx4
-rw-r--r--svtools/source/table/cellvalueconversion.cxx56
-rw-r--r--svtools/source/table/cellvalueconversion.hxx12
-rw-r--r--svtools/source/table/defaultinputhandler.cxx12
-rw-r--r--svtools/source/table/gridtablerenderer.cxx24
-rw-r--r--svtools/source/table/mousefunction.cxx24
-rw-r--r--svtools/source/table/mousefunction.hxx32
-rw-r--r--svtools/source/table/tablecontrol.cxx10
-rw-r--r--svtools/source/table/tablecontrol_impl.cxx48
-rw-r--r--svtools/source/table/tablecontrol_impl.hxx12
-rw-r--r--svtools/source/table/tabledatawindow.cxx12
-rw-r--r--svtools/source/table/tabledatawindow.hxx12
-rw-r--r--svtools/source/table/tablegeometry.cxx16
-rw-r--r--svtools/source/table/tablegeometry.hxx24
-rw-r--r--svtools/source/toolpanel/drawerlayouter.cxx12
-rw-r--r--svtools/source/toolpanel/dummypanel.cxx12
-rw-r--r--svtools/source/toolpanel/dummypanel.hxx12
-rw-r--r--svtools/source/toolpanel/paneldecklisteners.cxx12
-rw-r--r--svtools/source/toolpanel/paneldecklisteners.hxx12
-rw-r--r--svtools/source/toolpanel/paneltabbar.cxx60
-rw-r--r--svtools/source/toolpanel/paneltabbarpeer.cxx12
-rw-r--r--svtools/source/toolpanel/paneltabbarpeer.hxx12
-rw-r--r--svtools/source/toolpanel/refbase.cxx12
-rw-r--r--svtools/source/toolpanel/tabbargeometry.cxx20
-rw-r--r--svtools/source/toolpanel/tabbargeometry.hxx16
-rw-r--r--svtools/source/toolpanel/tabitemdescriptor.hxx12
-rw-r--r--svtools/source/toolpanel/tablayouter.cxx20
-rw-r--r--svtools/source/toolpanel/toolpanel.cxx12
-rw-r--r--svtools/source/toolpanel/toolpanelcollection.cxx16
-rw-r--r--svtools/source/toolpanel/toolpanelcollection.hxx12
-rw-r--r--svtools/source/toolpanel/toolpaneldeck.cxx16
-rw-r--r--svtools/source/toolpanel/toolpaneldeckpeer.cxx12
-rw-r--r--svtools/source/toolpanel/toolpaneldeckpeer.hxx12
-rw-r--r--svtools/source/toolpanel/toolpaneldrawer.cxx16
-rw-r--r--svtools/source/toolpanel/toolpaneldrawer.hxx18
-rw-r--r--svtools/source/toolpanel/toolpaneldrawerpeer.cxx16
-rw-r--r--svtools/source/toolpanel/toolpaneldrawerpeer.hxx12
-rw-r--r--svtools/source/uno/genericunodialog.cxx8
-rw-r--r--svtools/source/uno/popupwindowcontroller.cxx4
-rw-r--r--svtools/source/uno/toolboxcontroller.cxx2
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx8
-rw-r--r--svtools/source/uno/unocontroltablemodel.cxx16
-rw-r--r--svtools/source/uno/unocontroltablemodel.hxx12
-rw-r--r--svtools/source/uno/unogridcolumnfacade.cxx16
-rw-r--r--svtools/source/uno/unogridcolumnfacade.hxx12
-rw-r--r--svtools/source/uno/unoiface.cxx36
-rw-r--r--svtools/source/uno/unoimap.cxx2
-rw-r--r--svtools/source/uno/wizard/wizardpagecontroller.cxx12
-rw-r--r--svtools/source/uno/wizard/wizardpagecontroller.hxx12
-rw-r--r--svtools/source/uno/wizard/wizardshell.cxx14
-rw-r--r--svtools/source/uno/wizard/wizardshell.hxx12
117 files changed, 900 insertions, 900 deletions
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index 55a0f77493b9..0e3ec67a5130 100644
--- a/svtools/source/brwbox/brwbox1.cxx
+++ b/svtools/source/brwbox/brwbox1.cxx
@@ -61,7 +61,7 @@ namespace
}
}
-//===================================================================
+
void BrowseBox::ConstructImpl( BrowserMode nMode )
{
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx
index 7bc82fc8578f..86f2ff252c77 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -32,15 +32,15 @@ using namespace ::com::sun::star::datatransfer;
#define getDataWindow() ((BrowserDataWin*)pDataWin)
-//===================================================================
+
DBG_NAMEEX(BrowseBox)
-//===================================================================
+
extern const char* BrowseBoxCheckInvariants( const void * pVoid );
-//===================================================================
+
void BrowseBox::StartDrag( sal_Int8 /* _nAction */, const Point& /* _rPosPixel */ )
{
@@ -48,7 +48,7 @@ void BrowseBox::StartDrag( sal_Int8 /* _nAction */, const Point& /* _rPosPixel *
// not interested in this event
}
-//===================================================================
+
sal_Int8 BrowseBox::AcceptDrop( const AcceptDropEvent& _rEvt )
{
@@ -58,7 +58,7 @@ sal_Int8 BrowseBox::AcceptDrop( const AcceptDropEvent& _rEvt )
return pDataWindow->AcceptDrop( aTransformed );
}
-//===================================================================
+
sal_Int8 BrowseBox::ExecuteDrop( const ExecuteDropEvent& _rEvt )
{
@@ -68,7 +68,7 @@ sal_Int8 BrowseBox::ExecuteDrop( const ExecuteDropEvent& _rEvt )
return pDataWindow->ExecuteDrop( aTransformed );
}
-//===================================================================
+
sal_Int8 BrowseBox::AcceptDrop( const BrowserAcceptDropEvent& )
{
@@ -77,7 +77,7 @@ sal_Int8 BrowseBox::AcceptDrop( const BrowserAcceptDropEvent& )
return DND_ACTION_NONE;
}
-//===================================================================
+
sal_Int8 BrowseBox::ExecuteDrop( const BrowserExecuteDropEvent& )
{
@@ -86,7 +86,7 @@ sal_Int8 BrowseBox::ExecuteDrop( const BrowserExecuteDropEvent& )
return DND_ACTION_NONE;
}
-//===================================================================
+
void* BrowseBox::implGetDataFlavors() const
{
@@ -95,7 +95,7 @@ void* BrowseBox::implGetDataFlavors() const
return &GetDataFlavorExVector();
}
-//===================================================================
+
sal_Bool BrowseBox::IsDropFormatSupported( SotFormatStringId _nFormat )
{
@@ -105,14 +105,14 @@ sal_Bool BrowseBox::IsDropFormatSupported( SotFormatStringId _nFormat )
return DropTargetHelper::IsDropFormatSupported( _nFormat );
}
-//===================================================================
+
sal_Bool BrowseBox::IsDropFormatSupported( SotFormatStringId _nFormat ) const
{
return const_cast< BrowseBox* >( this )->IsDropFormatSupported( _nFormat );
}
-//===================================================================
+
sal_Bool BrowseBox::IsDropFormatSupported( const DataFlavor& _rFlavor )
{
@@ -122,14 +122,14 @@ sal_Bool BrowseBox::IsDropFormatSupported( const DataFlavor& _rFlavor )
return DropTargetHelper::IsDropFormatSupported( _rFlavor );
}
-//===================================================================
+
sal_Bool BrowseBox::IsDropFormatSupported( const DataFlavor& _rFlavor ) const
{
return const_cast< BrowseBox* >( this )->IsDropFormatSupported( _rFlavor );
}
-//===================================================================
+
void BrowseBox::Command( const CommandEvent& rEvt )
{
@@ -137,7 +137,7 @@ void BrowseBox::Command( const CommandEvent& rEvt )
Control::Command( rEvt );
}
-//===================================================================
+
void BrowseBox::StateChanged( StateChangedType nStateChange )
{
@@ -213,7 +213,7 @@ void BrowseBox::StateChanged( StateChangedType nStateChange )
}
}
-//===================================================================
+
void BrowseBox::Select()
{
diff --git a/svtools/source/brwbox/brwbox3.cxx b/svtools/source/brwbox/brwbox3.cxx
index 1683c63ed41d..91720a3dfdf9 100644
--- a/svtools/source/brwbox/brwbox3.cxx
+++ b/svtools/source/brwbox/brwbox3.cxx
@@ -33,7 +33,7 @@ using namespace ::com::sun::star::uno;
using ::com::sun::star::accessibility::XAccessible;
using namespace ::com::sun::star::accessibility;
-// ============================================================================
+
namespace svt
{
using namespace ::com::sun::star::lang;
@@ -65,7 +65,7 @@ namespace svt
return xRet;
}
- // ============================================================================
+
Reference< XAccessible > BrowseBoxImpl::getAccessibleHeaderBar( AccessibleBrowseBoxObjType _eObjType )
{
@@ -83,7 +83,7 @@ namespace svt
}
}
-// ============================================================================
+
Reference< XAccessible > BrowseBox::CreateAccessible()
{
diff --git a/svtools/source/brwbox/brwhead.cxx b/svtools/source/brwbox/brwhead.cxx
index 42160d891831..e3758a98c177 100644
--- a/svtools/source/brwbox/brwhead.cxx
+++ b/svtools/source/brwbox/brwhead.cxx
@@ -21,7 +21,7 @@
#include <svtools/brwhead.hxx>
#include <svtools/brwbox.hxx>
-//===================================================================
+
BrowserHeader::BrowserHeader( BrowseBox* pParent, WinBits nWinBits )
:HeaderBar( pParent, nWinBits )
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index a43c1fea893f..cfe0af7fcb9a 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -28,7 +28,7 @@
#include <rtl/string.hxx>
#include <tools/debug.hxx>
-//===================================================================
+
void ButtonFrame::Draw( OutputDevice& rDev )
{
Color aOldFillColor = rDev.GetFillColor();
@@ -624,7 +624,7 @@ void BrowserDataWin::RequestHelp( const HelpEvent& rHEvt )
pEventWin = GetParent();
}
-//===================================================================
+
BrowseEvent::BrowseEvent( Window* pWindow,
long nAbsRow, sal_uInt16 nColumn, sal_uInt16 nColumnId,
@@ -637,7 +637,7 @@ BrowseEvent::BrowseEvent( Window* pWindow,
{
}
-//===================================================================
+
BrowserMouseEvent::BrowserMouseEvent( BrowserDataWin *pWindow,
const MouseEvent& rEvt ):
MouseEvent(rEvt),
@@ -655,7 +655,7 @@ BrowserMouseEvent::BrowserMouseEvent( Window *pWindow, const MouseEvent& rEvt,
{
}
-//===================================================================
+
BrowserAcceptDropEvent::BrowserAcceptDropEvent( BrowserDataWin *pWindow, const AcceptDropEvent& rEvt )
:AcceptDropEvent(rEvt)
@@ -663,7 +663,7 @@ BrowserAcceptDropEvent::BrowserAcceptDropEvent( BrowserDataWin *pWindow, const A
{
}
-//===================================================================
+
BrowserExecuteDropEvent::BrowserExecuteDropEvent( BrowserDataWin *pWindow, const ExecuteDropEvent& rEvt )
:ExecuteDropEvent(rEvt)
@@ -671,7 +671,7 @@ BrowserExecuteDropEvent::BrowserExecuteDropEvent( BrowserDataWin *pWindow, const
{
}
-//===================================================================
+
@@ -721,7 +721,7 @@ void BrowserDataWin::Invalidate( const Rectangle& rRect, sal_uInt16 nFlags )
Window::Invalidate( rRect, nFlags );
}
-//===================================================================
+
void BrowserScrollBar::Tracking( const TrackingEvent& rTEvt )
{
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx
index 10d1f11bb13b..ac58691313f0 100644
--- a/svtools/source/brwbox/datwin.hxx
+++ b/svtools/source/brwbox/datwin.hxx
@@ -27,13 +27,13 @@
#include <svtools/transfer.hxx>
#include <vector>
-//===================================================================
+
#define MIN_COLUMNWIDTH 2
typedef ::std::vector< Rectangle* > RectangleList;
-//===================================================================
+
class ButtonFrame
{
@@ -63,7 +63,7 @@ public:
void Draw( OutputDevice& rDev );
};
-//===================================================================
+
class BrowserColumn
{
@@ -95,7 +95,7 @@ public:
void ZoomChanged(const Fraction& rNewZoom);
};
-//===================================================================
+
class BrowserDataWin
:public Control
@@ -181,7 +181,7 @@ protected:
sal_Bool ImplRowDividerHitTest( const BrowserMouseEvent& _rEvent );
};
-//-------------------------------------------------------------------
+
inline void BrowserDataWin::Repaint()
{
@@ -190,7 +190,7 @@ inline void BrowserDataWin::Repaint()
Paint( Rectangle( Point(), GetOutputSizePixel() ) );
}
-//===================================================================
+
class BrowserScrollBar: public ScrollBar
{
@@ -212,12 +212,12 @@ public:
virtual void EndScroll();
};
-//===================================================================
+
void InitSettings_Impl( Window *pWin,
sal_Bool bFont = sal_True, sal_Bool bForeground = sal_True, sal_Bool bBackground = sal_True );
-//===================================================================
+
#endif
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index f95303af39c6..09634dfcfb3d 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -24,10 +24,10 @@
#include <algorithm>
-// .......................................................................
+
namespace svt
{
-// .......................................................................
+
TYPEINIT0(CellController);
TYPEINIT1(EditCellController, CellController);
@@ -38,9 +38,9 @@ namespace svt
TYPEINIT1( FormattedFieldCellController, EditCellController );
- //==================================================================
+
//= ComboBoxControl
- //==================================================================
+
ComboBoxControl::ComboBoxControl(Window* pParent, WinBits nWinStyle)
:ComboBox(pParent, nWinStyle|WB_DROPDOWN|WB_NOBORDER)
{
@@ -79,9 +79,9 @@ namespace svt
return ComboBox::PreNotify(rNEvt);
}
- //==================================================================
+
//= ComboBoxCellController
- //==================================================================
+
ComboBoxCellController::ComboBoxCellController(ComboBoxControl* pWin)
:CellController(pWin)
@@ -144,9 +144,9 @@ namespace svt
GetComboBox().SetModifyHdl(rLink);
}
- //==================================================================
+
//= ListBoxControl
- //==================================================================
+
ListBoxControl::ListBoxControl(Window* pParent, WinBits nWinStyle)
:ListBox(pParent, nWinStyle|WB_DROPDOWN|WB_NOBORDER)
@@ -189,9 +189,9 @@ namespace svt
return ListBox::PreNotify(rNEvt);
}
- //==================================================================
+
//= ListBoxCellController
- //==================================================================
+
ListBoxCellController::ListBoxCellController(ListBoxControl* pWin)
:CellController(pWin)
@@ -240,9 +240,9 @@ namespace svt
GetListBox().SetSelectHdl(rLink);
}
- //==================================================================
+
//= CheckBoxControl
- //==================================================================
+
CheckBoxControl::CheckBoxControl(Window* pParent, WinBits nWinStyle)
:Control(pParent, nWinStyle)
@@ -335,9 +335,9 @@ namespace svt
return Control::PreNotify(rEvt);
}
- //==================================================================
+
//= CheckBoxCellController
- //==================================================================
+
sal_Bool CheckBoxCellController::WantMouseEvent() const
{
@@ -368,9 +368,9 @@ namespace svt
((CheckBoxControl &)GetWindow()).SetModifyHdl(rLink);
}
- //==================================================================
+
//= MultiLineEditImplementation
- //==================================================================
+
OUString MultiLineEditImplementation::GetText( LineEnd aSeparator ) const
{
@@ -383,9 +383,9 @@ namespace svt
return const_cast< MultiLineEditImplementation* >( this )->GetEditWindow().GetSelected( aSeparator );
}
- //==================================================================
+
//= EditCellController
- //==================================================================
+
EditCellController::EditCellController( Edit* _pEdit )
:CellController( _pEdit )
@@ -457,9 +457,9 @@ namespace svt
m_pEditImplementation->SetModifyHdl(rLink);
}
- //==================================================================
+
//= SpinCellController
- //==================================================================
+
SpinCellController::SpinCellController(SpinField* pWin)
:CellController(pWin)
@@ -514,9 +514,9 @@ namespace svt
GetSpinWindow().SetModifyHdl(rLink);
}
- //==================================================================
+
//= FormattedFieldCellController
- //==================================================================
+
FormattedFieldCellController::FormattedFieldCellController( FormattedField* _pFormatted )
:EditCellController( _pFormatted )
@@ -529,9 +529,9 @@ namespace svt
static_cast< FormattedField& >( GetWindow() ).Commit();
}
- //==================================================================
+
//= MultiLineTextCell
- //==================================================================
+
void MultiLineTextCell::Modify()
{
@@ -604,9 +604,9 @@ namespace svt
return MultiLineEdit::PreNotify( rNEvt );
}
-// .......................................................................
+
} // namespace svt
-// .......................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx
index 128793b21201..517fc230df0f 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -40,13 +40,13 @@
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <comphelper/types.hxx>
-// .......................................................................
+
namespace svt
{
-// .......................................................................
+
namespace
{
- //..............................................................
+
sal_uInt16 getRealGetFocusFlags( Window* _pWindow )
{
sal_uInt16 nFlags = 0;
@@ -62,15 +62,15 @@ namespace svt
using namespace ::com::sun::star::uno;
using namespace com::sun::star::accessibility::AccessibleEventId;
using com::sun::star::accessibility::XAccessible;
- //==================================================================
+
IEditImplementation::~IEditImplementation()
{
}
- //==================================================================
+
//= EditBrowserHeader
- //==================================================================
+
void EditBrowserHeader::DoubleClick()
{
@@ -87,9 +87,9 @@ namespace svt
}
- //==================================================================
+
//= EditBrowseBox
- //==================================================================
+
void EditBrowseBox::BrowserMouseEventPtr::Clear()
{
@@ -154,7 +154,7 @@ namespace svt
impl_construct();
}
- //==================================================================
+
EditBrowseBox::EditBrowseBox( Window* pParent, sal_Int32 nBrowserFlags, WinBits nBits, BrowserMode _nMode )
:BrowseBox( pParent, nBits, _nMode )
,nStartEvent(0)
@@ -1334,7 +1334,7 @@ namespace svt
{
Controller()->resume();
}
- //===============================================================================
+
DBG_NAME(CellController);
@@ -1402,8 +1402,8 @@ namespace svt
{
return sal_True;
}
-// .......................................................................
+
} // namespace svt
-// .......................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index b99d04b1f2cf..5b4974573075 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -224,7 +224,7 @@ void ColorConfig_Impl::Load(const OUString& rScheme)
aCurrentVal.getConstArray()[0] >>= sScheme;
}
m_sLoadedScheme = sScheme;
- //
+
uno::Sequence < OUString > aColorNames = GetPropertyNames(sScheme);
uno::Sequence< uno::Any > aColors = GetProperties( aColorNames );
const uno::Any* pColors = aColors.getConstArray();
diff --git a/svtools/source/config/itemholder2.hxx b/svtools/source/config/itemholder2.hxx
index 9d39e189e308..3b8f1ecae66f 100644
--- a/svtools/source/config/itemholder2.hxx
+++ b/svtools/source/config/itemholder2.hxx
@@ -30,13 +30,13 @@ namespace svtools {
class ItemHolder2 : private ItemHolderMutexBase
, public ::cppu::WeakImplHelper1< css::lang::XEventListener >
{
- //...........................................
+
// member
private:
TItems m_lItems;
- //...........................................
+
// c++ interface
public:
@@ -44,14 +44,14 @@ class ItemHolder2 : private ItemHolderMutexBase
virtual ~ItemHolder2();
static void holdConfigItem(EItem eItem);
- //...........................................
+
// uno interface
public:
virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent)
throw(css::uno::RuntimeException);
- //...........................................
+
// helper
private:
diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx
index 4c3706586da8..f95f0a42a06d 100644
--- a/svtools/source/config/menuoptions.cxx
+++ b/svtools/source/config/menuoptions.cxx
@@ -95,7 +95,7 @@ class SvtMenuOptions_Impl : public ConfigItem
// overloaded methods of baseclass
- /*-****************************************************************************************************//**
+ /*-****************************************************************************************************
@short called for notify of configmanager
@descr These method is called from the ConfigManager before application ends or from the
PropertyChangeListener if the sub tree broadcasts changes. You must update your
@@ -111,7 +111,7 @@ class SvtMenuOptions_Impl : public ConfigItem
virtual void Notify( const Sequence< OUString >& seqPropertyNames );
- /*-****************************************************************************************************//**
+ /*-****************************************************************************************************
@short write changes to configuration
@descr These method writes the changed values into the sub tree
and should always called in our destructor to guarantee consistency of config data.
@@ -130,7 +130,7 @@ class SvtMenuOptions_Impl : public ConfigItem
// public interface
- /*-****************************************************************************************************//**
+ /*-****************************************************************************************************
@short access method to get internal values
@descr These methods give us a chance to regulate access to our internal values.
It's not used in the moment - but it's possible for the future!
@@ -185,7 +185,7 @@ class SvtMenuOptions_Impl : public ConfigItem
private:
- /*-****************************************************************************************************//**
+ /*-****************************************************************************************************
@short return list of fix key names of our configuration management which represent our module tree
@descr These methods return a static const list of key names. We need it to get needed values from our
configuration management.
@@ -201,9 +201,9 @@ class SvtMenuOptions_Impl : public ConfigItem
static Sequence< OUString > impl_GetPropertyNames();
};
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
SvtMenuOptions_Impl::SvtMenuOptions_Impl()
// Init baseclasses first
: ConfigItem ( ROOTNODE_MENU )
@@ -274,9 +274,9 @@ SvtMenuOptions_Impl::SvtMenuOptions_Impl()
EnableNotification( seqNames );
}
-//*****************************************************************************************************************
+
// destructor
-//*****************************************************************************************************************
+
SvtMenuOptions_Impl::~SvtMenuOptions_Impl()
{
// Flush data to configuration!
@@ -287,9 +287,9 @@ SvtMenuOptions_Impl::~SvtMenuOptions_Impl()
}
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
void SvtMenuOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames )
{
// Use given list of updated properties to get his values from configuration directly!
@@ -346,9 +346,9 @@ void SvtMenuOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames )
iter->Call( this );
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
void SvtMenuOptions_Impl::Commit()
{
// Get names of supported properties, create a list for values and copy current values to it.
@@ -385,9 +385,9 @@ void SvtMenuOptions_Impl::Commit()
PutProperties( seqNames, seqValues );
}
-//*****************************************************************************************************************
+
// private method
-//*****************************************************************************************************************
+
Sequence< OUString > SvtMenuOptions_Impl::impl_GetPropertyNames()
{
// Build static list of configuration key names.
@@ -421,17 +421,17 @@ void SvtMenuOptions_Impl::RemoveListenerLink( const Link& rLink )
}
}
-//*****************************************************************************************************************
+
// initialize static member
// DON'T DO IT IN YOUR HEADER!
// see definition for further information
-//*****************************************************************************************************************
+
SvtMenuOptions_Impl* SvtMenuOptions::m_pDataContainer = NULL ;
sal_Int32 SvtMenuOptions::m_nRefCount = 0 ;
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
SvtMenuOptions::SvtMenuOptions()
{
// Global access, must be guarded (multithreading!).
@@ -447,9 +447,9 @@ SvtMenuOptions::SvtMenuOptions()
}
}
-//*****************************************************************************************************************
+
// destructor
-//*****************************************************************************************************************
+
SvtMenuOptions::~SvtMenuOptions()
{
// Global access, must be guarded (multithreading!)
@@ -465,36 +465,36 @@ SvtMenuOptions::~SvtMenuOptions()
}
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
sal_Bool SvtMenuOptions::IsEntryHidingEnabled() const
{
MutexGuard aGuard( GetOwnStaticMutex() );
return m_pDataContainer->IsEntryHidingEnabled();
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
TriState SvtMenuOptions::GetMenuIconsState() const
{
MutexGuard aGuard( GetOwnStaticMutex() );
return m_pDataContainer->GetMenuIconsState();
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
void SvtMenuOptions::SetMenuIconsState(TriState eState)
{
MutexGuard aGuard( GetOwnStaticMutex() );
m_pDataContainer->SetMenuIconsState(eState);
}
-//*****************************************************************************************************************
+
// private method
-//*****************************************************************************************************************
+
Mutex& SvtMenuOptions::GetOwnStaticMutex()
{
// Initialize static mutex only for one time!
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index dc3c390bc795..c94a4d020465 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -96,7 +96,7 @@ class SvtMiscOptions_Impl : public ConfigItem
SvtMiscOptions_Impl();
~SvtMiscOptions_Impl();
- /*-****************************************************************************************************//**
+ /*-****************************************************************************************************
@short called for notify of configmanager
@descr These method is called from the ConfigManager before application ends or from the
PropertyChangeListener if the sub tree broadcasts changes. You must update your
@@ -118,7 +118,7 @@ class SvtMiscOptions_Impl : public ConfigItem
*/
void Load( const Sequence< OUString >& rPropertyNames );
- /*-****************************************************************************************************//**
+ /*-****************************************************************************************************
@short write changes to configuration
@descr These method writes the changed values into the sub tree
and should always called in our destructor to guarantee consistency of config data.
@@ -249,7 +249,7 @@ class SvtMiscOptions_Impl : public ConfigItem
private:
- /*-****************************************************************************************************//**
+ /*-****************************************************************************************************
@short return list of key names of our configuration management which represent oue module tree
@descr These methods return a static const list of key names. We need it to get needed values from our
configuration management.
@@ -269,9 +269,9 @@ class SvtMiscOptions_Impl : public ConfigItem
void ImplSetSymbolsStyleWithoutSettingModifiedFlag( bool bValue, sal_Int16 nSet, const OUString &rName );
};
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
SvtMiscOptions_Impl::SvtMiscOptions_Impl()
// Init baseclasses first
: ConfigItem( ROOTNODE_MISC )
@@ -424,9 +424,9 @@ SvtMiscOptions_Impl::SvtMiscOptions_Impl()
EnableNotification( seqNames );
}
-//*****************************************************************************************************************
+
// destructor
-//*****************************************************************************************************************
+
SvtMiscOptions_Impl::~SvtMiscOptions_Impl()
{
// We must save our current values .. if user forgets it!
@@ -598,18 +598,18 @@ SvtMiscOptions_Impl::SetIconTheme(const OUString &rName, SetModifiedFlag setModi
CallListeners();
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
void SvtMiscOptions_Impl::Notify( const Sequence< OUString >& rPropertyNames )
{
Load( rPropertyNames );
CallListeners();
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
void SvtMiscOptions_Impl::Commit()
{
// Get names of supported properties, create a list for values and copy current values to it.
@@ -703,9 +703,9 @@ void SvtMiscOptions_Impl::Commit()
PutProperties( seqNames, seqValues );
}
-//*****************************************************************************************************************
+
// private method
-//*****************************************************************************************************************
+
Sequence< OUString > SvtMiscOptions_Impl::GetPropertyNames()
{
// Build list of configuration key names.
@@ -730,17 +730,17 @@ Sequence< OUString > SvtMiscOptions_Impl::GetPropertyNames()
return seqPropertyNames;
}
-//*****************************************************************************************************************
+
// initialize static member
// DON'T DO IT IN YOUR HEADER!
// see definition for further information
-//*****************************************************************************************************************
+
SvtMiscOptions_Impl* SvtMiscOptions::m_pDataContainer = NULL ;
sal_Int32 SvtMiscOptions::m_nRefCount = 0 ;
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
SvtMiscOptions::SvtMiscOptions()
{
// SvtMiscOptions_Impl ctor indirectly calls code that requires locked
@@ -758,9 +758,9 @@ SvtMiscOptions::SvtMiscOptions()
}
}
-//*****************************************************************************************************************
+
// destructor
-//*****************************************************************************************************************
+
SvtMiscOptions::~SvtMiscOptions()
{
// Global access, must be guarded (multithreading!)
diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx
index 173bfbf43a40..7d42660de663 100644
--- a/svtools/source/config/optionsdrawinglayer.cxx
+++ b/svtools/source/config/optionsdrawinglayer.cxx
@@ -284,9 +284,9 @@ private:
bool m_bAllowAAChecked : 1;
};
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
SvtOptionsDrawinglayer_Impl::SvtOptionsDrawinglayer_Impl() :
ConfigItem( ROOTNODE_START ),
m_bOverlayBuffer( DEFAULT_OVERLAYBUFFER ),
@@ -547,18 +547,18 @@ SvtOptionsDrawinglayer_Impl::SvtOptionsDrawinglayer_Impl() :
}
}
-//*****************************************************************************************************************
+
// destructor
-//*****************************************************************************************************************
+
SvtOptionsDrawinglayer_Impl::~SvtOptionsDrawinglayer_Impl()
{
if( IsModified() )
Commit();
}
-//*****************************************************************************************************************
+
// Commit
-//*****************************************************************************************************************
+
void SvtOptionsDrawinglayer_Impl::Commit()
{
Sequence< OUString > aSeqNames( impl_GetPropertyNames() );
@@ -690,41 +690,41 @@ void SvtOptionsDrawinglayer_Impl::Notify( const com::sun::star::uno::Sequence<OU
{
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
sal_Bool SvtOptionsDrawinglayer_Impl::IsOverlayBuffer() const
{
return m_bOverlayBuffer;
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
sal_Bool SvtOptionsDrawinglayer_Impl::IsPaintBuffer() const
{
return m_bPaintBuffer;
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
Color SvtOptionsDrawinglayer_Impl::GetStripeColorA() const
{
return m_bStripeColorA;
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
Color SvtOptionsDrawinglayer_Impl::GetStripeColorB() const
{
return m_bStripeColorB;
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
sal_uInt16 SvtOptionsDrawinglayer_Impl::GetStripeLength() const
{
return m_nStripeLength;
@@ -897,9 +897,9 @@ sal_uInt16 SvtOptionsDrawinglayer_Impl::GetSelectionMaximumLuminancePercent() co
return m_nSelectionMaximumLuminancePercent;
}
-//*****************************************************************************************************************
+
// private method
-//*****************************************************************************************************************
+
Sequence< OUString > SvtOptionsDrawinglayer_Impl::impl_GetPropertyNames()
{
// Build list of configuration key names.
@@ -950,17 +950,17 @@ Sequence< OUString > SvtOptionsDrawinglayer_Impl::impl_GetPropertyNames()
return seqPropertyNames;
}
-//*****************************************************************************************************************
+
// initialize static member
// DON'T DO IT IN YOUR HEADER!
// see definition for further information
-//*****************************************************************************************************************
+
SvtOptionsDrawinglayer_Impl* SvtOptionsDrawinglayer::m_pDataContainer = NULL;
sal_Int32 SvtOptionsDrawinglayer::m_nRefCount = 0;
-//*****************************************************************************************************************
+
// constructor
-//*****************************************************************************************************************
+
SvtOptionsDrawinglayer::SvtOptionsDrawinglayer()
{
// Global access, must be guarded (multithreading!).
@@ -974,9 +974,9 @@ SvtOptionsDrawinglayer::SvtOptionsDrawinglayer()
}
}
-//*****************************************************************************************************************
+
// destructor
-//*****************************************************************************************************************
+
SvtOptionsDrawinglayer::~SvtOptionsDrawinglayer()
{
// Global access, must be guarded (multithreading!)
@@ -992,45 +992,45 @@ SvtOptionsDrawinglayer::~SvtOptionsDrawinglayer()
}
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
sal_Bool SvtOptionsDrawinglayer::IsOverlayBuffer() const
{
MutexGuard aGuard( GetOwnStaticMutex() );
return m_pDataContainer->IsOverlayBuffer();
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
sal_Bool SvtOptionsDrawinglayer::IsPaintBuffer() const
{
MutexGuard aGuard( GetOwnStaticMutex() );
return m_pDataContainer->IsPaintBuffer();
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
Color SvtOptionsDrawinglayer::GetStripeColorA() const
{
MutexGuard aGuard( GetOwnStaticMutex() );
return m_pDataContainer->GetStripeColorA();
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
Color SvtOptionsDrawinglayer::GetStripeColorB() const
{
MutexGuard aGuard( GetOwnStaticMutex() );
return m_pDataContainer->GetStripeColorB();
}
-//*****************************************************************************************************************
+
// public method
-//*****************************************************************************************************************
+
sal_uInt16 SvtOptionsDrawinglayer::GetStripeLength() const
{
MutexGuard aGuard( GetOwnStaticMutex() );
@@ -1257,9 +1257,9 @@ namespace
class theOptionsDrawinglayerMutex : public rtl::Static<osl::Mutex, theOptionsDrawinglayerMutex>{};
}
-//*****************************************************************************************************************
+
// private method
-//*****************************************************************************************************************
+
Mutex& SvtOptionsDrawinglayer::GetOwnStaticMutex()
{
return theOptionsDrawinglayerMutex::get();
diff --git a/svtools/source/config/test/test.cxx b/svtools/source/config/test/test.cxx
index bdac39865c5d..54ba42a31577 100644
--- a/svtools/source/config/test/test.cxx
+++ b/svtools/source/config/test/test.cxx
@@ -58,27 +58,27 @@ using namespace ::com::sun::star::registry ;
class TestApplication : public Application
{
- //*************************************************************************************************************
+
// interface
- //*************************************************************************************************************
+
public:
void Main();
- //*************************************************************************************************************
+
// test methods
- //*************************************************************************************************************
+
private:
void impl_testDynamicMenuOptions();
- //*************************************************************************************************************
+
// helper methods
- //*************************************************************************************************************
+
private:
static Reference< XMultiServiceFactory > getUNOServiceManager();
- //*************************************************************************************************************
+
// member
- //*************************************************************************************************************
+
private:
}; // class TestApplication
@@ -116,9 +116,9 @@ void TestApplication::Main()
OSL_FAIL( "Test was successful!\n" );
}
-//*****************************************************************************************************************
+
// test configuration of dynamic menus "New" and "Wizard"
-//*****************************************************************************************************************
+
void TestApplication::impl_testDynamicMenuOptions()
{
SvtDynamicMenuOptions aCFG;
@@ -201,10 +201,10 @@ void TestApplication::impl_testDynamicMenuOptions()
OSL_FAIL( OUStringToOString( sOut.makeStringAndClear(), RTL_TEXTENCODING_UTF8 ).getStr() );
}
-//*****************************************************************************************************************
+
// create new uno servicemanager by using normall applicat.rdb and user.rdb of an office installation!
// Don't use this application at same time like the office!
-//*****************************************************************************************************************
+
Reference< XMultiServiceFactory > TestApplication::getUNOServiceManager()
{
static Reference< XMultiServiceFactory > smgr;
diff --git a/svtools/source/contnr/contentenumeration.cxx b/svtools/source/contnr/contentenumeration.cxx
index 5593be346927..ae97aab4afed 100644
--- a/svtools/source/contnr/contentenumeration.cxx
+++ b/svtools/source/contnr/contentenumeration.cxx
@@ -36,10 +36,10 @@
#include <memory>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
#define ROW_TITLE 1
#define ROW_SIZE 2
@@ -76,9 +76,9 @@ namespace svt
using ::ucbhelper::ResultSetInclude;
using ::ucbhelper::INCLUDE_FOLDERS_AND_DOCUMENTS;
- //====================================================================
+
//= FileViewContentEnumerator
- //====================================================================
+
FileViewContentEnumerator::FileViewContentEnumerator(
const Reference< XCommandEnvironment >& _rxCommandEnv,
@@ -404,8 +404,8 @@ namespace svt
enumerateFolderContent();
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/contnr/contentenumeration.hxx b/svtools/source/contnr/contentenumeration.hxx
index 7829e7b00294..2a00714ecb04 100644
--- a/svtools/source/contnr/contentenumeration.hxx
+++ b/svtools/source/contnr/contentenumeration.hxx
@@ -28,14 +28,14 @@
#include <tools/datetime.hxx>
#include <vcl/image.hxx>
-//........................................................................
+
namespace svt
{
-//........................................................................
- //====================================================================
+
+
//= SortingData_Impl
- //====================================================================
+
struct SortingData_Impl
{
private:
@@ -114,9 +114,9 @@ namespace svt
maLowerTitle = rNewTitle.toAsciiLowerCase();
}
- //====================================================================
+
//= IContentTitleTranslation
- //====================================================================
+
class IContentTitleTranslation
{
public:
@@ -126,9 +126,9 @@ namespace svt
~IContentTitleTranslation() {}
};
- //====================================================================
+
//= EnumerationResult
- //====================================================================
+
enum EnumerationResult
{
SUCCESS, /// the enumeration was successful
@@ -136,9 +136,9 @@ namespace svt
RUNNING /// the enumeration is still running, and the maximum wait time has passed
};
- //====================================================================
+
//= FolderDescriptor
- //====================================================================
+
struct FolderDescriptor
{
/** a content object describing the folder. Can be <NULL/>, in this case <member>sURL</member>
@@ -162,9 +162,9 @@ namespace svt
}
};
- //====================================================================
+
//= IEnumerationResultHandler
- //====================================================================
+
class IEnumerationResultHandler
{
public:
@@ -174,9 +174,9 @@ namespace svt
~IEnumerationResultHandler() {}
};
- //====================================================================
+
//= FileViewContentEnumerator
- //====================================================================
+
class FileViewContentEnumerator: public salhelper::Thread
{
public:
@@ -261,9 +261,9 @@ namespace svt
sal_Bool implGetDocTitle( const OUString& _rTargetURL, OUString& _rRet ) const;
};
-//........................................................................
+
} // namespace svt
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_CONTNR_CONTENTENUMERATION_HXX
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index b0e0544d50a1..cb0f3211dbb0 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -98,9 +98,9 @@ using ::svt::FolderDescriptor;
namespace
{
- //====================================================================
+
//= ITimeoutHandler
- //====================================================================
+
class CallbackTimer;
class ITimeoutHandler
{
@@ -111,9 +111,9 @@ namespace
~ITimeoutHandler() {}
};
- //====================================================================
+
//= CallbackTimer
- //====================================================================
+
class CallbackTimer : public ::salhelper::Timer
{
protected:
@@ -434,9 +434,9 @@ public:
// returns the name for the file, which contains the translation strings
};
-//====================================================================
+
//= SvtFileView_Impl
-//====================================================================
+
class SvtFileView_Impl :public ::svt::IEnumerationResultHandler
,public ITimeoutHandler
diff --git a/svtools/source/contnr/imivctl.hxx b/svtools/source/contnr/imivctl.hxx
index 6d73828684a6..28d5d57000de 100644
--- a/svtools/source/contnr/imivctl.hxx
+++ b/svtools/source/contnr/imivctl.hxx
@@ -38,10 +38,10 @@ class SvxIconChoiceCtrlEntry;
class IcnViewEdit_Impl;
class IcnGridMap_Impl;
-///////////////////////////////////////////////////////////////////////////////
-//
+
+
// some defines
-//
+
#define PAINTFLAG_HOR_CENTERED 0x0001
#define PAINTFLAG_VER_CENTERED 0x0002
@@ -76,10 +76,10 @@ class IcnGridMap_Impl;
#define VIEWMODE_MASK (WB_ICON | WB_SMALLICON | WB_DETAILS)
-///////////////////////////////////////////////////////////////////////////////
-//
-//
-//
+
+
+
+
enum IcnViewFieldType
{
IcnViewFieldTypeDontknow = 0,
@@ -87,10 +87,10 @@ enum IcnViewFieldType
IcnViewFieldTypeText = 2
};
-///////////////////////////////////////////////////////////////////////////////
-//
+
+
// Data about the focus of entries
-//
+
struct LocalFocus
{
sal_Bool bOn;
@@ -100,10 +100,10 @@ struct LocalFocus
LocalFocus() { bOn = sal_False; }
};
-///////////////////////////////////////////////////////////////////////////////
-//
+
+
// Entry-List
-//
+
typedef ::std::vector< SvxIconChoiceCtrlEntry* > SvxIconChoiceCtrlEntryList_impl;
class EntryList_Impl
@@ -143,10 +143,10 @@ public:
};
-///////////////////////////////////////////////////////////////////////////////
-//
+
+
// Implementation-class of IconChoiceCtrl
-//
+
typedef boost::ptr_map<sal_uInt16, SvxIconChoiceCtrlColumnInfo> SvxIconChoiceCtrlColumnInfoMap;
typedef std::vector<SvxIconChoiceCtrlEntry*> SvxIconChoiceCtrlEntryPtrVec;
@@ -560,7 +560,7 @@ public:
}
};
-// ----------------------------------------------------------------------------------------------
+
typedef std::map<sal_uInt16, SvxIconChoiceCtrlEntryPtrVec> IconChoiceMap;
@@ -617,7 +617,7 @@ public:
static void DestroyGridAdjustData( IconChoiceMap& rLists );
};
-// ----------------------------------------------------------------------------------------------
+
typedef sal_uLong GridId;
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index dc7b3c63227f..09dfdc948d57 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -2540,9 +2540,9 @@ void SvxIconChoiceCtrl_Impl::DeselectAllBut( SvxIconChoiceCtrlEntry* pThisEntryN
sal_Bool bPaintSync )
{
ClearSelectedRectList();
- //
+
// TODO: work through z-order list, if necessary!
- //
+
size_t nCount = aEntries.size();
for( size_t nCur = 0; nCur < nCount; nCur++ )
{
@@ -2961,9 +2961,9 @@ IMPL_LINK_NOARG(SvxIconChoiceCtrl_Impl, EditTimeoutHdl)
}
-//
+
// Function to align entries to the grid
-//
+
// pStart == 0: align all entries
// else: align all entries of the row from pStart on (including pStart)
@@ -3085,12 +3085,12 @@ SvxIconChoiceCtrlTextMode SvxIconChoiceCtrl_Impl::GetEntryTextModeSmart( const S
return eMode;
}
-////////////////////////////////////////////////////////////////////////////////////////////////
-//
+
+
// Draw my own focusrect, because the focusrect of the outputdevice has got the inverted color
// of the background. But what will we see, if the backgroundcolor is gray ? - We will see
// a gray focusrect on a gray background !!!
-//
+
void SvxIconChoiceCtrl_Impl::ShowFocus ( Rectangle& rRect )
{
Color aBkgColor ( pView->GetBackground().GetColor() );
@@ -3141,8 +3141,8 @@ sal_Bool SvxIconChoiceCtrl_Impl::IsMnemonicChar( sal_Unicode cChar, sal_uLong& r
return bRet;
}
-//
-////////////////////////////////////////////////////////////////////////////////////////////////
+
+
IMPL_LINK(SvxIconChoiceCtrl_Impl, UserEventHdl, void*, nId )
{
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index a0f54c0beb0f..ae82da14eb10 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -609,9 +609,9 @@ void SvImpLBox::RecalcFocusRect()
}
}
-//
+
// Sets cursor. When using SingleSelection, the selection is adjusted.
-//
+
void SvImpLBox::SetCursor( SvTreeListEntry* pEntry, bool bForceNoSelect )
{
@@ -789,10 +789,10 @@ SvTreeListEntry* SvImpLBox::GetClickedEntry( const Point& rPoint ) const
return pEntry;
}
-//
+
// checks if the entry was hit "the right way"
// (Focusrect+ ContextBitmap bei TreeListBox)
-//
+
bool SvImpLBox::EntryReallyHit(SvTreeListEntry* pEntry, const Point& rPosPixel, long nLine)
{
bool bRet;
@@ -1619,9 +1619,9 @@ void SvImpLBox::SetNodeBmpTabDistance()
}
}
-//
+
// corrects the cursor when using SingleSelection
-//
+
void SvImpLBox::EntrySelected( SvTreeListEntry* pEntry, bool bSelect )
{
if( nFlags & F_IGNORE_SELECT )
diff --git a/svtools/source/contnr/svlbitm.cxx b/svtools/source/contnr/svlbitm.cxx
index e47baaa48b14..6f4ad3512a15 100644
--- a/svtools/source/contnr/svlbitm.cxx
+++ b/svtools/source/contnr/svlbitm.cxx
@@ -383,9 +383,9 @@ void SvLBoxButton::Paint(
sal_uInt16 nStyle = eKind != SvLBoxButtonKind_disabledCheckbox &&
rDev.IsEnabled() ? 0 : IMAGE_DRAW_DISABLE;
-///
+/
//Native drawing
-///
+/
sal_Bool bNativeOK = sal_False;
ControlType eCtrlType = (pData->IsRadio())? CTRL_RADIOBUTTON : CTRL_CHECKBOX;
if ( nIndex != SV_BMP_STATICIMAGE && rDev.IsNativeControlSupported( eCtrlType, PART_ENTIRE_CONTROL) )
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index d194ebe04921..f829cd775955 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -2103,12 +2103,12 @@ void SvTreeListBox::CheckButtonHdl()
pImp->CallEventListeners( VCLEVENT_CHECKBOX_TOGGLE, (void*)pCheckButtonData->GetActEntry() );
}
-//
+
// TODO: Currently all data is cloned so that they conform to the default tree
// view format. Actually, the model should be used as a reference here. This
// leads to us _not_ calling SvTreeListEntry::Clone, but only its base class
// SvTreeListEntry.
-//
+
SvTreeListEntry* SvTreeListBox::CloneEntry( SvTreeListEntry* pSource )
{
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index 4f464caabe88..793a02a0e7d2 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -38,7 +38,7 @@
#include <svtools/svtresid.hxx>
#include <svtools/calendar.hxx>
-// =======================================================================
+
#define DAY_OFFX 4
#define DAY_OFFY 2
@@ -62,7 +62,7 @@
using namespace ::com::sun::star;
-// =======================================================================
+
static void ImplCalendarSelectDate( IntDateSet* pTable, const Date& rDate, sal_Bool bSelect )
{
@@ -157,7 +157,7 @@ inline void ImplCalendarClearSelectDate( IntDateSet* pTable )
pTable->clear();
}
-// =======================================================================
+
void Calendar::ImplInit( WinBits nWinStyle )
{
@@ -2192,7 +2192,7 @@ Size Calendar::CalcWindowSizePixel( long nCalcMonthPerLine,
return aSize;
}
-// =======================================================================
+
#define CALFIELD_EXTRA_BUTTON_WIDTH 14
#define CALFIELD_EXTRA_BUTTON_HEIGHT 8
@@ -2201,7 +2201,7 @@ Size Calendar::CalcWindowSizePixel( long nCalcMonthPerLine,
#define CALFIELD_BORDER_YTOP 4
#define CALFIELD_BORDER_Y 5
-// =======================================================================
+
class ImplCFieldFloatWin : public FloatingWindow
{
@@ -2389,7 +2389,7 @@ bool ImplCFieldFloatWin::Notify( NotifyEvent& rNEvt )
return FloatingWindow::Notify( rNEvt );
}
-// =======================================================================
+
CalendarField::CalendarField( Window* pParent, WinBits nWinStyle ) :
DateField( pParent, nWinStyle ),
diff --git a/svtools/source/control/collatorres.cxx b/svtools/source/control/collatorres.cxx
index c845b22657dc..eb345a30e139 100644
--- a/svtools/source/control/collatorres.cxx
+++ b/svtools/source/control/collatorres.cxx
@@ -23,9 +23,9 @@
#include <svtools/collatorres.hxx>
-//
+
// wrapper for locale specific translations data of collator algorithm
-//
+
class CollatorResourceData
@@ -55,9 +55,9 @@ class CollatorResourceData
};
-//
+
// implementation of the collator-algorithm-name translation
-//
+
#define COLLATOR_RESOURCE_COUNT (STR_SVT_COLLATE_END - STR_SVT_COLLATE_START + 1)
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 3755003788db..8860c67b9670 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -62,9 +62,9 @@
using namespace ::com::sun::star;
-// ========================================================================
+
// ColorListBox
-// ========================================================================
+
// - ImplColorListData -
@@ -317,9 +317,9 @@ void ColorListBox::UserDraw( const UserDrawEvent& rUDEvt )
ListBox::DrawEntry( rUDEvt, true, true, false );
}
-// =======================================================================
+
// LineListBox
-// =======================================================================
+
BorderWidthImpl::BorderWidthImpl( sal_uInt16 nFlags, double nRate1, double nRate2, double nRateGap ):
m_nFlags( nFlags ),
@@ -1013,9 +1013,9 @@ void LineListBox::DataChanged( const DataChangedEvent& rDCEvt )
}
-// ===================================================================
+
// FontNameBox
-// ===================================================================
+
FontNameBox::FontNameBox( Window* pParent, WinBits nWinStyle ) :
ComboBox( pParent, nWinStyle )
@@ -1399,9 +1399,9 @@ void FontNameBox::UserDraw( const UserDrawEvent& rUDEvt )
}
}
-// ===================================================================
+
// FontStyleBox
-// ===================================================================
+
FontStyleBox::FontStyleBox( Window* pParent, const ResId& rResId ) :
ComboBox( pParent, rResId )
@@ -1637,9 +1637,9 @@ void FontStyleBox::Fill( const OUString& rName, const FontList* pList )
}
}
-// ===================================================================
+
// FontSizeBox
-// ===================================================================
+
FontSizeBox::FontSizeBox( Window* pParent, WinBits nWinSize ) :
MetricBox( pParent, nWinSize )
diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx
index 5991af8378a3..a51e41fdc208 100644
--- a/svtools/source/control/ctrltool.cxx
+++ b/svtools/source/control/ctrltool.cxx
@@ -31,7 +31,7 @@
#include <svtools/svtresid.hxx>
#include <svtools/ctrltool.hxx>
-// =======================================================================
+
// Standard Fontgroessen fuer scalierbare Fonts
static const sal_IntPtr aStdSizeAry[] =
@@ -69,7 +69,7 @@ static const sal_IntPtr aStdSizeAry[] =
0
};
-// =======================================================================
+
// - class ImplFontListFonInfo -
@@ -145,7 +145,7 @@ static sal_Int32 ImplCompareFontInfo( ImplFontListFontInfo* pInfo1,
return pInfo1->GetStyleName().compareTo( pInfo2->GetStyleName() );
}
-// =======================================================================
+
static OUString ImplMakeSearchString(const OUString& rStr)
{
@@ -336,7 +336,7 @@ void FontList::ImplInsertFonts( OutputDevice* pDevice, sal_Bool bAll,
}
}
-// =======================================================================
+
FontList::FontList( OutputDevice* pDevice, OutputDevice* pDevice2, sal_Bool bAll )
{
@@ -813,7 +813,7 @@ const sal_IntPtr* FontList::GetStdSizeAry()
return aStdSizeAry;
}
-// =======================================================================
+
// - FontSizeNames & FsizeNameItem -
diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx
index 810b17b3ba33..8155673e5d2b 100644
--- a/svtools/source/control/filectrl.cxx
+++ b/svtools/source/control/filectrl.cxx
@@ -32,7 +32,7 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::ui;
-// =======================================================================
+
FileControl::FileControl( Window* pParent, WinBits nStyle, FileControlMode nFlags ) :
Window( pParent, nStyle|WB_DIALOGCONTROL ),
diff --git a/svtools/source/control/fileurlbox.cxx b/svtools/source/control/fileurlbox.cxx
index 06e599189242..c7e6dd5447d3 100644
--- a/svtools/source/control/fileurlbox.cxx
+++ b/svtools/source/control/fileurlbox.cxx
@@ -21,14 +21,14 @@
#include <osl/file.h>
#include "svl/filenotation.hxx"
-//.........................................................................
+
namespace svt
{
-//.........................................................................
- //=====================================================================
+
+
//= FileURLBox
- //=====================================================================
+
FileURLBox::FileURLBox( Window* _pParent, WinBits _nStyle )
:SvtURLBox( _pParent, _nStyle, INET_PROT_FILE )
@@ -94,8 +94,8 @@ namespace svt
return SvtURLBox::Notify(_rNEvt);
}
-//.........................................................................
+
} // namespace svt
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx
index 91adad683423..b317ed496ed1 100644
--- a/svtools/source/control/headbar.cxx
+++ b/svtools/source/control/headbar.cxx
@@ -42,7 +42,7 @@ public:
OUString maHelpText;
};
-// =======================================================================
+
#define HEAD_ARROWSIZE1 4
#define HEAD_ARROWSIZE2 7
@@ -56,7 +56,7 @@ public:
#define HEAD_HITTEST_ITEM ((sal_uInt16)0x0001)
#define HEAD_HITTEST_DIVIDER ((sal_uInt16)0x0002)
-// =======================================================================
+
void HeaderBar::ImplInit( WinBits nWinStyle )
{
diff --git a/svtools/source/control/hyperlabel.cxx b/svtools/source/control/hyperlabel.cxx
index f31f1c934064..799941dbda0e 100644
--- a/svtools/source/control/hyperlabel.cxx
+++ b/svtools/source/control/hyperlabel.cxx
@@ -24,14 +24,14 @@
#include <vcl/tabpage.hxx>
-//.........................................................................
+
namespace svt
{
-//.........................................................................
- //=====================================================================
+
+
//= FontChanger
- //=====================================================================
+
class FontChanger
{
protected:
@@ -230,8 +230,8 @@ namespace svt
}
}
-//.........................................................................
+
} // namespace svt
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/indexentryres.cxx b/svtools/source/control/indexentryres.cxx
index ac2b5ff7c16d..85f2569c8b78 100644
--- a/svtools/source/control/indexentryres.cxx
+++ b/svtools/source/control/indexentryres.cxx
@@ -23,9 +23,9 @@
#include <svtools/indexentryres.hxx>
-//
+
// wrapper for locale specific translations data of indexentry algorithm
-//
+
class IndexEntryResourceData
@@ -55,9 +55,9 @@ class IndexEntryResourceData
};
-//
+
// implementation of the indexentry-algorithm-name translation
-//
+
#define INDEXENTRY_RESOURCE_COUNT (STR_SVT_INDEXENTRY_END - STR_SVT_INDEXENTRY_START + 1)
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx
index bdbb85ff168c..e10e89a256fd 100644
--- a/svtools/source/control/roadmap.cxx
+++ b/svtools/source/control/roadmap.cxx
@@ -32,16 +32,16 @@
#define ROADMAP_ITEM_DISTANCE_Y 6
#define RMINCOMPLETE -1
-//.........................................................................
+
namespace svt
{
-//.........................................................................
+
typedef std::vector< RoadmapItem* > HL_Vector;
- //=====================================================================
+
//= ColorChanger
- //=====================================================================
+
class IDLabel : public FixedText
{
public:
@@ -50,9 +50,9 @@ namespace svt
virtual void DataChanged( const DataChangedEvent& rDCEvt );
};
- //=====================================================================
+
//= ColorChanger
- //=====================================================================
+
class ColorChanger
{
protected:
@@ -73,9 +73,9 @@ namespace svt
}
};
- //=====================================================================
+
//= RoadmapItem
- //=====================================================================
+
class RoadmapItem : public RoadmapTypes
{
private:
@@ -114,9 +114,9 @@ namespace svt
void ImplUpdatePosSize();
};
- //=====================================================================
+
//= RoadmapImpl
- //=====================================================================
+
class RoadmapImpl : public RoadmapTypes
{
protected:
@@ -187,9 +187,9 @@ namespace svt
m_aItemSizePixel = aLabelSize;
}
- //=====================================================================
+
//= Roadmap
- //=====================================================================
+
ORoadmap::ORoadmap( Window* _pParent, WinBits _nWinStyle )
:Control( _pParent, _nWinStyle )
@@ -219,7 +219,7 @@ namespace svt
// To reach it the control itself should get focus and set it
// on entries. The entries themself should not be reachable with
// the Tab key directly. So each entry should have WB_NOTABSTOP.
- //
+
// In other words the creator should create the control with the following
// flags:
// SetStyle( ( GetStyle() | WB_TABSTOP ) & ~WB_DIALOGCONTROL );
@@ -603,7 +603,7 @@ namespace svt
DrawBitmapEx( aBitmapPos, m_pImpl->getPicture() );
}
- //.................................................................
+
// draw the headline
DrawHeadline();
}
@@ -916,8 +916,8 @@ namespace svt
-//.........................................................................
+
} // namespace svt
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/scrwin.cxx b/svtools/source/control/scrwin.cxx
index 38c44b8445bc..0c697f8ceaef 100644
--- a/svtools/source/control/scrwin.cxx
+++ b/svtools/source/control/scrwin.cxx
@@ -20,7 +20,7 @@
#include <svtools/scrwin.hxx>
#include <vcl/settings.hxx>
-//===================================================================
+
void ScrollableWindow::ImpInitialize( ScrollableWindowFlags nFlags )
{
diff --git a/svtools/source/control/stdctrl.cxx b/svtools/source/control/stdctrl.cxx
index e73456b16682..74141c88eee0 100644
--- a/svtools/source/control/stdctrl.cxx
+++ b/svtools/source/control/stdctrl.cxx
@@ -20,7 +20,7 @@
#include <svtools/stdctrl.hxx>
-// =======================================================================
+
FixedInfo::FixedInfo( Window* pParent, WinBits nWinStyle ) :
FixedText( pParent, nWinStyle | WB_INFO )
diff --git a/svtools/source/control/stdmenu.cxx b/svtools/source/control/stdmenu.cxx
index 34be090e5939..3faca9ca7a8e 100644
--- a/svtools/source/control/stdmenu.cxx
+++ b/svtools/source/control/stdmenu.cxx
@@ -25,7 +25,7 @@
#include <svtools/ctrltool.hxx>
#include <svtools/stdmenu.hxx>
-// ========================================================================
+
FontNameMenu::FontNameMenu()
{
@@ -115,7 +115,7 @@ void FontNameMenu::SetCurName(const OUString& rName)
CheckItem( nChecked, false );
}
-// ========================================================================
+
FontSizeMenu::FontSizeMenu()
: mpHeightAry( NULL )
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 4e4ac1da29bb..1d1691fdcc1f 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -35,7 +35,7 @@
#include <svtools/svtools.hrc>
#include <limits>
-// =======================================================================
+
#define TABBAR_OFFSET_X 7
#define TABBAR_OFFSET_X2 2
@@ -44,7 +44,7 @@
const sal_uInt16 ADDNEWPAGE_AREAWIDTH = 10;
-// =======================================================================
+
struct ImplTabBarItem
{
@@ -91,7 +91,7 @@ struct ImplTabBarItem
}
};
-// =======================================================================
+
// - ImplTabButton -
@@ -128,7 +128,7 @@ void ImplTabButton::Command( const CommandEvent& rCEvt )
PushButton::Command(rCEvt);
}
-// =======================================================================
+
bool ImplTabButton::PreNotify( NotifyEvent& rNEvt )
{
@@ -144,7 +144,7 @@ bool ImplTabButton::PreNotify( NotifyEvent& rNEvt )
return PushButton::PreNotify( rNEvt );
}
-// =======================================================================
+
// - ImplTabSizer -
@@ -242,7 +242,7 @@ void ImplTabSizer::Paint( const Rectangle& )
aDecoView.DrawButton( Rectangle( Point( nOffX, 0 ), aOutputSize ), BUTTON_DRAW_NOLIGHTBORDER );
}
-// =======================================================================
+
// Is not named Impl. as it may be called or overloaded
@@ -363,7 +363,7 @@ IMPL_LINK_NOARG(TabBarEdit, ImplEndTimerHdl)
return 0;
}
-// =======================================================================
+
struct TabBar_Impl
{
ImplTabSizer* mpSizer;
@@ -379,7 +379,7 @@ struct TabBar_Impl
}
};
-// =======================================================================
+
const sal_uInt16 TabBar::APPEND = ::std::numeric_limits<sal_uInt16>::max();
const sal_uInt16 TabBar::PAGE_NOT_FOUND = ::std::numeric_limits<sal_uInt16>::max();
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx
index 270bff895259..5fa9f6d20c69 100644
--- a/svtools/source/control/toolbarmenu.cxx
+++ b/svtools/source/control/toolbarmenu.cxx
@@ -435,7 +435,7 @@ IMPL_LINK( ToolbarMenu, HighlightHdl, Control *, pControl )
return 0;
}
-// ====================================================================
+
ToolbarMenu::ToolbarMenu( const Reference< XFrame >& rFrame, Window* pParentWindow, WinBits nBits )
: DockingWindow(pParentWindow, nBits)
diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx
index 36d851d151af..519f33efb6d3 100644
--- a/svtools/source/control/toolbarmenuimp.hxx
+++ b/svtools/source/control/toolbarmenuimp.hxx
@@ -53,9 +53,9 @@ const int TITLE_ID = -1;
const int BORDER_X = 0;
const int BORDER_Y = 0;
-// --------------------
+
// - ToolbarMenuEntry -
-// --------------------
+
class ToolbarMenuEntry
{
@@ -98,9 +98,9 @@ public:
}
};
-// ---------------
+
// - ToolbarMenuAcc -
-// ---------------
+
typedef ::cppu::PartialWeakComponentImplHelper5<
::com::sun::star::accessibility::XAccessible,
@@ -195,9 +195,9 @@ private:
void ThrowIfDisposed (void) throw (::com::sun::star::lang::DisposedException);
};
-// -----------------------
+
// - ToolbarMenuEntryAcc -
-// -----------------------
+
typedef ::cppu::PartialWeakComponentImplHelper4< ::com::sun::star::accessibility::XAccessible,
::com::sun::star::accessibility::XAccessibleEventBroadcaster,
@@ -262,7 +262,7 @@ private:
virtual void SAL_CALL disposing (void);
};
-// -----------------------------------------------------------------------------
+
struct ToolbarMenu_Impl
{
diff --git a/svtools/source/control/urlcontrol.cxx b/svtools/source/control/urlcontrol.cxx
index ab11ade6263e..ddb402599ff3 100644
--- a/svtools/source/control/urlcontrol.cxx
+++ b/svtools/source/control/urlcontrol.cxx
@@ -22,14 +22,14 @@
#include <svtools/urlcontrol.hxx>
#include <vcl/layout.hxx>
-//.........................................................................
+
namespace svt
{
-//.........................................................................
- //=====================================================================
+
+
//= OFileURLControl
- //=====================================================================
+
OFileURLControl::OFileURLControl(Window* _pParent, const ResId& _rId)
: SvtURLBox(_pParent, _rId, INET_PROT_FILE)
@@ -88,8 +88,8 @@ namespace svt
return SvtURLBox::Notify(_rNEvt);
}
-//.........................................................................
+
} // namespace svt
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/vclxaccessibleheaderbaritem.cxx b/svtools/source/control/vclxaccessibleheaderbaritem.cxx
index 6e293146986f..aab216f5e7ee 100644
--- a/svtools/source/control/vclxaccessibleheaderbaritem.cxx
+++ b/svtools/source/control/vclxaccessibleheaderbaritem.cxx
@@ -42,9 +42,9 @@ using namespace ::comphelper;
DBG_NAME( VCLXAccessibleHeaderBarItem )
-// ----------------------------------------------------
+
// class AccessibleTabBar
-// ----------------------------------------------------
+
VCLXAccessibleHeaderBarItem::VCLXAccessibleHeaderBarItem( HeaderBar* pHeadBar, sal_Int32 _nIndexInParent )
:AccessibleExtendedComponentHelper_BASE( new VCLExternalSolarLock() )
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index 167369b50837..7104f68ac044 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -52,10 +52,10 @@
#include <algorithm>
#include <map>
-// .......................................................................
+
namespace svt
{
-// .......................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -89,9 +89,9 @@ namespace svt
}
}
- // ===================================================================
+
// = IAssigmentData
- // ===================================================================
+
class IAssigmentData
{
public:
@@ -128,9 +128,9 @@ namespace svt
{
}
- // ===================================================================
+
// = AssigmentTransientData
- // ===================================================================
+
class AssigmentTransientData : public IAssigmentData
{
protected:
@@ -266,9 +266,9 @@ public:
OSL_FAIL( "AssigmentTransientData::setCommand: cannot be implemented for transient data!" );
}
- // ===================================================================
+
// = AssignmentPersistentData
- // ===================================================================
+
class AssignmentPersistentData
:public ::utl::ConfigItem
,public IAssigmentData
@@ -482,9 +482,9 @@ void AssignmentPersistentData::Commit()
return getInt32Property( "CommandType" );
}
- // ===================================================================
+
// = AddressBookSourceDialogData
- // ===================================================================
+
struct AddressBookSourceDialogData
{
FixedText* pFieldLabels[FIELD_PAIRS_VISIBLE * 2];
@@ -511,7 +511,7 @@ void AssignmentPersistentData::Commit()
IAssigmentData* pConfigData;
- // ................................................................
+
AddressBookSourceDialogData( )
:nFieldScrollPos(0)
,nLastVisibleListIndex(0)
@@ -521,7 +521,7 @@ void AssignmentPersistentData::Commit()
{
}
- // ................................................................
+
AddressBookSourceDialogData( const Reference< XDataSource >& _rxTransientDS, const OUString& _rDataSourceName,
const OUString& _rTableName, const Sequence< AliasProgrammaticPair >& _rFields )
:m_xTransientDataSource( _rxTransientDS )
@@ -540,9 +540,9 @@ void AssignmentPersistentData::Commit()
};
- // ===================================================================
+
// = AddressBookSourceDialog
- // ===================================================================
+
AddressBookSourceDialog::AddressBookSourceDialog(Window* _pParent,
@@ -1312,8 +1312,8 @@ void AssignmentPersistentData::Commit()
return ModalDialog::PreNotify(_rNEvt);
}
-// .......................................................................
+
} // namespace svt
-// .......................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/dialogs/mcvmath.hxx b/svtools/source/dialogs/mcvmath.hxx
index d17b4db7bd8b..4fc2c8d0c654 100644
--- a/svtools/source/dialogs/mcvmath.hxx
+++ b/svtools/source/dialogs/mcvmath.hxx
@@ -55,9 +55,9 @@ class FixCpx;
#define FIX_A3 0
#endif
-// -------
+
// - Fix -
-// -------
+
class Fix
{
@@ -103,9 +103,9 @@ public:
friend FixCpx operator-( const FixCpx& a );
};
-// ----------
+
// - FixCpx -
-// ----------
+
class FixCpx
{
@@ -199,7 +199,7 @@ inline FixCpx operator/ ( const FixCpx& a, const FixCpx& b )
(b.r*a.r-a.r*b.i)/(b.r*b.r+b.i*b.i) );
}
-// -----------------------------------------------------------------------
+
Fix ImpMultBig2( const Fix& a, const Fix& b );
diff --git a/svtools/source/dialogs/prnsetup.cxx b/svtools/source/dialogs/prnsetup.cxx
index a378b92d2adf..d6adef7445bf 100644
--- a/svtools/source/dialogs/prnsetup.cxx
+++ b/svtools/source/dialogs/prnsetup.cxx
@@ -22,7 +22,7 @@
#include <svtools/svtresid.hxx>
#include <vcl/print.hxx>
-// =======================================================================
+
void ImplFillPrnDlgListBox( const Printer* pPrinter,
ListBox* pBox, PushButton* pPropBtn )
@@ -214,7 +214,7 @@ OUString ImplPrnDlgGetStatusText( const QueueInfo& rInfo )
return aStr;
}
-// =======================================================================
+
PrinterSetupDialog::PrinterSetupDialog(Window* pParent)
: ModalDialog(pParent, "PrinterSetupDialog",
diff --git a/svtools/source/dialogs/roadmapwizard.cxx b/svtools/source/dialogs/roadmapwizard.cxx
index 20800aef3e8c..5f9ab6f193ba 100644
--- a/svtools/source/dialogs/roadmapwizard.cxx
+++ b/svtools/source/dialogs/roadmapwizard.cxx
@@ -30,10 +30,10 @@
#include <map>
#include <set>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
namespace
{
@@ -120,9 +120,9 @@ namespace svt
return nMinLength;
}
- //====================================================================
+
//= RoadmapWizard
- //====================================================================
+
DBG_NAME( RoadmapWizard )
#ifdef DBG_UTIL
@@ -709,8 +709,8 @@ namespace svt
}
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index c0fa193046df..27d47a14591f 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -25,14 +25,14 @@
#include <svtools/svtresid.hxx>
#include <svtools/svtools.hrc>
-//.........................................................................
+
namespace svt
{
-//.........................................................................
- //=====================================================================
+
+
//= WizardPageImplData
- //=====================================================================
+
struct WizardPageImplData
{
WizardPageImplData()
@@ -40,9 +40,9 @@ namespace svt
}
};
- //=====================================================================
+
//= OWizardPage
- //=====================================================================
+
OWizardPage::OWizardPage( Window* _pParent, const ResId& _rResId )
:TabPage( _pParent, _rResId )
,m_pImpl( new WizardPageImplData )
@@ -94,9 +94,9 @@ namespace svt
return sal_True;
}
- //=====================================================================
+
//= WizardMachineImplData
- //=====================================================================
+
struct WizardMachineImplData : public WizardTypes
{
OUString sTitleBase; // the base for the title
@@ -118,9 +118,9 @@ namespace svt
}
};
- //=====================================================================
+
//= OWizardMachine
- //=====================================================================
+
OWizardMachine::OWizardMachine(Window* _pParent, const ResId& _rRes, sal_uInt32 _nButtonFlags )
:WizardDialog( _pParent, _rRes )
@@ -707,8 +707,8 @@ namespace svt
m_pImpl->m_bTravelingSuspended = false;
}
-//.........................................................................
+
} // namespace svt
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx
index de29f6ba5f85..332787efcd6b 100644
--- a/svtools/source/dialogs/wizdlg.cxx
+++ b/svtools/source/dialogs/wizdlg.cxx
@@ -22,14 +22,14 @@
#include <vcl/tabpage.hxx>
#include <svtools/wizdlg.hxx>
-// =======================================================================
+
#define WIZARDDIALOG_BUTTON_OFFSET_Y 6
#define WIZARDDIALOG_BUTTON_DLGOFFSET_X 6
#define WIZARDDIALOG_VIEW_DLGOFFSET_X 6
#define WIZARDDIALOG_VIEW_DLGOFFSET_Y 6
-// =======================================================================
+
struct ImplWizPageData
{
@@ -46,7 +46,7 @@ struct ImplWizButtonData
long mnOffset;
};
-// =======================================================================
+
void WizardDialog::ImplInitData()
{
@@ -359,7 +359,7 @@ TabPage* WizardDialog::ImplGetPage( sal_uInt16 nLevel ) const
return NULL;
}
-// =======================================================================
+
WizardDialog::WizardDialog( Window* pParent, WinBits nStyle ) :
ModalDialog( pParent, nStyle )
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx
index e8d359cfa6e9..6fcd02b0e510 100644
--- a/svtools/source/filter/exportdialog.cxx
+++ b/svtools/source/filter/exportdialog.cxx
@@ -334,7 +334,7 @@ uno::Sequence< beans::PropertyValue > ExportDialog::GetFilterData( sal_Bool bUpd
return aRet;
}
-//
+
awt::Size ExportDialog::GetOriginalSize()
{
basegfx::B2DRange aShapesRange;
diff --git a/svtools/source/graphic/grfcache.hxx b/svtools/source/graphic/grfcache.hxx
index 22b1f587e93a..1569f0c0e726 100644
--- a/svtools/source/graphic/grfcache.hxx
+++ b/svtools/source/graphic/grfcache.hxx
@@ -24,9 +24,9 @@
#include <vcl/timer.hxx>
#include <list>
-// -----------------------
+
// - GraphicManagerCache -
-// -----------------------
+
class GraphicAttr;
class GraphicCacheEntry;
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index 55eb718f07df..e439ca7b8760 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -1695,13 +1695,13 @@ bool GraphicObject::ImplRenderTileRecursive( VirtualDevice& rVDev, int nExponent
aTmpGraphic = GraphicObject( aTileBitmap );
// fill stripes left over from upstream levels:
- //
+
// x0000
// 0
// 0
// 0
// 0
- //
+
// where x denotes the place filled by our recursive predecessors
// check whether we have to fill stripes here. Although not
@@ -1839,7 +1839,7 @@ bool GraphicObject::ImplDrawTiled( OutputDevice* pOut, const Rectangle& rArea, c
static_cast<sal_Int64>(nTileCacheSize1D)*nTileCacheSize1D )
{
// First combine very small bitmaps into a larger tile
- // ===================================================
+
VirtualDevice aVDev;
const int nNumTilesInCacheX( (nTileCacheSize1D + rSizePixel.Width()-1) / rSizePixel.Width() );
@@ -1917,7 +1917,7 @@ bool GraphicObject::ImplDrawTiled( OutputDevice* pOut, const Rectangle& rArea, c
pOut->IntersectClipRegion( rArea );
// Paint all tiles
- // ===============
+
bRet = ImplDrawTiled( *pOut, aOutStart,
(aOutArea.GetWidth() + aOutArea.Left() - aOutStart.X() + rSizePixel.Width() - 1) / rSizePixel.Width(),
diff --git a/svtools/source/graphic/transformer.hxx b/svtools/source/graphic/transformer.hxx
index e57b8fa0bde3..f6ccef717292 100644
--- a/svtools/source/graphic/transformer.hxx
+++ b/svtools/source/graphic/transformer.hxx
@@ -26,9 +26,9 @@
namespace unographic {
-// ----------------------
+
// - GraphicTransformer -
-// ----------------------
+
typedef ::cppu::WeakAggImplHelper1<
::com::sun::star::graphic::XGraphicTransformer
diff --git a/svtools/source/hatchwindow/ipwin.hxx b/svtools/source/hatchwindow/ipwin.hxx
index a71fa46b30d9..abd687c2a4e9 100644
--- a/svtools/source/hatchwindow/ipwin.hxx
+++ b/svtools/source/hatchwindow/ipwin.hxx
@@ -54,7 +54,7 @@ public:
return aRect;
}
// Clockwise, start at upper left
- //
+
void FillHandleRectsPixel( Rectangle aRects[ 8 ] ) const;
void FillMoveRectsPixel( Rectangle aRects[ 4 ] ) const;
void Draw( OutputDevice * );
diff --git a/svtools/source/inc/iodlg.hrc b/svtools/source/inc/iodlg.hrc
index 0c51b9634f1d..7f244b0ba502 100644
--- a/svtools/source/inc/iodlg.hrc
+++ b/svtools/source/inc/iodlg.hrc
@@ -50,7 +50,7 @@
#define CB_AUTO_EXTENSION 42
#define CB_OPTIONS 43
-// -----------------------------------------------
+
#define STR_EXPLORERFILE_OPEN 1
#define STR_EXPLORERFILE_SAVE 2
@@ -69,7 +69,7 @@
#define BT_SVT_QUERYFOLDERNAME_DLG_CANCEL 14
#define BT_SVT_QUERYFOLDERNAME_DLG_HELP 15
-// -----------------------------------------------
+
#define SID_SFX_START 5000
#define SID_OPENURL (SID_SFX_START + 596)
diff --git a/svtools/source/inc/svtaccessiblefactory.hxx b/svtools/source/inc/svtaccessiblefactory.hxx
index 30926de89ef1..f9c837342927 100644
--- a/svtools/source/inc/svtaccessiblefactory.hxx
+++ b/svtools/source/inc/svtaccessiblefactory.hxx
@@ -22,14 +22,14 @@
#include <svtools/accessiblefactory.hxx>
-//........................................................................
+
namespace svt
{
-//........................................................................
- //====================================================================
+
+
//= AccessibleFactoryAccess
- //====================================================================
+
/** a client for the accessibility implementations which have been outsourced
from the main svtools library
@@ -57,9 +57,9 @@ namespace svt
void ensureInitialized();
};
-//........................................................................
+
} // namespace svt
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_INC_SVTACCESSIBLEFACTORY_HXX
diff --git a/svtools/source/inc/unoiface.hxx b/svtools/source/inc/unoiface.hxx
index 5fe6aab167d7..5f0f099f513c 100644
--- a/svtools/source/inc/unoiface.hxx
+++ b/svtools/source/inc/unoiface.hxx
@@ -45,9 +45,9 @@ namespace com { namespace sun { namespace star { namespace util {
class SvNumberFormatsSupplierObj;
-// ----------------------------------------------------
+
// class VCLXMultiLineEdit
-// ----------------------------------------------------
+
class VCLXMultiLineEdit : public ::com::sun::star::awt::XTextComponent,
public ::com::sun::star::awt::XTextArea,
public ::com::sun::star::awt::XTextLayoutConstrains,
@@ -111,9 +111,9 @@ public:
};
-// ----------------------------------------------------
+
// class VCLXFileControl
-// ----------------------------------------------------
+
class VCLXFileControl : ::com::sun::star::awt::XTextComponent, public ::com::sun::star::awt::XTextLayoutConstrains, public VCLXWindow
{
protected:
@@ -164,9 +164,9 @@ public:
virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
};
-// ----------------------------------------------------
+
// class SVTXFormattedField
-// ----------------------------------------------------
+
class SVTXFormattedField : public VCLXSpinField
{
@@ -218,9 +218,9 @@ protected:
-// ----------------------------------------------------
+
// class SVTXRoadmap
-// ----------------------------------------------------
+
namespace svt
{
@@ -288,9 +288,9 @@ protected:
-// ----------------------------------------------------
+
// class SVTXNumericField
-// ----------------------------------------------------
+
class SVTXNumericField : public ::com::sun::star::awt::XNumericField, public SVTXFormattedField
{
public:
@@ -328,9 +328,9 @@ public:
virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
};
-// ----------------------------------------------------
+
// class VCLXCurrencyField
-// ----------------------------------------------------
+
class SVTXCurrencyField : public ::com::sun::star::awt::XCurrencyField, public SVTXFormattedField
{
public:
@@ -372,9 +372,9 @@ public:
virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
};
-// ----------------------------------------------------
+
// class VCLXProgressBar
-// ----------------------------------------------------
+
class VCLXProgressBar : public ::com::sun::star::awt::XProgressBar,
public VCLXWindow
{
@@ -414,9 +414,9 @@ public:
virtual void GetPropertyIds( std::list< sal_uInt16 > &aIds ) { return ImplGetPropertyIds( aIds ); }
};
-// ----------------------------------------------------
+
// class SVTXDateField
-// ----------------------------------------------------
+
class SVTXDateField : public VCLXDateField
{
public:
diff --git a/svtools/source/misc/bindablecontrolhelper.cxx b/svtools/source/misc/bindablecontrolhelper.cxx
index f94a3e0a15c6..bc54fb6d1e83 100644
--- a/svtools/source/misc/bindablecontrolhelper.cxx
+++ b/svtools/source/misc/bindablecontrolhelper.cxx
@@ -31,10 +31,10 @@
#include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
using namespace ::com::sun::star;
@@ -141,8 +141,8 @@ BindableControlHelper::ApplyListSourceAndBindableData( const com::sun::star::uno
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/dialogclosedlistener.cxx b/svtools/source/misc/dialogclosedlistener.cxx
index 8f3eb8513d37..fe1f3f2d3f2f 100644
--- a/svtools/source/misc/dialogclosedlistener.cxx
+++ b/svtools/source/misc/dialogclosedlistener.cxx
@@ -19,18 +19,18 @@
#include <svtools/dialogclosedlistener.hxx>
-//.........................................................................
+
namespace svt
{
-//.........................................................................
+
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::ui::dialogs;
- //=====================================================================
+
//= DialogClosedListener
- //=====================================================================
+
DialogClosedListener::DialogClosedListener()
{
@@ -52,9 +52,9 @@ namespace svt
m_aDialogClosedLink = Link();
}
-//.........................................................................
+
} // namespace svt
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/dialogcontrolling.cxx b/svtools/source/misc/dialogcontrolling.cxx
index b8c06b137193..516b3afc7c35 100644
--- a/svtools/source/misc/dialogcontrolling.cxx
+++ b/svtools/source/misc/dialogcontrolling.cxx
@@ -23,30 +23,30 @@
#include <algorithm>
#include <functional>
-//........................................................................
+
namespace svt
{
-//........................................................................
- //=====================================================================
+
+
//= IWindowOperator
- //=====================================================================
+
IWindowOperator::~IWindowOperator()
{
}
- //=====================================================================
+
//= IWindowEventFilter
- //=====================================================================
+
IWindowEventFilter::~IWindowEventFilter()
{
}
- //=====================================================================
+
//= DialogController_Data
- //=====================================================================
+
struct DialogController_Data
{
Window& rInstigator;
@@ -62,9 +62,9 @@ namespace svt
}
};
- //=====================================================================
+
//= DialogController
- //=====================================================================
+
DialogController::DialogController( Window& _rInstigator, const PWindowEventFilter& _pEventFilter,
const PWindowOperator& _pOperator )
@@ -124,17 +124,17 @@ namespace svt
m_pImpl->pOperator->operateOn( _rTriggerEvent, _rWindow );
}
- //=====================================================================
+
//= ControlDependencyManager_Data
- //=====================================================================
+
struct ControlDependencyManager_Data
{
::std::vector< PDialogController > aControllers;
};
- //=====================================================================
+
//= ControlDependencyManager
- //=====================================================================
+
ControlDependencyManager::ControlDependencyManager()
:m_pImpl( new ControlDependencyManager_Data )
@@ -239,8 +239,8 @@ namespace svt
m_pImpl->aControllers.push_back( pController );
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/ehdl.cxx b/svtools/source/misc/ehdl.cxx
index 338d74584e01..75d82484dd23 100644
--- a/svtools/source/misc/ehdl.cxx
+++ b/svtools/source/misc/ehdl.cxx
@@ -29,7 +29,7 @@
#include <svtools/svtools.hrc>
#include <svtools/sfxecode.hxx>
-//=========================================================================
+
static sal_uInt16 aWndFunc(
Window *pWin, // Parent of the dialog
diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx
index 767344f8d8b4..800ca8a2585c 100644
--- a/svtools/source/misc/imagemgr.cxx
+++ b/svtools/source/misc/imagemgr.cxx
@@ -193,7 +193,7 @@ static SvtFactory2ExtensionMapping_Impl const Fac2ExtMap_Impl[] =
{ NULL, NULL }
};
-//****************************************************************************
+
static OUString GetImageExtensionByFactory_Impl( const OUString& rURL )
{
@@ -346,7 +346,7 @@ static sal_uInt16 GetFolderImageId_Impl( const OUString& rURL )
}
catch( const ::com::sun::star::uno::Exception& )
{
- // ...
+
}
return nRet;
}
@@ -472,7 +472,7 @@ static sal_uInt16 GetFolderDescriptionId_Impl( const OUString& rURL )
}
catch( const ::com::sun::star::uno::Exception& )
{
- // ...
+
}
return nRet;
}
diff --git a/svtools/source/misc/imageresourceaccess.cxx b/svtools/source/misc/imageresourceaccess.cxx
index 713b195b5976..970865cd7b2a 100644
--- a/svtools/source/misc/imageresourceaccess.cxx
+++ b/svtools/source/misc/imageresourceaccess.cxx
@@ -31,10 +31,10 @@
#include <cppuhelper/implbase2.hxx>
#include <comphelper/processfactory.hxx>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
using namespace ::utl;
using namespace ::com::sun::star::io;
@@ -43,9 +43,9 @@ namespace svt
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::graphic;
- //====================================================================
+
//= StreamSupplier
- //====================================================================
+
typedef ::cppu::WeakImplHelper2 < XStream
, XSeekable
> StreamSupplier_Base;
@@ -120,9 +120,9 @@ namespace svt
return m_xSeekable->getLength();
}
- //====================================================================
+
//= GraphicAccess
- //====================================================================
+
bool GraphicAccess::isSupportedURL( const OUString& _rURL )
{
@@ -186,8 +186,8 @@ namespace svt
return new OSeekableInputStreamWrapper( getImageStream( _rxContext, _rImageResourceURL ), true ); // take ownership
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/sampletext.cxx b/svtools/source/misc/sampletext.cxx
index 95a4d72faf12..28ccec9b937c 100644
--- a/svtools/source/misc/sampletext.cxx
+++ b/svtools/source/misc/sampletext.cxx
@@ -101,7 +101,7 @@ OUString makeShortRepresentativeSymbolTextForSelectedFont(OutputDevice &rDevice)
//These ones are typically for use in the font dropdown box beside the
//fontname, so say things roughly like "Script/Alphabet/Name-Of-Major-Language"
-//
+
//Here we don't always know the language of course, only the script that can be
//written with the font. Often that's one single language written in that
//script, or a handful of related languages where the name of the script is the
@@ -493,10 +493,10 @@ OUString makeMinimalTextForScript(UScriptCode eScript)
//These ones are typically for use in the font preview window in format
//character
-//
+
//There we generally know the language. Though its possible for the language to
//be "none".
-//
+
//Currently we fall back to makeShortRepresentativeTextForScript when we don't
//have suitable strings
OUString makeRepresentativeTextForLanguage(LanguageType eLang)
diff --git a/svtools/source/misc/stringtransfer.cxx b/svtools/source/misc/stringtransfer.cxx
index 19d90ec82143..df46b676cdef 100644
--- a/svtools/source/misc/stringtransfer.cxx
+++ b/svtools/source/misc/stringtransfer.cxx
@@ -19,17 +19,17 @@
#include <svtools/stringtransfer.hxx>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::datatransfer;
- //====================================================================
+
//= OStringTransferable
- //====================================================================
+
OStringTransferable::OStringTransferable(const OUString& _rContent)
:TransferableHelper()
@@ -53,9 +53,9 @@ namespace svt
return sal_False;
}
- //====================================================================
+
//= OStringTransfer
- //====================================================================
+
void OStringTransfer::CopyString( const OUString& _rContent, Window* _pWindow )
{
@@ -96,8 +96,8 @@ namespace svt
pTransferable->StartDrag(_pWindow, _nDragSourceActions);
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/svtaccessiblefactory.cxx b/svtools/source/misc/svtaccessiblefactory.cxx
index 4370aebffbff..313389b5da73 100644
--- a/svtools/source/misc/svtaccessiblefactory.cxx
+++ b/svtools/source/misc/svtaccessiblefactory.cxx
@@ -30,15 +30,15 @@
// here) died, it's not said that everybody released all references to the
// XAccessibleContext used by this component, and implemented in the acc lib.
// So we cannot really unload the lib.
- //
+
// Alternatively, if the lib would us own "usage counting", i.e. every component
// implemented therein would affect a static ref count, the acc lib could care
// for unloading itself.
-//........................................................................
+
namespace svt
{
-//........................................................................
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::awt;
@@ -55,9 +55,9 @@ namespace svt
static GetSvtAccessibilityComponentFactory s_pAccessibleFactoryFunc = NULL;
static ::rtl::Reference< IAccessibleFactory > s_pFactory;
- //====================================================================
+
//= AccessibleDummyFactory
- //====================================================================
+
class AccessibleDummyFactory : public IAccessibleFactory
{
public:
@@ -248,9 +248,9 @@ namespace svt
}
}
- //====================================================================
+
//= AccessibleFactoryAccess
- //====================================================================
+
AccessibleFactoryAccess::AccessibleFactoryAccess()
:m_bInitialized( false )
@@ -345,8 +345,8 @@ namespace svt
return *s_pFactory;
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index 55b6db900864..bc9c498a1f61 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -41,10 +41,10 @@
#include <functional>
#include <algorithm>
-//.........................................................................
+
namespace svt
{
-//.........................................................................
+
using namespace ::utl;
using namespace ::com::sun::star;
@@ -52,9 +52,9 @@ namespace svt
using namespace ::com::sun::star::ucb;
using namespace ::com::sun::star::uno;
- //=====================================================================
+
//= helpers
- //=====================================================================
+
SvStream& WriteDateTime( SvStream& _rStorage, const util::DateTime& _rDate )
{
@@ -107,9 +107,9 @@ namespace svt
return !( _rLHS == _rRHS );
}
- //=====================================================================
+
//= TemplateContent
- //=====================================================================
+
struct TemplateContent;
typedef ::std::vector< ::rtl::Reference< TemplateContent > > TemplateFolderContent;
typedef TemplateFolderContent::const_iterator ConstFolderIterator;
@@ -177,9 +177,9 @@ namespace svt
DBG_DTOR( TemplateContent, NULL );
}
- //=====================================================================
+
//= stl helpers
- //=====================================================================
+
/// compares two TemplateContent by URL
struct TemplateContentURLLess
@@ -234,7 +234,7 @@ namespace svt
, bool
>
{
- //.................................................................
+
bool operator() (const ::rtl::Reference< TemplateContent >& _rLHS, const ::rtl::Reference< TemplateContent >& _rRHS )
{
if ( !_rLHS.is() || !_rRHS.is() )
@@ -349,7 +349,7 @@ namespace svt
xOfficeInstDirs )
: StorageHelper( _rStorage ), m_xOfficeInstDirs( xOfficeInstDirs ) { }
- //.................................................................
+
void operator() ( const TemplateContent& _rContent ) const
{
// store the info about this content
@@ -372,7 +372,7 @@ namespace svt
);
}
- //.................................................................
+
void operator() ( const ::rtl::Reference< TemplateContent >& _rxContent ) const
{
if ( _rxContent.is() )
@@ -396,7 +396,7 @@ namespace svt
xOfficeInstDirs )
: StorageHelper( _rStorage ), m_xOfficeInstDirs( xOfficeInstDirs ) { }
- //.................................................................
+
void operator() ( TemplateContent& _rContent ) const
{
// store the info about this content
@@ -428,7 +428,7 @@ namespace svt
);
}
- //.................................................................
+
void operator() ( const ::rtl::Reference< TemplateContent >& _rxContent ) const
{
if ( _rxContent.is() )
@@ -438,9 +438,9 @@ namespace svt
}
};
- //=====================================================================
+
//= TemplateFolderCacheImpl
- //=====================================================================
+
class TemplateFolderCacheImpl
{
private:
@@ -842,9 +842,9 @@ namespace svt
return m_xOfficeInstDirs;
}
- //=====================================================================
+
//= TemplateFolderCache
- //=====================================================================
+
TemplateFolderCache::TemplateFolderCache( sal_Bool _bAutoStoreState )
:m_pImpl( new TemplateFolderCacheImpl( _bAutoStoreState ) )
@@ -869,8 +869,8 @@ namespace svt
m_pImpl->storeState( _bForceRetrieval );
}
-//.........................................................................
+
} // namespace sfx2
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx
index 65de5d70cd6d..911e78c312a3 100644
--- a/svtools/source/misc/transfer.cxx
+++ b/svtools/source/misc/transfer.cxx
@@ -790,7 +790,7 @@ sal_Bool TransferableHelper::SetBitmapEx( const BitmapEx& rBitmapEx, const DataF
//if(rBitmapEx.IsTransparent())
//{
// const Bitmap aMask(rBitmapEx.GetAlpha().GetBitmap());
- //
+
// // explicitely use Bitmap::Write with bCompressed = sal_False and bFileHeader = sal_True
// WriteDIBV5(aBitmap, aMask, aMemStm);
//}
diff --git a/svtools/source/misc/xwindowitem.cxx b/svtools/source/misc/xwindowitem.cxx
index a22a3f9825e4..f25c28dda359 100644
--- a/svtools/source/misc/xwindowitem.cxx
+++ b/svtools/source/misc/xwindowitem.cxx
@@ -25,7 +25,7 @@
using namespace ::com::sun::star;
-//////////////////////////////////////////////////////////////////////
+
TYPEINIT1_FACTORY( XWindowItem, SfxPoolItem, new XWindowItem );
@@ -63,7 +63,7 @@ bool XWindowItem::operator == ( const SfxPoolItem & rAttr ) const
}
-//////////////////////////////////////////////////////////////////////
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index 5d49ab5eafdf..b33d3207af6d 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -1852,11 +1852,11 @@ bool HTMLParser::IsHTMLFormat( const sal_Char* pHeader,
{
// If the string matches one of the following regular expressions then
// the document is a HTML document.
- //
+
// ^[^<]*<[^ \t]*[> \t]
// -------
// ^<!
- //
+
// where the underlined subexpression has to be a HTML token
OString sCmp;
bool bUCS2B = false;
diff --git a/svtools/source/table/cellvalueconversion.cxx b/svtools/source/table/cellvalueconversion.cxx
index 2aba8a64c362..14a7be2873ec 100644
--- a/svtools/source/table/cellvalueconversion.cxx
+++ b/svtools/source/table/cellvalueconversion.cxx
@@ -38,10 +38,10 @@
#include <boost/shared_ptr.hpp>
#include <boost/unordered_map.hpp>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
+
using namespace ::com::sun::star::uno;
using ::com::sun::star::util::XNumberFormatter;
@@ -59,9 +59,9 @@ namespace svt
typedef ::com::sun::star::util::Time UnoTime;
typedef ::com::sun::star::util::Date UnoDate;
- //==================================================================================================================
+
//= helper
- //==================================================================================================================
+
namespace
{
@@ -80,9 +80,9 @@ namespace svt
}
}
- //==================================================================================================================
+
//= IValueNormalization
- //==================================================================================================================
+
class SAL_NO_VTABLE IValueNormalization
{
public:
@@ -100,9 +100,9 @@ namespace svt
typedef ::boost::shared_ptr< IValueNormalization > PValueNormalization;
typedef ::boost::unordered_map< OUString, PValueNormalization, OUStringHash > NormalizerCache;
- //==================================================================================================================
+
//= CellValueConversion_Data
- //==================================================================================================================
+
struct CellValueConversion_Data
{
Reference< XNumberFormatter > xNumberFormatter;
@@ -117,9 +117,9 @@ namespace svt
}
};
- //==================================================================================================================
+
//= StandardFormatNormalizer
- //==================================================================================================================
+
class StandardFormatNormalizer : public IValueNormalization
{
protected:
@@ -148,9 +148,9 @@ namespace svt
::sal_Int32 m_nFormatKey;
};
- //==================================================================================================================
+
//= DoubleNormalization
- //==================================================================================================================
+
class DoubleNormalization : public StandardFormatNormalizer
{
public:
@@ -170,9 +170,9 @@ namespace svt
virtual ~DoubleNormalization() { }
};
- //==================================================================================================================
+
//= IntegerNormalization
- //==================================================================================================================
+
class IntegerNormalization : public StandardFormatNormalizer
{
public:
@@ -191,9 +191,9 @@ namespace svt
}
};
- //==================================================================================================================
+
//= BooleanNormalization
- //==================================================================================================================
+
class BooleanNormalization : public StandardFormatNormalizer
{
public:
@@ -212,9 +212,9 @@ namespace svt
}
};
- //==================================================================================================================
+
//= DateTimeNormalization
- //==================================================================================================================
+
class DateTimeNormalization : public StandardFormatNormalizer
{
public:
@@ -246,9 +246,9 @@ namespace svt
}
};
- //==================================================================================================================
+
//= DateNormalization
- //==================================================================================================================
+
class DateNormalization : public StandardFormatNormalizer
{
public:
@@ -276,9 +276,9 @@ namespace svt
}
};
- //==================================================================================================================
+
//= TimeNormalization
- //==================================================================================================================
+
class TimeNormalization : public StandardFormatNormalizer
{
public:
@@ -307,9 +307,9 @@ namespace svt
}
};
- //==================================================================================================================
+
//= operations
- //==================================================================================================================
+
namespace
{
@@ -408,9 +408,9 @@ namespace svt
}
}
- //==================================================================================================================
+
//= CellValueConversion
- //==================================================================================================================
+
CellValueConversion::CellValueConversion()
:m_pData( new CellValueConversion_Data )
@@ -454,8 +454,8 @@ namespace svt
return sStringValue;
}
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/table/cellvalueconversion.hxx b/svtools/source/table/cellvalueconversion.hxx
index 696c854eca59..23091bd0391f 100644
--- a/svtools/source/table/cellvalueconversion.hxx
+++ b/svtools/source/table/cellvalueconversion.hxx
@@ -25,14 +25,14 @@
#include <boost/scoped_ptr.hpp>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
- //==================================================================================================================
+
+
//= CellValueConversion
- //==================================================================================================================
+
struct CellValueConversion_Data;
class CellValueConversion
{
@@ -46,9 +46,9 @@ namespace svt
::boost::scoped_ptr< CellValueConversion_Data > m_pData;
};
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TABLE_CELLVALUECONVERSION_HXX
diff --git a/svtools/source/table/defaultinputhandler.cxx b/svtools/source/table/defaultinputhandler.cxx
index 14ce3e8d1b56..e4312489fb4a 100644
--- a/svtools/source/table/defaultinputhandler.cxx
+++ b/svtools/source/table/defaultinputhandler.cxx
@@ -27,10 +27,10 @@
#include <vcl/event.hxx>
#include <vcl/cursor.hxx>
-//......................................................................................................................
+
namespace svt { namespace table
{
-//......................................................................................................................
+
typedef ::rtl::Reference< IMouseFunction > PMouseFunction;
typedef ::std::vector< PMouseFunction > MouseFunctions;
@@ -40,9 +40,9 @@ namespace svt { namespace table
MouseFunctions aMouseFunctions;
};
- //==================================================================================================================
+
//= DefaultInputHandler
- //==================================================================================================================
+
DefaultInputHandler::DefaultInputHandler()
:m_pImpl( new DefaultInputHandler_Impl )
@@ -231,8 +231,8 @@ namespace svt { namespace table
// TODO
return false;
}
-//......................................................................................................................
+
} } // namespace svt::table
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/table/gridtablerenderer.cxx b/svtools/source/table/gridtablerenderer.cxx
index dce27c49cf74..2ec60b021fe1 100644
--- a/svtools/source/table/gridtablerenderer.cxx
+++ b/svtools/source/table/gridtablerenderer.cxx
@@ -33,10 +33,10 @@
#include <vcl/decoview.hxx>
#include <vcl/settings.hxx>
-//......................................................................................................................
+
namespace svt { namespace table
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Any;
using ::com::sun::star::uno::Reference;
@@ -53,9 +53,9 @@ namespace svt { namespace table
using ::com::sun::star::style::VerticalAlignment_MIDDLE;
using ::com::sun::star::style::VerticalAlignment_BOTTOM;
- //==================================================================================================================
+
//= CachedSortIndicator
- //==================================================================================================================
+
class CachedSortIndicator
{
public:
@@ -103,9 +103,9 @@ namespace svt { namespace table
return rBitmap;
}
- //==================================================================================================================
+
//= GridTableRenderer_Impl
- //==================================================================================================================
+
struct GridTableRenderer_Impl
{
ITableModel& rModel;
@@ -124,9 +124,9 @@ namespace svt { namespace table
}
};
- //==================================================================================================================
+
//= helper
- //==================================================================================================================
+
namespace
{
static Rectangle lcl_getContentArea( GridTableRenderer_Impl const & i_impl, Rectangle const & i_cellArea )
@@ -176,9 +176,9 @@ namespace svt { namespace table
}
- //==================================================================================================================
+
//= GridTableRenderer
- //==================================================================================================================
+
GridTableRenderer::GridTableRenderer( ITableModel& _rModel )
:m_pImpl( new GridTableRenderer_Impl( _rModel ) )
@@ -623,8 +623,8 @@ namespace svt { namespace table
return true;
}
-//......................................................................................................................
+
} } // namespace svt::table
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/table/mousefunction.cxx b/svtools/source/table/mousefunction.cxx
index a015a82de44f..afb2eec89164 100644
--- a/svtools/source/table/mousefunction.cxx
+++ b/svtools/source/table/mousefunction.cxx
@@ -24,14 +24,14 @@
#include <tools/diagnose_ex.h>
#include <vcl/window.hxx>
-//......................................................................................................................
+
namespace svt { namespace table
{
-//......................................................................................................................
- //==================================================================================================================
+
+
//= MouseFunction
- //==================================================================================================================
+
oslInterlockedCount MouseFunction::acquire()
{
@@ -50,9 +50,9 @@ namespace svt { namespace table
return newCount;
}
- //==================================================================================================================
+
//= ColumnResize
- //==================================================================================================================
+
FunctionResult ColumnResize::handleMouseMove( ITableControl& i_tableControl, MouseEvent const & i_event )
{
@@ -180,9 +180,9 @@ namespace svt { namespace table
return DeactivateFunction;
}
- //==================================================================================================================
+
//= RowSelection
- //==================================================================================================================
+
FunctionResult RowSelection::handleMouseMove( ITableControl& i_tableControl, MouseEvent const & i_event )
{
@@ -234,9 +234,9 @@ namespace svt { namespace table
return SkipFunction;
}
- //==================================================================================================================
+
//= ColumnSortHandler
- //==================================================================================================================
+
FunctionResult ColumnSortHandler::handleMouseMove( ITableControl& i_tableControl, MouseEvent const & i_event )
{
@@ -294,8 +294,8 @@ namespace svt { namespace table
return DeactivateFunction;
}
-//......................................................................................................................
+
} } // namespace svt::table
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/table/mousefunction.hxx b/svtools/source/table/mousefunction.hxx
index 8f2ffe81f669..97e7c1d8ddcd 100644
--- a/svtools/source/table/mousefunction.hxx
+++ b/svtools/source/table/mousefunction.hxx
@@ -28,16 +28,16 @@
class MouseEvent;
-//......................................................................................................................
+
namespace svt { namespace table
{
-//......................................................................................................................
+
class ITableControl;
- //==================================================================================================================
+
//= FunctionResult
- //==================================================================================================================
+
enum FunctionResult
{
ActivateFunction,
@@ -47,9 +47,9 @@ namespace svt { namespace table
SkipFunction
};
- //==================================================================================================================
+
//= IMouseFunction
- //==================================================================================================================
+
class IMouseFunction : public ::rtl::IReference, public ::boost::noncopyable
{
public:
@@ -61,9 +61,9 @@ namespace svt { namespace table
virtual ~IMouseFunction() { }
};
- //==================================================================================================================
+
//= MouseFunction
- //==================================================================================================================
+
class MouseFunction : public IMouseFunction
{
public:
@@ -84,9 +84,9 @@ namespace svt { namespace table
oslInterlockedCount m_refCount;
};
- //==================================================================================================================
+
//= ColumnResize
- //==================================================================================================================
+
class ColumnResize : public MouseFunction
{
public:
@@ -105,9 +105,9 @@ namespace svt { namespace table
ColPos m_nResizingColumn;
};
- //==================================================================================================================
+
//= RowSelection
- //==================================================================================================================
+
class RowSelection : public MouseFunction
{
public:
@@ -126,9 +126,9 @@ namespace svt { namespace table
bool m_bActive;
};
- //==================================================================================================================
+
//= ColumnSortHandler
- //==================================================================================================================
+
class ColumnSortHandler : public MouseFunction
{
public:
@@ -147,9 +147,9 @@ namespace svt { namespace table
ColPos m_nActiveColumn;
};
-//......................................................................................................................
+
} } // namespace svt::table
-//......................................................................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TABLE_MOUSEFUNCTION_HXX
diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx
index e874cfdb7231..5f40bad82b1a 100644
--- a/svtools/source/table/tablecontrol.cxx
+++ b/svtools/source/table/tablecontrol.cxx
@@ -35,16 +35,16 @@ using ::com::sun::star::accessibility::XAccessible;
using namespace ::com::sun::star::accessibility;
using namespace ::com::sun::star::lang;
using namespace utl;
-//......................................................................................................................
+
namespace svt { namespace table
{
-//......................................................................................................................
+
namespace AccessibleEventId = ::com::sun::star::accessibility::AccessibleEventId;
- //==================================================================================================================
+
//= TableControl
- //==================================================================================================================
+
TableControl::TableControl( Window* _pParent, WinBits _nStyle )
:Control( _pParent, _nStyle )
@@ -673,5 +673,5 @@ namespace svt { namespace table
}} // namespace svt::table
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx
index e1437e05258a..6f143006f4d6 100644
--- a/svtools/source/table/tablecontrol_impl.cxx
+++ b/svtools/source/table/tablecontrol_impl.cxx
@@ -44,10 +44,10 @@
#define MIN_COLUMN_WIDTH_PIXEL 4
-//......................................................................................................................
+
namespace svt { namespace table
{
-//......................................................................................................................
+
using ::com::sun::star::accessibility::AccessibleTableModelChange;
using ::com::sun::star::uno::makeAny;
@@ -58,9 +58,9 @@ namespace svt { namespace table
namespace AccessibleEventId = ::com::sun::star::accessibility::AccessibleEventId;
namespace AccessibleTableModelChangeType = ::com::sun::star::accessibility::AccessibleTableModelChangeType;
- //==================================================================================================================
+
//= SuppressCursor
- //==================================================================================================================
+
class SuppressCursor
{
private:
@@ -78,9 +78,9 @@ namespace svt { namespace table
}
};
- //====================================================================
+
//= EmptyTableModel
- //====================================================================
+
/** default implementation of an ->ITableModel, used as fallback when no
real model is present
@@ -232,15 +232,15 @@ namespace svt { namespace table
};
- //====================================================================
+
//= TableControl_Impl
- //====================================================================
+
DBG_NAME( TableControl_Impl )
#ifdef DBG_UTIL
- //====================================================================
+
//= SuspendInvariants
- //====================================================================
+
class SuspendInvariants
{
private:
@@ -268,7 +268,7 @@ namespace svt { namespace table
#endif
#ifdef DBG_UTIL
- //====================================================================
+
const char* TableControl_Impl_checkInvariants( const void* _pInstance )
{
return static_cast< const TableControl_Impl* >( _pInstance )->impl_checkInvariants();
@@ -818,7 +818,7 @@ namespace svt { namespace table
namespace
{
- //..............................................................................................................
+
/// determines whether a scrollbar is needed for the given values
bool lcl_determineScrollbarNeed( long const i_position, ScrollbarVisibility const i_visibility,
long const i_availableSpace, long const i_neededSpace )
@@ -834,7 +834,7 @@ namespace svt { namespace table
return true;
}
- //..............................................................................................................
+
void lcl_setButtonRepeat( Window& _rWindow, sal_uLong _nDelay )
{
AllSettings aSettings = _rWindow.GetSettings();
@@ -846,7 +846,7 @@ namespace svt { namespace table
_rWindow.SetSettings( aSettings, sal_True );
}
- //..............................................................................................................
+
bool lcl_updateScrollbar( Window& _rParent, ScrollBar*& _rpBar,
bool const i_needBar, long _nVisibleUnits,
long _nPosition, long _nLineSize, long _nRange,
@@ -886,7 +886,7 @@ namespace svt { namespace table
return ( bHaveBar != i_needBar );
}
- //..............................................................................................................
+
/** returns the number of rows fitting into the given range,
for the given row height. Partially fitting rows are counted, too, if the
respective parameter says so.
@@ -898,7 +898,7 @@ namespace svt { namespace table
: _nOverallHeight / _nRowHeightPixel;
}
- //..............................................................................................................
+
/** returns the number of columns fitting into the given area,
with the first visible column as given. Partially fitting columns are counted, too,
if the respective parameter says so.
@@ -1189,12 +1189,12 @@ namespace svt { namespace table
SuppressCursor aHideCursor( *this );
// layouting steps:
- //
+
// 1. adjust column widths, leaving space for a vertical scrollbar
// 2. determine need for a vertical scrollbar
// - V-YES: all fine, result from 1. is still valid
// - V-NO: result from 1. is still under consideration
- //
+
// 3. determine need for a horizontal scrollbar
// - H-NO: all fine, result from 2. is still valid
// - H-YES: reconsider need for a vertical scrollbar, if result of 2. was V-NO
@@ -1431,7 +1431,7 @@ namespace svt { namespace table
// headers
Rectangle const aAllCellsWithHeaders( impl_getAllVisibleCellsArea() );
- // ............................
+
// draw the header column area
if ( m_pModel->hasColumnHeaders() )
{
@@ -1488,7 +1488,7 @@ namespace svt { namespace table
}
}
- // ............................
+
// draw the table content row by row
TableSize colCount = getModel()->getColumnCount();
@@ -2750,9 +2750,9 @@ namespace svt { namespace table
m_pAccessibleTable->commitEvent( i_eventID, i_newValue, i_oldValue );
}
- //==================================================================================================================
+
//= TableFunctionSet
- //==================================================================================================================
+
TableFunctionSet::TableFunctionSet(TableControl_Impl* _pTableControl)
:m_pTableControl( _pTableControl)
@@ -2895,8 +2895,8 @@ namespace svt { namespace table
}
}
-//......................................................................................................................
+
} } // namespace svt::table
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx
index 58c7ec9cf7c1..bd049c8580d6 100644
--- a/svtools/source/table/tablecontrol_impl.hxx
+++ b/svtools/source/table/tablecontrol_impl.hxx
@@ -34,10 +34,10 @@
class ScrollBar;
class ScrollBarBox;
-//........................................................................
+
namespace svt { namespace table
{
-//........................................................................
+
struct MutableColumnMetrics : protected ColumnMetrics
{
@@ -76,9 +76,9 @@ namespace svt { namespace table
class TableDataWindow;
class TableFunctionSet;
- //====================================================================
+
//= TableControl_Impl
- //====================================================================
+
class TableControl_Impl :public ITableControl
,public ITableModelListener
{
@@ -503,9 +503,9 @@ namespace svt { namespace table
};
-//........................................................................
+
} } // namespace svt::table
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TABLE_TABLECONTROL_IMPL_HXX
diff --git a/svtools/source/table/tabledatawindow.cxx b/svtools/source/table/tabledatawindow.cxx
index e9c8a981321c..d867002a5c14 100644
--- a/svtools/source/table/tabledatawindow.cxx
+++ b/svtools/source/table/tabledatawindow.cxx
@@ -27,16 +27,16 @@
#include <vcl/help.hxx>
#include <vcl/settings.hxx>
-//......................................................................................................................
+
namespace svt { namespace table
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Any;
- //==================================================================================================================
+
//= TableDataWindow
- //==================================================================================================================
+
TableDataWindow::TableDataWindow( TableControl_Impl& _rTableControl )
:Window( &_rTableControl.getAntiImpl() )
@@ -227,8 +227,8 @@ namespace svt { namespace table
}
return nDone || Window::Notify( rNEvt );
}
-//......................................................................................................................
+
} } // namespace svt::table
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/table/tabledatawindow.hxx b/svtools/source/table/tabledatawindow.hxx
index 594831db4ede..afe792151eb3 100644
--- a/svtools/source/table/tabledatawindow.hxx
+++ b/svtools/source/table/tabledatawindow.hxx
@@ -23,18 +23,18 @@
#include <vcl/window.hxx>
#include <vcl/seleng.hxx>
-//........................................................................
+
namespace svt { namespace table
{
-//........................................................................
+
class TableControl_Impl;
class TableFunctionSet;
- //====================================================================
+
//= TableDataWindow
- //====================================================================
+
/** the window containing the content area (including headers) of
a table control
*/
@@ -68,9 +68,9 @@ namespace svt { namespace table
private:
void impl_hideTipWindow();
};
-//........................................................................
+
} } // namespace svt::table
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TABLE_TABLEDATAWINDOW_HXX
diff --git a/svtools/source/table/tablegeometry.cxx b/svtools/source/table/tablegeometry.cxx
index e47928309fae..3cb33db0ecb0 100644
--- a/svtools/source/table/tablegeometry.cxx
+++ b/svtools/source/table/tablegeometry.cxx
@@ -21,14 +21,14 @@
#include "tablegeometry.hxx"
#include "tablecontrol_impl.hxx"
-//......................................................................................................................
+
namespace svt { namespace table
{
-//......................................................................................................................
- //==================================================================================================================
+
+
//= TableRowGeometry
- //==================================================================================================================
+
TableRowGeometry::TableRowGeometry( TableControl_Impl const & _rControl, Rectangle const & _rBoundaries,
RowPos const _nRow, bool const i_allowVirtualRows )
@@ -83,9 +83,9 @@ namespace svt { namespace table
return isValid();
}
- //==================================================================================================================
+
//= TableColumnGeometry
- //==================================================================================================================
+
TableColumnGeometry::TableColumnGeometry( TableControl_Impl const & _rControl, Rectangle const & _rBoundaries,
ColPos const _nCol, bool const i_allowVirtualColumns )
@@ -149,8 +149,8 @@ namespace svt { namespace table
return isValid();
}
-//......................................................................................................................
+
} } // namespace svt::table
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/table/tablegeometry.hxx b/svtools/source/table/tablegeometry.hxx
index 7195a6ba313b..2fcfecf5412e 100644
--- a/svtools/source/table/tablegeometry.hxx
+++ b/svtools/source/table/tablegeometry.hxx
@@ -24,16 +24,16 @@
#include <tools/gen.hxx>
-//........................................................................
+
namespace svt { namespace table
{
-//........................................................................
+
class TableControl_Impl;
- //====================================================================
+
//= TableGeometry
- //====================================================================
+
class TableGeometry
{
protected:
@@ -61,9 +61,9 @@ namespace svt { namespace table
bool isValid() const { return !m_aRect.GetIntersection( m_rBoundaries ).IsEmpty(); }
};
- //====================================================================
+
//= TableRowGeometry
- //====================================================================
+
class TableRowGeometry : public TableGeometry
{
protected:
@@ -89,9 +89,9 @@ namespace svt { namespace table
bool impl_isValidRow( RowPos const i_row ) const;
};
- //====================================================================
+
//= TableColumnGeometry
- //====================================================================
+
class TableColumnGeometry : public TableGeometry
{
protected:
@@ -116,9 +116,9 @@ namespace svt { namespace table
bool impl_isValidColumn( ColPos const i_column ) const;
};
- //====================================================================
+
//= TableCellGeometry
- //====================================================================
+
/** a helper representing geometry information of a cell
*/
class TableCellGeometry
@@ -158,9 +158,9 @@ namespace svt { namespace table
inline bool moveRight() {return m_aCol.moveRight(); }
};
-//........................................................................
+
} } // namespace svt::table
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TABLE_TABLEGEOMETRY_HXX
diff --git a/svtools/source/toolpanel/drawerlayouter.cxx b/svtools/source/toolpanel/drawerlayouter.cxx
index 1a023bf9a8fd..73e6fca2045d 100644
--- a/svtools/source/toolpanel/drawerlayouter.cxx
+++ b/svtools/source/toolpanel/drawerlayouter.cxx
@@ -26,17 +26,17 @@
#include <comphelper/accimplaccess.hxx>
#include <tools/diagnose_ex.h>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::accessibility::XAccessible;
- //==================================================================================================================
+
//= DrawerDeckLayouter
- //==================================================================================================================
+
DrawerDeckLayouter::DrawerDeckLayouter( ::Window& i_rParentWindow, IToolPanelDeck& i_rPanels )
:m_rParentWindow( i_rParentWindow )
@@ -290,8 +290,8 @@ namespace svt
Destroy();
}
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/dummypanel.cxx b/svtools/source/toolpanel/dummypanel.cxx
index 3a8ca8677333..1b40bf04fc6f 100644
--- a/svtools/source/toolpanel/dummypanel.cxx
+++ b/svtools/source/toolpanel/dummypanel.cxx
@@ -20,17 +20,17 @@
#include "dummypanel.hxx"
-//........................................................................
+
namespace svt
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::accessibility::XAccessible;
- //====================================================================
+
//= DummyPanel
- //====================================================================
+
DummyPanel::DummyPanel()
{
@@ -94,8 +94,8 @@ namespace svt
return NULL;
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/dummypanel.hxx b/svtools/source/toolpanel/dummypanel.hxx
index e70f4026ce29..f87024a6fdaa 100644
--- a/svtools/source/toolpanel/dummypanel.hxx
+++ b/svtools/source/toolpanel/dummypanel.hxx
@@ -23,14 +23,14 @@
#include "svtools/toolpanel/toolpanel.hxx"
#include "svtools/toolpanel/refbase.hxx"
-//........................................................................
+
namespace svt
{
-//........................................................................
- //====================================================================
+
+
//= DummyPanel
- //====================================================================
+
/// is a dummy implementation of the IToolPanel interface
class DummyPanel :public RefBase
,public IToolPanel
@@ -56,9 +56,9 @@ namespace svt
DECLARE_IREFERENCE()
};
-//........................................................................
+
} // namespace svt
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_DUMMYPANEL_HXX
diff --git a/svtools/source/toolpanel/paneldecklisteners.cxx b/svtools/source/toolpanel/paneldecklisteners.cxx
index ae1c90f94cf8..f7f2070fdf17 100644
--- a/svtools/source/toolpanel/paneldecklisteners.cxx
+++ b/svtools/source/toolpanel/paneldecklisteners.cxx
@@ -21,14 +21,14 @@
#include "paneldecklisteners.hxx"
#include "svtools/toolpanel/toolpaneldeck.hxx"
-//........................................................................
+
namespace svt
{
-//........................................................................
- //====================================================================
+
+
//= PanelDeckListeners
- //====================================================================
+
PanelDeckListeners::PanelDeckListeners()
{
@@ -124,8 +124,8 @@ namespace svt
}
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/paneldecklisteners.hxx b/svtools/source/toolpanel/paneldecklisteners.hxx
index 5871c9aeb7e6..79e29c561444 100644
--- a/svtools/source/toolpanel/paneldecklisteners.hxx
+++ b/svtools/source/toolpanel/paneldecklisteners.hxx
@@ -25,16 +25,16 @@
#include <boost/optional.hpp>
#include <vector>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
class IToolPanelDeckListener;
- //====================================================================
+
//= PanelDeckListeners
- //====================================================================
+
/** implements a container for IToolPanelDeckListeners
*/
class PanelDeckListeners
@@ -58,9 +58,9 @@ namespace svt
::std::vector< IToolPanelDeckListener* > m_aListeners;
};
-//........................................................................
+
} // namespace svt
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_PANELDECKLISTENERS_HXX
diff --git a/svtools/source/toolpanel/paneltabbar.cxx b/svtools/source/toolpanel/paneltabbar.cxx
index 3a19a335bcc0..72be3e031cb2 100644
--- a/svtools/source/toolpanel/paneltabbar.cxx
+++ b/svtools/source/toolpanel/paneltabbar.cxx
@@ -43,10 +43,10 @@
// space between item icon and icon text
#define ITEM_ICON_TEXT_DISTANCE 4
-//........................................................................
+
namespace svt
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::awt::XWindowPeer;
@@ -60,9 +60,9 @@ namespace svt
#define ITEM_POSITION_FIRST 0x08
#define ITEM_POSITION_LAST 0x10
- //==================================================================================================================
+
//= helper
- //==================================================================================================================
+
namespace
{
ControlState lcl_ItemToControlState( const ItemFlags i_nItemFlags )
@@ -75,9 +75,9 @@ namespace svt
}
}
- //==================================================================================================================
+
//= ITabBarRenderer
- //==================================================================================================================
+
class SAL_NO_VTABLE ITabBarRenderer
{
public:
@@ -99,9 +99,9 @@ namespace svt
};
typedef ::boost::shared_ptr< ITabBarRenderer > PTabBarRenderer;
- //==================================================================================================================
+
//= VCLItemRenderer - declaration
- //==================================================================================================================
+
class VCLItemRenderer : public ITabBarRenderer
{
public:
@@ -124,9 +124,9 @@ namespace svt
OutputDevice& m_rTargetDevice;
};
- //==================================================================================================================
+
//= VCLItemRenderer - implementation
- //==================================================================================================================
+
void VCLItemRenderer::renderBackground() const
{
@@ -174,9 +174,9 @@ namespace svt
}
}
- //==================================================================================================================
+
//= NWFToolboxItemRenderer - declaration
- //==================================================================================================================
+
class NWFToolboxItemRenderer : public ITabBarRenderer
{
public:
@@ -199,9 +199,9 @@ namespace svt
OutputDevice& m_rTargetDevice;
};
- //==================================================================================================================
+
//= NWFToolboxItemRenderer - implementation
- //==================================================================================================================
+
void NWFToolboxItemRenderer::renderBackground() const
{
@@ -250,9 +250,9 @@ namespace svt
(void)i_nItemFlags;
}
- //==================================================================================================================
+
//= NWFTabItemRenderer - declaration
- //==================================================================================================================
+
class NWFTabItemRenderer : public ITabBarRenderer
{
public:
@@ -276,9 +276,9 @@ namespace svt
OutputDevice& m_rTargetDevice;
};
- //==================================================================================================================
+
//= NWFTabItemRenderer - implementation
- //==================================================================================================================
+
void NWFTabItemRenderer::renderBackground() const
{
@@ -336,9 +336,9 @@ namespace svt
(void)i_nItemFlags;
}
- //==================================================================================================================
+
//= PanelTabBar_Impl
- //==================================================================================================================
+
class PanelTabBar_Impl : public IToolPanelDeckListener
{
public:
@@ -430,9 +430,9 @@ namespace svt
size_t m_nScrollPosition;
};
- //==================================================================================================================
+
//= helper
- //==================================================================================================================
+
namespace
{
@@ -488,9 +488,9 @@ namespace svt
};
}
- //==================================================================================================================
+
//= PanelTabBar_Impl - implementation
- //==================================================================================================================
+
PanelTabBar_Impl::PanelTabBar_Impl( PanelTabBar& i_rTabBar, IToolPanelDeck& i_rPanelDeck, const TabAlignment i_eAlignment, const TabItemContent i_eItemContent )
:m_rTabBar( i_rTabBar )
@@ -957,9 +957,9 @@ namespace svt
return aItemRect;
}
- //==================================================================================================================
+
//= PanelTabBar_Impl
- //==================================================================================================================
+
void PanelTabBar_Impl::ActivePanelChanged( const ::boost::optional< size_t >& i_rOldActive, const ::boost::optional< size_t >& i_rNewActive )
{
@@ -984,9 +984,9 @@ namespace svt
// not interested in - the notifier is a member of this instance here, so we're dying ourself at the moment
}
- //==================================================================================================================
+
//= PanelTabBar
- //==================================================================================================================
+
PanelTabBar::PanelTabBar( Window& i_rParentWindow, IToolPanelDeck& i_rPanelDeck, const TabAlignment i_eAlignment, const TabItemContent i_eItemContent )
:Control( &i_rParentWindow, 0 )
@@ -1355,8 +1355,8 @@ namespace svt
return xWindowPeer;
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/paneltabbarpeer.cxx b/svtools/source/toolpanel/paneltabbarpeer.cxx
index d265d0ecf63a..b9a5fe72612f 100644
--- a/svtools/source/toolpanel/paneltabbarpeer.cxx
+++ b/svtools/source/toolpanel/paneltabbarpeer.cxx
@@ -26,10 +26,10 @@
#include <tools/diagnose_ex.h>
#include <vcl/svapp.hxx>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
@@ -45,9 +45,9 @@ namespace svt
using ::com::sun::star::accessibility::XAccessibleContext;
using ::com::sun::star::lang::DisposedException;
- //==================================================================================================================
+
//= PanelTabBarPeer
- //==================================================================================================================
+
PanelTabBarPeer::PanelTabBarPeer( PanelTabBar& i_rTabBar )
:VCLXWindow()
@@ -85,8 +85,8 @@ namespace svt
VCLXWindow::dispose();
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/paneltabbarpeer.hxx b/svtools/source/toolpanel/paneltabbarpeer.hxx
index d66409038595..51f4a9760620 100644
--- a/svtools/source/toolpanel/paneltabbarpeer.hxx
+++ b/svtools/source/toolpanel/paneltabbarpeer.hxx
@@ -24,15 +24,15 @@
#include <toolkit/awt/vclxwindow.hxx>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
+
class PanelTabBar;
- //====================================================================
+
//= PanelTabBarPeer
- //====================================================================
+
class PanelTabBarPeer : public VCLXWindow
{
public:
@@ -52,9 +52,9 @@ namespace svt
PanelTabBar* m_pTabBar;
};
-//........................................................................
+
} // namespace svt
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_PANELTABBARPEER_HXX
diff --git a/svtools/source/toolpanel/refbase.cxx b/svtools/source/toolpanel/refbase.cxx
index a1de1d738e33..58157460304f 100644
--- a/svtools/source/toolpanel/refbase.cxx
+++ b/svtools/source/toolpanel/refbase.cxx
@@ -20,14 +20,14 @@
#include "svtools/toolpanel/refbase.hxx"
-//........................................................................
+
namespace svt
{
-//........................................................................
- //====================================================================
+
+
//= RefBase
- //====================================================================
+
oslInterlockedCount SAL_CALL RefBase::acquire()
{
@@ -43,8 +43,8 @@ namespace svt
return newCount;
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/tabbargeometry.cxx b/svtools/source/toolpanel/tabbargeometry.cxx
index 15934dd36c64..3390c7040976 100644
--- a/svtools/source/toolpanel/tabbargeometry.cxx
+++ b/svtools/source/toolpanel/tabbargeometry.cxx
@@ -45,14 +45,14 @@
#define ITEMS_INSET_RIGHT 4
#define ITEMS_INSET_BOTTOM 0
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
- //==================================================================================================================
+
+
//= helper
- //==================================================================================================================
+
namespace
{
@@ -108,9 +108,9 @@ namespace svt
::std::swap( io_rArea.Top(), io_rArea.Bottom() );
}
- //==================================================================================================================
+
//= NormalizedArea
- //==================================================================================================================
+
NormalizedArea::NormalizedArea()
:m_aReference()
@@ -175,9 +175,9 @@ namespace svt
return aResult;
}
- //==================================================================================================================
+
//= TabBarGeometry
- //==================================================================================================================
+
TabBarGeometry::TabBarGeometry( const TabItemContent i_eItemContent )
:m_eTabItemContent( i_eItemContent )
@@ -313,8 +313,8 @@ namespace svt
return Point( m_aItemsInset.Left(), m_aItemsInset.Top() );
}
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/tabbargeometry.hxx b/svtools/source/toolpanel/tabbargeometry.hxx
index be43005bfefe..8e3c0c448b5b 100644
--- a/svtools/source/toolpanel/tabbargeometry.hxx
+++ b/svtools/source/toolpanel/tabbargeometry.hxx
@@ -27,14 +27,14 @@
#include <tools/gen.hxx>
#include <tools/svborder.hxx>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
- //==================================================================================================================
+
+
//= NormalizedArea
- //==================================================================================================================
+
/** a rectangle which automatically translates between unrotated and rotated geometry.
It can be operated as if it were an unrotated area, but is able to provide corrdinates of rotated objects,
@@ -74,9 +74,9 @@ namespace svt
Rectangle m_aReference;
};
- //==================================================================================================================
+
//= TabBarGeometry
- //==================================================================================================================
+
class TabBarGeometry
{
public:
@@ -122,9 +122,9 @@ namespace svt
Rectangle m_aButtonForwardRect;
};
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_TABBARGEOMETRY_HXX
diff --git a/svtools/source/toolpanel/tabitemdescriptor.hxx b/svtools/source/toolpanel/tabitemdescriptor.hxx
index d1e8ed2dd9ef..927fd6b285c2 100644
--- a/svtools/source/toolpanel/tabitemdescriptor.hxx
+++ b/svtools/source/toolpanel/tabitemdescriptor.hxx
@@ -28,14 +28,14 @@
#include <vector>
-//........................................................................
+
namespace svt
{
-//........................................................................
- //==================================================================================================================
+
+
//= ItemDescriptor
- //==================================================================================================================
+
struct ItemDescriptor
{
PToolPanel pPanel;
@@ -76,9 +76,9 @@ namespace svt
typedef ::std::vector< ItemDescriptor > ItemDescriptors;
-//........................................................................
+
} // namespace svt
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_TABITEMDESCRIPTOR_HXX
diff --git a/svtools/source/toolpanel/tablayouter.cxx b/svtools/source/toolpanel/tablayouter.cxx
index 818aa48e2a3e..3af09ebf9c1b 100644
--- a/svtools/source/toolpanel/tablayouter.cxx
+++ b/svtools/source/toolpanel/tablayouter.cxx
@@ -26,17 +26,17 @@
#include <tools/gen.hxx>
#include <tools/diagnose_ex.h>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::accessibility::XAccessible;
- //====================================================================
+
//= TabDeckLayouter_Data
- //====================================================================
+
struct TabDeckLayouter_Data
{
TabAlignment eAlignment;
@@ -54,9 +54,9 @@ namespace svt
}
};
- //====================================================================
+
//= helper
- //====================================================================
+
namespace
{
static bool lcl_isVerticalTabBar( const TabAlignment i_eAlignment )
@@ -76,9 +76,9 @@ namespace svt
}
}
- //====================================================================
+
//= TabDeckLayouter
- //====================================================================
+
TabDeckLayouter::TabDeckLayouter( Window& i_rParent, IToolPanelDeck& i_rPanels,
const TabAlignment i_eAlignment, const TabItemContent i_eItemContent )
@@ -203,8 +203,8 @@ namespace svt
return m_pData->pTabBar->GetAccessible( true );
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/toolpanel.cxx b/svtools/source/toolpanel/toolpanel.cxx
index c52997390002..0d1efe72640c 100644
--- a/svtools/source/toolpanel/toolpanel.cxx
+++ b/svtools/source/toolpanel/toolpanel.cxx
@@ -20,14 +20,14 @@
#include "svtools/toolpanel/toolpanel.hxx"
-//........................................................................
+
namespace svt
{
-//........................................................................
- //====================================================================
+
+
//= ToolPanelBase
- //====================================================================
+
ToolPanelBase::ToolPanelBase()
{
@@ -41,8 +41,8 @@ namespace svt
IMPLEMENT_IREFERENCE( ToolPanelBase )
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/toolpanelcollection.cxx b/svtools/source/toolpanel/toolpanelcollection.cxx
index c96d51838788..9537b11e4323 100644
--- a/svtools/source/toolpanel/toolpanelcollection.cxx
+++ b/svtools/source/toolpanel/toolpanelcollection.cxx
@@ -25,14 +25,14 @@
#include <vector>
-//........................................................................
+
namespace svt
{
-//........................................................................
- //====================================================================
+
+
//= ToolPanelCollection_Data
- //====================================================================
+
struct ToolPanelCollection_Data
{
::std::vector< PToolPanel > aPanels;
@@ -40,9 +40,9 @@ namespace svt
PanelDeckListeners aListeners;
};
- //====================================================================
+
//= ToolPanelCollection
- //====================================================================
+
ToolPanelCollection::ToolPanelCollection()
:m_pData( new ToolPanelCollection_Data )
@@ -180,8 +180,8 @@ namespace svt
m_pData->aListeners.RemoveListener( i_rListener );
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/toolpanelcollection.hxx b/svtools/source/toolpanel/toolpanelcollection.hxx
index 4c03c8feb917..143ffc82b671 100644
--- a/svtools/source/toolpanel/toolpanelcollection.hxx
+++ b/svtools/source/toolpanel/toolpanelcollection.hxx
@@ -24,16 +24,16 @@
#include <memory>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
struct ToolPanelCollection_Data;
- //====================================================================
+
//= ToolPanelCollection
- //====================================================================
+
class ToolPanelCollection : public IToolPanelDeck
{
public:
@@ -55,9 +55,9 @@ namespace svt
::std::auto_ptr< ToolPanelCollection_Data > m_pData;
};
-//........................................................................
+
} // namespace svt
-//........................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_TOOLPANELCOLLECTION_HXX
diff --git a/svtools/source/toolpanel/toolpaneldeck.cxx b/svtools/source/toolpanel/toolpaneldeck.cxx
index a991618d872e..a84e383e2801 100644
--- a/svtools/source/toolpanel/toolpaneldeck.cxx
+++ b/svtools/source/toolpanel/toolpaneldeck.cxx
@@ -33,10 +33,10 @@
#include <boost/optional.hpp>
-//........................................................................
+
namespace svt
{
-//........................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::accessibility::XAccessible;
@@ -60,9 +60,9 @@ namespace svt
ACTION_TOGGLE_FOCUS,
};
- //====================================================================
+
//= ToolPanelDeck_Impl
- //====================================================================
+
class ToolPanelDeck_Impl : public IToolPanelDeckListener
{
public:
@@ -338,9 +338,9 @@ namespace svt
// are dying, and we already sent this notification in our dtor.
}
- //====================================================================
+
//= ToolPanelDeck
- //====================================================================
+
ToolPanelDeck::ToolPanelDeck( Window& i_rParent, const WinBits i_nStyle )
:Control( &i_rParent, i_nStyle )
@@ -516,8 +516,8 @@ namespace svt
return xWindowPeer;
}
-//........................................................................
+
} // namespace svt
-//........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/toolpaneldeckpeer.cxx b/svtools/source/toolpanel/toolpaneldeckpeer.cxx
index 5ac3b3d9265e..d69099486cf3 100644
--- a/svtools/source/toolpanel/toolpaneldeckpeer.cxx
+++ b/svtools/source/toolpanel/toolpaneldeckpeer.cxx
@@ -26,10 +26,10 @@
#include <tools/diagnose_ex.h>
#include <vcl/svapp.hxx>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
@@ -45,9 +45,9 @@ namespace svt
using ::com::sun::star::accessibility::XAccessibleContext;
using ::com::sun::star::lang::DisposedException;
- //==================================================================================================================
+
//= ToolPanelDeckPeer
- //==================================================================================================================
+
ToolPanelDeckPeer::ToolPanelDeckPeer( ToolPanelDeck& i_rDeck )
:VCLXWindow()
@@ -83,8 +83,8 @@ namespace svt
VCLXWindow::dispose();
}
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/toolpaneldeckpeer.hxx b/svtools/source/toolpanel/toolpaneldeckpeer.hxx
index 368174998bba..0ebf74832f8a 100644
--- a/svtools/source/toolpanel/toolpaneldeckpeer.hxx
+++ b/svtools/source/toolpanel/toolpaneldeckpeer.hxx
@@ -24,15 +24,15 @@
#include <toolkit/awt/vclxwindow.hxx>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
+
class ToolPanelDeck;
- //==================================================================================================================
+
//= ToolPanelDeckPeer
- //==================================================================================================================
+
class ToolPanelDeckPeer : public VCLXWindow
{
public:
@@ -52,9 +52,9 @@ namespace svt
ToolPanelDeck* m_pDeck;
};
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_TOOLPANELDECKPEER_HXX
diff --git a/svtools/source/toolpanel/toolpaneldrawer.cxx b/svtools/source/toolpanel/toolpaneldrawer.cxx
index 06f1c7fd48f5..def461fefb9a 100644
--- a/svtools/source/toolpanel/toolpaneldrawer.cxx
+++ b/svtools/source/toolpanel/toolpaneldrawer.cxx
@@ -31,10 +31,10 @@
#include <vcl/vclevent.hxx>
#include <vcl/settings.hxx>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::awt::XWindowPeer;
@@ -42,9 +42,9 @@ namespace svt
static const int s_nIndentationWidth = 16;
- //==================================================================================================================
+
//= DrawerVisualization
- //==================================================================================================================
+
DrawerVisualization::DrawerVisualization( ToolPanelDrawer& i_rParent )
:Window( &i_rParent )
@@ -67,9 +67,9 @@ namespace svt
m_rDrawer.Paint();
}
- //==================================================================================================================
+
//= ToolPanelDrawer
- //==================================================================================================================
+
ToolPanelDrawer::ToolPanelDrawer( Window& i_rParent, const OUString& i_rTitle )
:Window( &i_rParent, WB_TABSTOP )
@@ -354,8 +354,8 @@ namespace svt
}
}
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/toolpaneldrawer.hxx b/svtools/source/toolpanel/toolpaneldrawer.hxx
index f2dfea75b1ff..384a68564e2a 100644
--- a/svtools/source/toolpanel/toolpaneldrawer.hxx
+++ b/svtools/source/toolpanel/toolpaneldrawer.hxx
@@ -21,15 +21,15 @@
#include <vcl/window.hxx>
#include <vcl/virdev.hxx>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
+
class ToolPanelDrawer;
- //==================================================================================================================
+
//= DrawerVisualization
- //==================================================================================================================
+
/** serves a single purpose - let ZoomText read the drawers ...
Strange enough, ZoomText does not read the drawers when they get the focus (in none of the combinations
@@ -53,10 +53,10 @@ namespace svt
ToolPanelDrawer& m_rDrawer;
};
- //==================================================================================================================
+
//= ToolPanelDrawer
- //==================================================================================================================
- //------------------------------------------------------------------------------------------------------------------
+
+
class ToolPanelDrawer : public Window
{
public:
@@ -100,8 +100,8 @@ namespace svt
bool m_bExpanded;
};
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/toolpaneldrawerpeer.cxx b/svtools/source/toolpanel/toolpaneldrawerpeer.cxx
index cb9be0b023aa..30054f055553 100644
--- a/svtools/source/toolpanel/toolpaneldrawerpeer.cxx
+++ b/svtools/source/toolpanel/toolpaneldrawerpeer.cxx
@@ -30,10 +30,10 @@
#include <vcl/vclevent.hxx>
#include <vcl/svapp.hxx>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
@@ -51,9 +51,9 @@ namespace svt
namespace AccessibleStateType = ::com::sun::star::accessibility::AccessibleStateType;
namespace AccessibleEventId = ::com::sun::star::accessibility::AccessibleEventId;
- //==================================================================================================================
+
//= ToolPanelDrawerContext
- //==================================================================================================================
+
class ToolPanelDrawerContext : public VCLXAccessibleComponent
{
public:
@@ -106,9 +106,9 @@ namespace svt
i_rStateSet.AddState( AccessibleStateType::FOCUSED );
}
- //==================================================================================================================
+
//= ToolPanelDrawerPeer
- //==================================================================================================================
+
ToolPanelDrawerPeer::ToolPanelDrawerPeer()
:VCLXWindow()
@@ -127,8 +127,8 @@ namespace svt
return new ToolPanelDrawerContext( *this );
}
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/toolpanel/toolpaneldrawerpeer.hxx b/svtools/source/toolpanel/toolpaneldrawerpeer.hxx
index 8795fb570730..51c2076337f7 100644
--- a/svtools/source/toolpanel/toolpaneldrawerpeer.hxx
+++ b/svtools/source/toolpanel/toolpaneldrawerpeer.hxx
@@ -22,14 +22,14 @@
#include <toolkit/awt/vclxwindow.hxx>
-//......................................................................................................................
+
namespace svt
{
-//......................................................................................................................
- //==================================================================================================================
+
+
//= ToolPanelDrawerPeer
- //==================================================================================================================
+
class ToolPanelDrawerPeer : public VCLXWindow
{
public:
@@ -42,9 +42,9 @@ namespace svt
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > CreateAccessibleContext();
};
-//......................................................................................................................
+
} // namespace svt
-//......................................................................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_TOOLPANEL_TOOLPANELDRAWERPEER_HXX
diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx
index 189b3b5853de..d78437d7967d 100644
--- a/svtools/source/uno/genericunodialog.cxx
+++ b/svtools/source/uno/genericunodialog.cxx
@@ -39,10 +39,10 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::ucb;
-//.........................................................................
+
namespace svt
{
-//.........................................................................
+
OGenericUnoDialog::OGenericUnoDialog(const Reference< XComponentContext >& _rxContext)
@@ -325,8 +325,8 @@ IMPL_LINK( OGenericUnoDialog, OnDialogDying, VclWindowEvent*, _pEvent )
return 0L;
}
-//.........................................................................
+
} // namespace svt
-//.........................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx
index 3b8d1ce77b81..a3786eba84ad 100644
--- a/svtools/source/uno/popupwindowcontroller.cxx
+++ b/svtools/source/uno/popupwindowcontroller.cxx
@@ -129,9 +129,9 @@ IMPL_STATIC_LINK( PopupWindowControllerImpl, AsyncDeleteWindowHdl, Window*, pWin
return 0;
}
-//========================================================================
+
// class PopupWindowController
-//========================================================================
+
PopupWindowController::PopupWindowController( const Reference< uno::XComponentContext >& rxContext,
const Reference< frame::XFrame >& xFrame,
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx
index 9b33040067ea..3cdc3a0f212c 100644
--- a/svtools/source/uno/toolboxcontroller.cxx
+++ b/svtools/source/uno/toolboxcontroller.cxx
@@ -706,7 +706,7 @@ void ToolboxController::dispatchCommand( const OUString& sCommandURL, const Sequ
}
}
-//
+
com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CALL ToolboxController::getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException)
{
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index 4557c2443674..625dda301378 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -1474,9 +1474,9 @@ bool TreeControlPeer::loadImage( const OUString& rURL, Image& rImage )
return false;
}
-// ====================================================================
+
// class UnoTreeListBoxImpl
-// ====================================================================
+
UnoTreeListBoxImpl::UnoTreeListBoxImpl( TreeControlPeer* pPeer, Window* pParent, WinBits nWinStyle )
: SvTreeListBox( pParent, nWinStyle )
@@ -1567,9 +1567,9 @@ sal_Bool UnoTreeListBoxImpl::EditedEntry( SvTreeListEntry* pEntry, const OUStrin
return mxPeer.is() ? mxPeer->onEditedEntry( dynamic_cast< UnoTreeListEntry* >( pEntry ), rNewText ) : false;
}
-// ====================================================================
+
// class UnoTreeListItem
-// ====================================================================
+
UnoTreeListItem::UnoTreeListItem( SvTreeListEntry* pEntry )
: SvLBoxString(pEntry, 0, OUString())
diff --git a/svtools/source/uno/unocontroltablemodel.cxx b/svtools/source/uno/unocontroltablemodel.cxx
index 0e596489dc53..28ed032f6f58 100644
--- a/svtools/source/uno/unocontroltablemodel.cxx
+++ b/svtools/source/uno/unocontroltablemodel.cxx
@@ -35,10 +35,10 @@
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
-// .....................................................................................................................
+
namespace svt { namespace table
{
-// .....................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::RuntimeException;
@@ -63,9 +63,9 @@ namespace svt { namespace table
using ::com::sun::star::awt::grid::XSortableGridData;
using ::com::sun::star::beans::Pair;
- //==================================================================================================================
+
//= UnoControlTableModel_Impl
- //==================================================================================================================
+
typedef ::std::vector< PTableModelListener > ModellListeners;
typedef ::std::vector< PColumnModel > ColumnModels;
struct UnoControlTableModel_Impl
@@ -123,9 +123,9 @@ namespace svt { namespace table
}
};
- //==================================================================================================================
+
//= UnoControlTableModel
- //==================================================================================================================
+
#ifdef DBG_UTIL
const char* UnoControlTableModel_checkInvariants( const void* _pInstance )
{
@@ -959,7 +959,7 @@ namespace svt { namespace table
}
}
-// .....................................................................................................................
+
} } // svt::table
-// .....................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/uno/unocontroltablemodel.hxx b/svtools/source/uno/unocontroltablemodel.hxx
index 4ecfac7170f4..3f63da1a9d61 100644
--- a/svtools/source/uno/unocontroltablemodel.hxx
+++ b/svtools/source/uno/unocontroltablemodel.hxx
@@ -37,14 +37,14 @@
#include <boost/noncopyable.hpp>
-// .....................................................................................................................
+
namespace svt { namespace table
{
-// .....................................................................................................................
- //==================================================================================================================
+
+
//= UnoControlTableModel
- //==================================================================================================================
+
class UnoGridColumnFacade;
struct UnoControlTableModel_Impl;
class UnoControlTableModel : public ITableModel, public ITableDataSort
@@ -160,9 +160,9 @@ namespace svt { namespace table
void impl_notifyTableMetricsChanged() const;
};
-// .....................................................................................................................
+
} } // svt::table
-// .....................................................................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_UNO_UNOCONTROLTABLEMODEL_HXX
diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx
index 626792c3431f..98f4ae9281e7 100644
--- a/svtools/source/uno/unogridcolumnfacade.cxx
+++ b/svtools/source/uno/unogridcolumnfacade.cxx
@@ -33,10 +33,10 @@
#include <vcl/svapp.hxx>
#include <osl/mutex.hxx>
-// .....................................................................................................................
+
namespace svt { namespace table
{
-// .....................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::RuntimeException;
@@ -86,9 +86,9 @@ namespace svt { namespace table
}
}
- //==================================================================================================================
+
//= ColumnChangeMultiplexer
- //==================================================================================================================
+
typedef ::cppu::WeakImplHelper1 < XGridColumnListener
> ColumnChangeMultiplexer_Base;
class ColumnChangeMultiplexer :public ColumnChangeMultiplexer_Base
@@ -169,9 +169,9 @@ namespace svt { namespace table
OSL_UNUSED( i_event );
}
- //==================================================================================================================
+
//= UnoGridColumnFacade
- //==================================================================================================================
+
UnoGridColumnFacade::UnoGridColumnFacade( UnoControlTableModel const & i_owner, Reference< XGridColumn > const & i_gridColumn )
:m_pOwner( &i_owner )
@@ -407,8 +407,8 @@ namespace svt { namespace table
lcl_set( m_xGridColumn, &XGridColumn::setHorizontalAlign, _align );
}
-// .....................................................................................................................
+
} } // svt::table
-// .....................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/uno/unogridcolumnfacade.hxx b/svtools/source/uno/unogridcolumnfacade.hxx
index 8a315ce19bfd..537f35a4535d 100644
--- a/svtools/source/uno/unogridcolumnfacade.hxx
+++ b/svtools/source/uno/unogridcolumnfacade.hxx
@@ -32,14 +32,14 @@
#include <boost/noncopyable.hpp>
-// .....................................................................................................................
+
namespace svt { namespace table
{
-// .....................................................................................................................
- //==================================================================================================================
+
+
//= UnoGridColumnFacade
- //==================================================================================================================
+
class ColumnChangeMultiplexer;
class UnoControlTableModel;
class UnoGridColumnFacade :public IColumnModel
@@ -97,9 +97,9 @@ namespace svt { namespace table
::rtl::Reference< ColumnChangeMultiplexer > m_pChangeMultiplexer;
};
-// .....................................................................................................................
+
} } // svt::table
-// .....................................................................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_UNO_UNOGRIDCOLUMNFACADE_HXX
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index 1ecfdef91aea..01e449fe092c 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -53,9 +53,9 @@ namespace
}
}
-// ----------------------------------------------------
+
// help function for the toolkit...
-// ----------------------------------------------------
+
extern "C" {
@@ -169,9 +169,9 @@ SAL_DLLPUBLIC_EXPORT Window* CreateWindow( VCLXWindow** ppNewComp, const ::com::
} // extern "C"
-// ----------------------------------------------------
+
// class VCLXMultiLineEdit
-// ----------------------------------------------------
+
VCLXMultiLineEdit::VCLXMultiLineEdit()
:maTextListeners( *this )
,meLineEndType( LINEEND_LF ) // default behavior before introducing this property: LF (unix-like)
@@ -532,9 +532,9 @@ void VCLXMultiLineEdit::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds )
VCLXWindow::ImplGetPropertyIds( rIds, true );
}
-// ----------------------------------------------------
+
// class VCLXFileControl
-// ----------------------------------------------------
+
VCLXFileControl::VCLXFileControl() : maTextListeners( *this )
{
}
@@ -801,9 +801,9 @@ void VCLXFileControl::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds )
}
-// ----------------------------------------------------
+
// class SVTXFormattedField
-// ----------------------------------------------------
+
SVTXFormattedField::SVTXFormattedField()
:m_pCurrentSupplier(NULL)
@@ -1396,9 +1396,9 @@ void SVTXFormattedField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds )
}
-// ----------------------------------------------------
+
// class SVTXRoadmap
-// ----------------------------------------------------
+
using namespace svt;
@@ -1656,9 +1656,9 @@ void SVTXRoadmap::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds )
VCLXGraphicControl::ImplGetPropertyIds( rIds );
}
-// ----------------------------------------------------
+
// class SVTXNumericField
-// ----------------------------------------------------
+
SVTXNumericField::SVTXNumericField()
{
}
@@ -1823,9 +1823,9 @@ void SVTXNumericField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds )
SVTXFormattedField::ImplGetPropertyIds( rIds );
}
-// ----------------------------------------------------
+
// class SVTXCurrencyField
-// ----------------------------------------------------
+
SVTXCurrencyField::SVTXCurrencyField()
{
}
@@ -2056,9 +2056,9 @@ void SVTXCurrencyField::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds )
}
-// ----------------------------------------------------
+
// class VCLXProgressBar
-// ----------------------------------------------------
+
VCLXProgressBar::VCLXProgressBar()
:m_nValue(0)
@@ -2304,9 +2304,9 @@ void VCLXProgressBar::ImplGetPropertyIds( std::list< sal_uInt16 > &rIds )
}
-// ----------------------------------------------------
+
// class SVTXDateField
-// ----------------------------------------------------
+
SVTXDateField::SVTXDateField()
:VCLXDateField()
{
diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx
index a92815518134..d342de8161b0 100644
--- a/svtools/source/uno/unoimap.cxx
+++ b/svtools/source/uno/unoimap.cxx
@@ -522,7 +522,7 @@ Reference< XNameReplace > SAL_CALL SvUnoImageMapObject::getEvents()
return xEvents;
}
-///////////////////////////////////////////////////////////////////////
+
class SvUnoImageMap : public WeakImplHelper3< XIndexContainer, XServiceInfo, XUnoTunnel >
{
diff --git a/svtools/source/uno/wizard/wizardpagecontroller.cxx b/svtools/source/uno/wizard/wizardpagecontroller.cxx
index 1a1cd17b5a69..acecba65ace1 100644
--- a/svtools/source/uno/wizard/wizardpagecontroller.cxx
+++ b/svtools/source/uno/wizard/wizardpagecontroller.cxx
@@ -27,10 +27,10 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/diagnose_ex.h>
-//......................................................................................................................
+
namespace svt { namespace uno
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
@@ -50,9 +50,9 @@ namespace svt { namespace uno
using namespace ::com::sun::star;
- //==================================================================================================================
+
//= WizardPageController
- //==================================================================================================================
+
WizardPageController::WizardPageController( WizardShell& i_rParent, const Reference< XWizardController >& i_rController,
const sal_Int16 i_nPageId )
@@ -174,8 +174,8 @@ namespace svt { namespace uno
return true;
}
-//......................................................................................................................
+
} } // namespace svt::uno
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/uno/wizard/wizardpagecontroller.hxx b/svtools/source/uno/wizard/wizardpagecontroller.hxx
index 89fee98c101f..bcd224f96ae7 100644
--- a/svtools/source/uno/wizard/wizardpagecontroller.hxx
+++ b/svtools/source/uno/wizard/wizardpagecontroller.hxx
@@ -24,16 +24,16 @@
#include <com/sun/star/ui/dialogs/XWizardController.hpp>
-//......................................................................................................................
+
namespace svt { namespace uno
{
-//......................................................................................................................
+
class WizardShell;
- //==================================================================================================================
+
//= WizardPageController
- //==================================================================================================================
+
class WizardPageController : public IWizardPageController
{
public:
@@ -59,9 +59,9 @@ namespace svt { namespace uno
const sal_Int16 m_nPageId;
};
-//......................................................................................................................
+
} } // namespace svt::uno
-//......................................................................................................................
+
#endif // INCLUDED_SVTOOLS_SOURCE_UNO_WIZARD_WIZARDPAGECONTROLLER_HXX
diff --git a/svtools/source/uno/wizard/wizardshell.cxx b/svtools/source/uno/wizard/wizardshell.cxx
index 6223e77a7040..7534f84303ff 100644
--- a/svtools/source/uno/wizard/wizardshell.cxx
+++ b/svtools/source/uno/wizard/wizardshell.cxx
@@ -27,10 +27,10 @@
#include <vcl/msgbox.hxx>
-//......................................................................................................................
+
namespace svt { namespace uno
{
-//......................................................................................................................
+
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::XInterface;
@@ -49,7 +49,7 @@ namespace svt { namespace uno
namespace WizardTravelType = ::com::sun::star::ui::dialogs::WizardTravelType;
- //==================================================================================================================
+
namespace
{
@@ -60,9 +60,9 @@ namespace svt { namespace uno
}
}
- //==================================================================================================================
+
//= WizardShell
- //==================================================================================================================
+
WizardShell::WizardShell( Window* i_pParent, const Reference< XWizard >& i_rWizard, const Reference< XWizardController >& i_rController,
const Sequence< Sequence< sal_Int16 > >& i_rPaths )
@@ -263,8 +263,8 @@ namespace svt { namespace uno
return WizardShell_Base::onFinish();
}
-//......................................................................................................................
+
} } // namespace svt::uno
-//......................................................................................................................
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/uno/wizard/wizardshell.hxx b/svtools/source/uno/wizard/wizardshell.hxx
index a2d1605e8620..c62cb77f3d72 100644
--- a/svtools/source/uno/wizard/wizardshell.hxx
+++ b/svtools/source/uno/wizard/wizardshell.hxx
@@ -28,17 +28,17 @@
#include <boost/shared_ptr.hpp>
#include <map>
-//......................................................................................................................
+
namespace svt { namespace uno
{
-//......................................................................................................................
+
class WizardPageController;
typedef ::boost::shared_ptr< WizardPageController > PWizardPageController;
- //==================================================================================================================
+
//= WizardShell
- //==================================================================================================================
+
typedef ::svt::RoadmapWizard WizardShell_Base;
class WizardShell : public WizardShell_Base
{
@@ -131,9 +131,9 @@ namespace svt { namespace uno
Page2ControllerMap m_aPageControllers;
};
-//......................................................................................................................
+
} } // namespace svt::uno
-//......................................................................................................................
+
#endif // SVT_UNO_WIZARD_SHELL