summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 09:21:53 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 08:11:34 +0000
commit538f276ae0414ea34ede6090b5f56e8fecd6fc65 (patch)
treeefbfb952f3236a6f56540ddae6a896c8c73774a0 /svtools
parentf12e483589888f87843026ceff5ae3c1e615ca02 (diff)
Formatting changes across all modules
+ Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/toolbarmenuacc.cxx2
-rw-r--r--svtools/source/control/toolbarmenuimp.hxx3
-rw-r--r--svtools/source/control/valueacc.cxx3
-rw-r--r--svtools/source/dialogs/colrdlg.cxx1
-rw-r--r--svtools/source/graphic/descriptor.cxx1
-rw-r--r--svtools/source/graphic/grfattr.cxx1
-rw-r--r--svtools/source/graphic/grfcache.hxx1
-rw-r--r--svtools/source/graphic/grfmgr2.cxx2
-rw-r--r--svtools/source/graphic/transformer.cxx1
-rw-r--r--svtools/source/graphic/transformer.hxx1
-rw-r--r--svtools/source/misc/transfer.cxx7
-rw-r--r--svtools/source/misc/transfer2.cxx5
12 files changed, 0 insertions, 28 deletions
diff --git a/svtools/source/control/toolbarmenuacc.cxx b/svtools/source/control/toolbarmenuacc.cxx
index 73d1cf1108d6..5baf1374ff02 100644
--- a/svtools/source/control/toolbarmenuacc.cxx
+++ b/svtools/source/control/toolbarmenuacc.cxx
@@ -40,7 +40,6 @@ using namespace ::com::sun::star::accessibility;
namespace svtools {
-// - ToolbarMenuAcc -
ToolbarMenuAcc::ToolbarMenuAcc( ToolbarMenu_Impl& rParent )
@@ -568,7 +567,6 @@ void ToolbarMenuAcc::ThrowIfDisposed() throw (DisposedException)
}
-// - ToolbarMenuEntryAcc -
ToolbarMenuEntryAcc::ToolbarMenuEntryAcc( ToolbarMenuEntry* pParent )
diff --git a/svtools/source/control/toolbarmenuimp.hxx b/svtools/source/control/toolbarmenuimp.hxx
index b57c0c908bd6..cae14d6cdf85 100644
--- a/svtools/source/control/toolbarmenuimp.hxx
+++ b/svtools/source/control/toolbarmenuimp.hxx
@@ -56,7 +56,6 @@ const int BORDER_X = 0;
const int BORDER_Y = 0;
-// - ToolbarMenuEntry -
class ToolbarMenuEntry
@@ -100,7 +99,6 @@ public:
};
-// - ToolbarMenuAcc -
typedef ::cppu::WeakComponentImplHelper<
@@ -188,7 +186,6 @@ private:
};
-// - ToolbarMenuEntryAcc -
typedef ::cppu::WeakComponentImplHelper< css::accessibility::XAccessible,
diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx
index 66548367d96c..4ad7bfff6833 100644
--- a/svtools/source/control/valueacc.cxx
+++ b/svtools/source/control/valueacc.cxx
@@ -32,7 +32,6 @@
using namespace ::com::sun::star;
-// - ValueSetItem -
ValueSetItem::ValueSetItem( ValueSet& rParent )
@@ -66,7 +65,6 @@ uno::Reference< accessibility::XAccessible > ValueSetItem::GetAccessible( bool b
}
-// - ValueSetAcc -
ValueSetAcc::ValueSetAcc( ValueSet* pParent, bool bIsTransientChildrenDisabled ) :
@@ -760,7 +758,6 @@ bool ValueSetAcc::HasNoneField() const
return ((mpParent->GetStyle() & WB_NONEFIELD) != 0);
}
-// - ValueItemAcc -
ValueItemAcc::ValueItemAcc( ValueSetItem* pParent, bool bIsTransientChildrenDisabled ) :
mpParent( pParent ),
mbIsTransientChildrenDisabled( bIsTransientChildrenDisabled )
diff --git a/svtools/source/dialogs/colrdlg.cxx b/svtools/source/dialogs/colrdlg.cxx
index ac147239217b..70bed42125d7 100644
--- a/svtools/source/dialogs/colrdlg.cxx
+++ b/svtools/source/dialogs/colrdlg.cxx
@@ -37,7 +37,6 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::ui::dialogs;
-// - ColorDialog -
SvColorDialog::SvColorDialog( vcl::Window* pWindow )
diff --git a/svtools/source/graphic/descriptor.cxx b/svtools/source/graphic/descriptor.cxx
index a762bde811a6..0f55ecfcf701 100644
--- a/svtools/source/graphic/descriptor.cxx
+++ b/svtools/source/graphic/descriptor.cxx
@@ -49,7 +49,6 @@ using namespace ::com::sun::star;
namespace unographic {
-// - GraphicDescriptor -
GraphicDescriptor::GraphicDescriptor() :
diff --git a/svtools/source/graphic/grfattr.cxx b/svtools/source/graphic/grfattr.cxx
index 6a1c1a7b73cd..dd6585c1c3c9 100644
--- a/svtools/source/graphic/grfattr.cxx
+++ b/svtools/source/graphic/grfattr.cxx
@@ -22,7 +22,6 @@
#include <svtools/grfmgr.hxx>
-// - GraphicAttr -
GraphicAttr::GraphicAttr() :
diff --git a/svtools/source/graphic/grfcache.hxx b/svtools/source/graphic/grfcache.hxx
index f7de053a80b5..7af69062cd91 100644
--- a/svtools/source/graphic/grfcache.hxx
+++ b/svtools/source/graphic/grfcache.hxx
@@ -25,7 +25,6 @@
#include <list>
-// - GraphicManagerCache -
class GraphicAttr;
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index 42dcb619262a..82e76b359d79 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -35,7 +35,6 @@
#include <svtools/grfmgr.hxx>
#include <memory>
-// - defines -
#define WATERMARK_LUM_OFFSET 50
@@ -43,7 +42,6 @@
#define MAP( cVal0, cVal1, nFrac ) ((sal_uInt8)((((long)(cVal0)<<20L)+nFrac*((long)(cVal1)-(cVal0)))>>20L))
-// - GraphicManager -
GraphicManager::GraphicManager( sal_uLong nCacheSize, sal_uLong nMaxObjCacheSize ) :
diff --git a/svtools/source/graphic/transformer.cxx b/svtools/source/graphic/transformer.cxx
index eddfaa705b57..8636fe3f7d48 100644
--- a/svtools/source/graphic/transformer.cxx
+++ b/svtools/source/graphic/transformer.cxx
@@ -39,7 +39,6 @@ using namespace com::sun::star;
namespace unographic {
-// - GraphicTransformer -
GraphicTransformer::GraphicTransformer()
diff --git a/svtools/source/graphic/transformer.hxx b/svtools/source/graphic/transformer.hxx
index ceda687f0585..c6af0cc3b4b9 100644
--- a/svtools/source/graphic/transformer.hxx
+++ b/svtools/source/graphic/transformer.hxx
@@ -27,7 +27,6 @@
namespace unographic {
-// - GraphicTransformer -
typedef ::cppu::WeakAggImplHelper1<
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx
index 2650d9c3f7b2..3177a8c45126 100644
--- a/svtools/source/misc/transfer.cxx
+++ b/svtools/source/misc/transfer.cxx
@@ -63,7 +63,6 @@
#include <vcl/graphicfilter.hxx>
#include <memory>
-// - Namespaces -
using namespace ::com::sun::star::uno;
@@ -75,7 +74,6 @@ using namespace ::com::sun::star::datatransfer::clipboard;
using namespace ::com::sun::star::datatransfer::dnd;
-// - TransferableObjectDescriptor -
#define TOD_SIG1 0x01234567
@@ -232,7 +230,6 @@ static void ImplSetParameterString( TransferableObjectDescriptor& rObjDesc, cons
}
-// - TransferableHelper::TerminateListener -
TransferableHelper::TerminateListener::TerminateListener( TransferableHelper& rTransferableHelper ) :
@@ -266,7 +263,6 @@ void SAL_CALL TransferableHelper::TerminateListener::notifyTermination( const Ev
}
-// - TransferableHelper -
TransferableHelper::TransferableHelper() :
@@ -1103,7 +1099,6 @@ const Sequence< sal_Int8 >& TransferableHelper::getUnoTunnelId()
}
-// - TransferableClipboardNotifier -
class TransferableClipboardNotifier : public ::cppu::WeakImplHelper< XClipboardListener >
@@ -1189,7 +1184,6 @@ void TransferableClipboardNotifier::dispose()
}
-// - TransferableDataHelper_Impl -
struct TransferableDataHelper_Impl
@@ -1204,7 +1198,6 @@ struct TransferableDataHelper_Impl
};
-// - TransferableDataHelper -
TransferableDataHelper::TransferableDataHelper() :
diff --git a/svtools/source/misc/transfer2.cxx b/svtools/source/misc/transfer2.cxx
index f6fb07e0344e..09d9a891e3d0 100644
--- a/svtools/source/misc/transfer2.cxx
+++ b/svtools/source/misc/transfer2.cxx
@@ -34,7 +34,6 @@
#include <svtools/transfer.hxx>
-// - Namespaces -
using namespace ::com::sun::star::uno;
@@ -45,7 +44,6 @@ using namespace ::com::sun::star::datatransfer::clipboard;
using namespace ::com::sun::star::datatransfer::dnd;
-// - DragSourceHelper::DragGestureListener -
DragSourceHelper::DragGestureListener::DragGestureListener( DragSourceHelper& rDragSourceHelper ) :
@@ -76,7 +74,6 @@ void SAL_CALL DragSourceHelper::DragGestureListener::dragGestureRecognized( cons
}
-// - DragSourceHelper -
DragSourceHelper::DragSourceHelper( vcl::Window* pWindow ) :
@@ -104,7 +101,6 @@ void DragSourceHelper::StartDrag( sal_Int8, const Point& )
}
-// - DropTargetHelper::DropTargetListener -
DropTargetHelper::DropTargetListener::DropTargetListener( DropTargetHelper& rDropTargetHelper ) :
@@ -249,7 +245,6 @@ void SAL_CALL DropTargetHelper::DropTargetListener::dropActionChanged( const Dro
}
-// - DropTargetHelper -
DropTargetHelper::DropTargetHelper( vcl::Window* pWindow ) :