summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /vbahelper
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/msforms/vbasystemaxcontrol.cxx18
-rw-r--r--vbahelper/source/vbahelper/vbacommandbarcontrols.cxx2
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx4
3 files changed, 12 insertions, 12 deletions
diff --git a/vbahelper/source/msforms/vbasystemaxcontrol.cxx b/vbahelper/source/msforms/vbasystemaxcontrol.cxx
index 84ac5ebcbb73..9ae1c0f0e7ed 100644
--- a/vbahelper/source/msforms/vbasystemaxcontrol.cxx
+++ b/vbahelper/source/msforms/vbasystemaxcontrol.cxx
@@ -21,63 +21,63 @@
using namespace com::sun::star;
using namespace ooo::vba;
-//----------------------------------------------------------
+
VbaSystemAXControl::VbaSystemAXControl( const uno::Reference< ov::XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< uno::XInterface >& xControl, const uno::Reference< frame::XModel >& xModel, AbstractGeometryAttributes* pGeomHelper )
: SystemAXControlImpl_BASE( xParent, xContext, xControl, xModel, pGeomHelper )
, m_xControlInvocation( xControl, uno::UNO_QUERY_THROW )
{
}
-//----------------------------------------------------------
+
uno::Reference< beans::XIntrospectionAccess > SAL_CALL VbaSystemAXControl::getIntrospection()
throw ( uno::RuntimeException )
{
return m_xControlInvocation->getIntrospection();
}
-//----------------------------------------------------------
+
uno::Any SAL_CALL VbaSystemAXControl::invoke( const OUString& aFunctionName, const uno::Sequence< uno::Any >& aParams, uno::Sequence< ::sal_Int16 >& aOutParamIndex, uno::Sequence< uno::Any >& aOutParam )
throw ( lang::IllegalArgumentException, script::CannotConvertException, reflection::InvocationTargetException, uno::RuntimeException )
{
return m_xControlInvocation->invoke( aFunctionName, aParams, aOutParamIndex, aOutParam );
}
-//----------------------------------------------------------
+
void SAL_CALL VbaSystemAXControl::setValue( const OUString& aPropertyName, const uno::Any& aValue )
throw ( beans::UnknownPropertyException, script::CannotConvertException, reflection::InvocationTargetException, uno::RuntimeException )
{
m_xControlInvocation->setValue( aPropertyName, aValue );
}
-//----------------------------------------------------------
+
uno::Any SAL_CALL VbaSystemAXControl::getValue( const OUString& aPropertyName )
throw ( beans::UnknownPropertyException, uno::RuntimeException )
{
return m_xControlInvocation->getValue( aPropertyName );
}
-//----------------------------------------------------------
+
::sal_Bool SAL_CALL VbaSystemAXControl::hasMethod( const OUString& aName )
throw ( uno::RuntimeException )
{
return m_xControlInvocation->hasMethod( aName );
}
-//----------------------------------------------------------
+
::sal_Bool SAL_CALL VbaSystemAXControl::hasProperty( const OUString& aName )
throw ( uno::RuntimeException )
{
return m_xControlInvocation->hasProperty( aName );
}
-//----------------------------------------------------------
+
OUString
VbaSystemAXControl::getServiceImplName()
{
return OUString( "VbaSystemAXControl" );
}
-//----------------------------------------------------------
+
uno::Sequence< OUString >
VbaSystemAXControl::getServiceNames()
{
diff --git a/vbahelper/source/vbahelper/vbacommandbarcontrols.cxx b/vbahelper/source/vbahelper/vbacommandbarcontrols.cxx
index 5fc986e5677d..00fb17aab5c0 100644
--- a/vbahelper/source/vbahelper/vbacommandbarcontrols.cxx
+++ b/vbahelper/source/vbahelper/vbacommandbarcontrols.cxx
@@ -265,7 +265,7 @@ public:
{ return false; }
};
-// ----------------------------------------------------------------------------
+
VbaDummyCommandBarControls::VbaDummyCommandBarControls(
const uno::Reference< XHelperInterface >& xParent,
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index 4b7976a6a847..2663b38409f8 100644
--- a/vbahelper/source/vbahelper/vbahelper.cxx
+++ b/vbahelper/source/vbahelper/vbahelper.cxx
@@ -802,7 +802,7 @@ void setOrAppendPropertyValue( uno::Sequence< beans::PropertyValue >& aProp, con
}
// ====UserFormGeomentryHelper====
-//---------------------------------------------
+
UserFormGeometryHelper::UserFormGeometryHelper(
const uno::Reference< uno::XComponentContext >& /*xContext*/,
const uno::Reference< awt::XControl >& xControl,
@@ -889,7 +889,7 @@ double UserFormGeometryHelper::getOffsetY() const
return mfOffsetY;
}
-// ----------------------------------------------------------------------------
+
static const char saPosXName[] = "PositionX";
static const char saPosYName[] = "PositionY";