summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-04-30 05:32:26 +0300
committerTor Lillqvist <tml@collabora.com>2015-04-30 06:14:12 +0300
commitd1ca0f4ed0e30394ce6759a20d4896651dd43051 (patch)
treeaf9def17a770c6399e18965c9fb9f3bb4b91b702 /forms
parent0d341d28f73603670e3b8c639c583229d3c723a6 (diff)
Bin some pointless comments and reduce some vertical whitespace
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
Diffstat (limited to 'forms')
-rw-r--r--forms/source/xforms/propertysetbase.hxx1
-rw-r--r--forms/source/xforms/unohelper.hxx8
2 files changed, 4 insertions, 5 deletions
diff --git a/forms/source/xforms/propertysetbase.hxx b/forms/source/xforms/propertysetbase.hxx
index fd07fc8acb15..7fdb2124b3c2 100644
--- a/forms/source/xforms/propertysetbase.hxx
+++ b/forms/source/xforms/propertysetbase.hxx
@@ -33,7 +33,6 @@
#include <map>
-// forward declarations for method arguments
namespace com { namespace sun { namespace star { namespace uno {
class Any;
class RuntimeException;
diff --git a/forms/source/xforms/unohelper.hxx b/forms/source/xforms/unohelper.hxx
index b2675dca308c..045c63672976 100644
--- a/forms/source/xforms/unohelper.hxx
+++ b/forms/source/xforms/unohelper.hxx
@@ -21,23 +21,23 @@
#include <sal/types.h>
-// forward declarations
namespace com { namespace sun { namespace star {
namespace uno {
class XInterface;
template<class T> class Reference;
}
- namespace beans { class XPropertySet; }
+ namespace beans {
+ class XPropertySet;
+ }
} } }
-
namespace xforms
{
/** copy the properties from one PropertySet into the next */
void copy( const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>& , com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>& );
-} // namespace
+}
#endif