[Libreoffice-commits] core.git: svtools/source
Alexander Wilms
f.alexander.wilms at gmail.com
Tue Feb 25 13:14:39 PST 2014
svtools/source/brwbox/brwbox1.cxx | 2
svtools/source/brwbox/brwbox2.cxx | 30 +++----
svtools/source/brwbox/brwbox3.cxx | 6 -
svtools/source/brwbox/brwhead.cxx | 2
svtools/source/brwbox/datwin.cxx | 14 +--
svtools/source/brwbox/datwin.hxx | 16 +--
svtools/source/brwbox/ebbcontrols.cxx | 52 ++++++------
svtools/source/brwbox/editbrowsebox.cxx | 24 ++---
svtools/source/config/colorcfg.cxx | 2
svtools/source/config/itemholder2.hxx | 8 -
svtools/source/config/menuoptions.cxx | 56 ++++++-------
svtools/source/config/miscopt.cxx | 38 ++++----
svtools/source/config/optionsdrawinglayer.cxx | 72 ++++++++---------
svtools/source/config/test/test.cxx | 24 ++---
svtools/source/contnr/contentenumeration.cxx | 12 +-
svtools/source/contnr/contentenumeration.hxx | 32 +++----
svtools/source/contnr/fileview.cxx | 12 +-
svtools/source/contnr/imivctl.hxx | 36 ++++----
svtools/source/contnr/imivctl1.cxx | 18 ++--
svtools/source/contnr/svimpbox.cxx | 12 +-
svtools/source/contnr/svlbitm.cxx | 4
svtools/source/contnr/treelistbox.cxx | 4
svtools/source/control/calendar.cxx | 12 +-
svtools/source/control/collatorres.cxx | 8 -
svtools/source/control/ctrlbox.cxx | 20 ++--
svtools/source/control/ctrltool.cxx | 10 +-
svtools/source/control/filectrl.cxx | 2
svtools/source/control/fileurlbox.cxx | 12 +-
svtools/source/control/headbar.cxx | 4
svtools/source/control/hyperlabel.cxx | 12 +-
svtools/source/control/indexentryres.cxx | 8 -
svtools/source/control/roadmap.cxx | 32 +++----
svtools/source/control/scrwin.cxx | 2
svtools/source/control/stdctrl.cxx | 2
svtools/source/control/stdmenu.cxx | 4
svtools/source/control/tabbar.cxx | 16 +--
svtools/source/control/toolbarmenu.cxx | 2
svtools/source/control/toolbarmenuimp.hxx | 14 +--
svtools/source/control/urlcontrol.cxx | 12 +-
svtools/source/control/vclxaccessibleheaderbaritem.cxx | 4
svtools/source/dialogs/addresstemplate.cxx | 32 +++----
svtools/source/dialogs/mcvmath.hxx | 10 +-
svtools/source/dialogs/prnsetup.cxx | 4
svtools/source/dialogs/roadmapwizard.cxx | 12 +-
svtools/source/dialogs/wizardmachine.cxx | 24 ++---
svtools/source/dialogs/wizdlg.cxx | 8 -
svtools/source/filter/exportdialog.cxx | 2
svtools/source/graphic/grfcache.hxx | 4
svtools/source/graphic/grfmgr2.cxx | 8 -
svtools/source/graphic/transformer.hxx | 4
svtools/source/hatchwindow/ipwin.hxx | 2
svtools/source/inc/iodlg.hrc | 4
svtools/source/inc/svtaccessiblefactory.hxx | 12 +-
svtools/source/inc/unoiface.hxx | 32 +++----
svtools/source/misc/bindablecontrolhelper.cxx | 8 -
svtools/source/misc/dialogclosedlistener.cxx | 12 +-
svtools/source/misc/dialogcontrolling.cxx | 32 +++----
svtools/source/misc/ehdl.cxx | 2
svtools/source/misc/imagemgr.cxx | 6 -
svtools/source/misc/imageresourceaccess.cxx | 16 +--
svtools/source/misc/sampletext.cxx | 6 -
svtools/source/misc/stringtransfer.cxx | 16 +--
svtools/source/misc/svtaccessiblefactory.cxx | 18 ++--
svtools/source/misc/templatefoldercache.cxx | 38 ++++----
svtools/source/misc/transfer.cxx | 2
svtools/source/misc/xwindowitem.cxx | 4
svtools/source/svhtml/parhtml.cxx | 4
svtools/source/table/cellvalueconversion.cxx | 56 ++++++-------
svtools/source/table/cellvalueconversion.hxx | 12 +-
svtools/source/table/defaultinputhandler.cxx | 12 +-
svtools/source/table/gridtablerenderer.cxx | 24 ++---
svtools/source/table/mousefunction.cxx | 24 ++---
svtools/source/table/mousefunction.hxx | 32 +++----
svtools/source/table/tablecontrol.cxx | 10 +-
svtools/source/table/tablecontrol_impl.cxx | 48 +++++------
svtools/source/table/tablecontrol_impl.hxx | 12 +-
svtools/source/table/tabledatawindow.cxx | 12 +-
svtools/source/table/tabledatawindow.hxx | 12 +-
svtools/source/table/tablegeometry.cxx | 16 +--
svtools/source/table/tablegeometry.hxx | 24 ++---
svtools/source/toolpanel/drawerlayouter.cxx | 12 +-
svtools/source/toolpanel/dummypanel.cxx | 12 +-
svtools/source/toolpanel/dummypanel.hxx | 12 +-
svtools/source/toolpanel/paneldecklisteners.cxx | 12 +-
svtools/source/toolpanel/paneldecklisteners.hxx | 12 +-
svtools/source/toolpanel/paneltabbar.cxx | 60 +++++++-------
svtools/source/toolpanel/paneltabbarpeer.cxx | 12 +-
svtools/source/toolpanel/paneltabbarpeer.hxx | 12 +-
svtools/source/toolpanel/refbase.cxx | 12 +-
svtools/source/toolpanel/tabbargeometry.cxx | 20 ++--
svtools/source/toolpanel/tabbargeometry.hxx | 16 +--
svtools/source/toolpanel/tabitemdescriptor.hxx | 12 +-
svtools/source/toolpanel/tablayouter.cxx | 20 ++--
svtools/source/toolpanel/toolpanel.cxx | 12 +-
svtools/source/toolpanel/toolpanelcollection.cxx | 16 +--
svtools/source/toolpanel/toolpanelcollection.hxx | 12 +-
svtools/source/toolpanel/toolpaneldeck.cxx | 16 +--
svtools/source/toolpanel/toolpaneldeckpeer.cxx | 12 +-
svtools/source/toolpanel/toolpaneldeckpeer.hxx | 12 +-
svtools/source/toolpanel/toolpaneldrawer.cxx | 16 +--
svtools/source/toolpanel/toolpaneldrawer.hxx | 18 ++--
svtools/source/toolpanel/toolpaneldrawerpeer.cxx | 16 +--
svtools/source/toolpanel/toolpaneldrawerpeer.hxx | 12 +-
svtools/source/uno/genericunodialog.cxx | 8 -
svtools/source/uno/popupwindowcontroller.cxx | 4
svtools/source/uno/toolboxcontroller.cxx | 2
svtools/source/uno/treecontrolpeer.cxx | 8 -
svtools/source/uno/unocontroltablemodel.cxx | 16 +--
svtools/source/uno/unocontroltablemodel.hxx | 12 +-
svtools/source/uno/unogridcolumnfacade.cxx | 16 +--
svtools/source/uno/unogridcolumnfacade.hxx | 12 +-
svtools/source/uno/unoiface.cxx | 36 ++++----
svtools/source/uno/unoimap.cxx | 2
svtools/source/uno/wizard/wizardpagecontroller.cxx | 12 +-
svtools/source/uno/wizard/wizardpagecontroller.hxx | 12 +-
svtools/source/uno/wizard/wizardshell.cxx | 14 +--
svtools/source/uno/wizard/wizardshell.hxx | 12 +-
117 files changed, 900 insertions(+), 900 deletions(-)
New commits:
commit bee1cc83ec4b8a246017a823305fd5d20869bce3
Author: Alexander Wilms <f.alexander.wilms at gmail.com>
Date: Tue Feb 25 20:45:41 2014 +0100
Remove visual noise from svtools
Change-Id: I7c2b74a449fb20aae5bc643e24a22cf6f732136d
Reviewed-on: https://gerrit.libreoffice.org/8320
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svtools/source/brwbox/brwbox1.cxx b/svtools/source/brwbox/brwbox1.cxx
index 55a0f77..0e3ec67 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 7bc82fc..86f2ff2 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 1683c63..91720a3 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 42160d8..e3758a9 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 a43c1fe..cfe0af7 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 10d1f11..ac58691 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 f95303a..09634df 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 128793b..517fc23 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 b99d04b..5b49745 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 9d39e18..3b8f1ec 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 4c37065..f95f0a4 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 dc3c390..c94a4d0 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 173bfbf..7d42660 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 bdac398..54ba42a 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 5593be3..ae97aab 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 7829e7b..2a00714 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 b0e0544..cb0f321 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 6d73828..28d5d57 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 dc7b3c6..09dfdc9 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 a0f54c0..ae82da1 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 e47baaa..6f4ad35 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 d194ebe..f829cd7 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 4f464ca..793a02a 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 c845b22..eb345a3 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 3755003..8860c67 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 5991af8..a51e41f 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 810b17b..8155673 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 06e5991..c7e6dd5 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 91adad6..b317ed4 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 f31f1c9..799941d 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 ac2b5ff..85f2569 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 bdbb85f..e10e89a 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 38c44b8..0c697f8 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 e73456b..74141c8 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 34be090..3faca9c 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 4e4ac1d..1d1691f 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 270bff8..5fa9f6d 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 36d851d..519f33e 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 ab11ade..ddb4025 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 6e29314..aab216f 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 167369b..7104f68 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 d17b4db..4fc2c8d 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 a378b92..d6adef7 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 20800ae..5f9ab6f 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 c0fa193..27d47a1 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 de29f6b..332787e 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 e8d359c..6fcd02b 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 22b1f58..1569f0c 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 55eb718..e439ca7 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 e57b8fa..f6ccef7 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 a71fa46..abd687c 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 0c51b96..7f244b0 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 30926de..f9c8373 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 5fe6aab..5f0f099 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 f94a3e0..bc54fb6 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 8f3eb85..fe1f3f2 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 b8c06b1..516b3af 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 338d745..75d8248 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 767344f..800ca8a 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 713b195b..970865c 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;
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list