summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-17 15:09:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-22 10:22:00 +0200
commit715d4d803a8649b4aa46ff7ef89786a1de435604 (patch)
treee9d411fdac867eab71536fe6b5bfc78150147d12 /forms
parent0ac89e300f936a7f731ece3d286849e67cf44a40 (diff)
Avoid reserved identifiers
Change-Id: Icc658a3adce2e93c3cc4e8a88689f462b1c7c8a1
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ImageControl.cxx12
-rw-r--r--forms/source/runtime/formoperations.cxx8
-rw-r--r--forms/source/xforms/submission.cxx10
3 files changed, 15 insertions, 15 deletions
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx
index c6cf462915af..cc3be59c1432 100644
--- a/forms/source/component/ImageControl.cxx
+++ b/forms/source/component/ImageControl.cxx
@@ -734,15 +734,15 @@ css::uno::Sequence<OUString> OImageControlControl::getSupportedServiceNames() t
}
-void SAL_CALL OImageControlControl::addModifyListener( const Reference< XModifyListener >& _Listener ) throw (RuntimeException, std::exception)
+void SAL_CALL OImageControlControl::addModifyListener( const Reference< XModifyListener >& Listener ) throw (RuntimeException, std::exception)
{
- m_aModifyListeners.addInterface( _Listener );
+ m_aModifyListeners.addInterface( Listener );
}
-void SAL_CALL OImageControlControl::removeModifyListener( const Reference< XModifyListener >& _Listener ) throw (RuntimeException, std::exception)
+void SAL_CALL OImageControlControl::removeModifyListener( const Reference< XModifyListener >& Listener ) throw (RuntimeException, std::exception)
{
- m_aModifyListeners.removeInterface( _Listener );
+ m_aModifyListeners.removeInterface( Listener );
}
@@ -755,9 +755,9 @@ void SAL_CALL OImageControlControl::disposing()
}
-void SAL_CALL OImageControlControl::disposing( const EventObject& _Event ) throw(RuntimeException, std::exception)
+void SAL_CALL OImageControlControl::disposing( const EventObject& Event ) throw(RuntimeException, std::exception)
{
- OBoundControl::disposing( _Event );
+ OBoundControl::disposing( Event );
}
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx
index 96e7a1f7c481..fa3d42870172 100644
--- a/forms/source/runtime/formoperations.cxx
+++ b/forms/source/runtime/formoperations.cxx
@@ -168,9 +168,9 @@ namespace frm
return getImplementationName_Static();
}
- sal_Bool SAL_CALL FormOperations::supportsService( const OUString& _ServiceName ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL FormOperations::supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception)
{
- return cppu::supportsService(this, _ServiceName);
+ return cppu::supportsService(this, ServiceName);
}
Sequence< OUString > SAL_CALL FormOperations::getSupportedServiceNames( ) throw (RuntimeException, std::exception)
@@ -428,9 +428,9 @@ namespace frm
}
template < typename TYPE >
- TYPE lcl_safeGetPropertyValue_throw( const Reference< XPropertySet >& _rxProperties, const OUString& _rPropertyName, TYPE _Default )
+ TYPE lcl_safeGetPropertyValue_throw( const Reference< XPropertySet >& _rxProperties, const OUString& _rPropertyName, TYPE Default )
{
- TYPE value( _Default );
+ TYPE value( Default );
OSL_PRECOND( _rxProperties.is(), "FormOperations::<foo>: no cursor (already disposed?)!" );
if ( _rxProperties.is() )
OSL_VERIFY( _rxProperties->getPropertyValue( _rPropertyName ) >>= value );
diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx
index ec9360ceafef..1f71fa2ffb60 100644
--- a/forms/source/xforms/submission.cxx
+++ b/forms/source/xforms/submission.cxx
@@ -514,7 +514,7 @@ void SAL_CALL Submission::removeSubmissionVetoListener( const Reference< XSubmis
throw NoSupportException();
}
-static bool _isIgnorable(const Reference< XNode >& aNode)
+static bool isIgnorable(const Reference< XNode >& aNode)
{
// ignore whitespace-only textnodes
if (aNode->getNodeType() == NodeType_TEXT_NODE)
@@ -527,7 +527,7 @@ static bool _isIgnorable(const Reference< XNode >& aNode)
}
// recursively copy relevant nodes from A to B
-static void _cloneNodes(Model& aModel, const Reference< XNode >& dstParent, const Reference< XNode >& source, bool bRemoveWSNodes)
+static void cloneNodes(Model& aModel, const Reference< XNode >& dstParent, const Reference< XNode >& source, bool bRemoveWSNodes)
{
if (!source.is()) return;
@@ -539,13 +539,13 @@ static void _cloneNodes(Model& aModel, const Reference< XNode >& dstParent, cons
{
// is this node relevant?
MIP mip = aModel.queryMIP(cur);
- if(mip.isRelevant() && !(bRemoveWSNodes && _isIgnorable(cur)))
+ if(mip.isRelevant() && !(bRemoveWSNodes && isIgnorable(cur)))
{
imported = dstDoc->importNode(cur, false);
imported = dstParent->appendChild(imported);
// append source children to new imported parent
for( cur = cur->getFirstChild(); cur.is(); cur = cur->getNextSibling() )
- _cloneNodes(aModel, imported, cur, bRemoveWSNodes);
+ cloneNodes(aModel, imported, cur, bRemoveWSNodes);
}
}
}
@@ -582,7 +582,7 @@ Reference< XDocumentFragment > Submission::createSubmissionDocument(const Refere
if (aListItem->getNodeType()==NodeType_DOCUMENT_NODE)
aListItem.set( (Reference< XDocument >(aListItem, UNO_QUERY))->getDocumentElement(), UNO_QUERY);
// copy relevant nodes from instance into fragment
- _cloneNodes(*getModelImpl(), aFragment, aListItem, bRemoveWSNodes);
+ cloneNodes(*getModelImpl(), aFragment, aListItem, bRemoveWSNodes);
}
}
return aFragment;