summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ComboBox.cxx1
-rw-r--r--forms/source/component/DatabaseForm.cxx1
-rw-r--r--forms/source/component/FormattedField.cxx1
-rw-r--r--forms/source/component/entrylisthelper.cxx1
-rw-r--r--forms/source/xforms/submission/serialization_urlencoded.cxx1
5 files changed, 0 insertions, 5 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx
index dd419a171ff4..cc64d8bba73a 100644
--- a/forms/source/component/ComboBox.cxx
+++ b/forms/source/component/ComboBox.cxx
@@ -504,7 +504,6 @@ void OComboBoxModel::loadData( bool _bForce )
// in that case we use the first field of the table
Reference<XNameAccess> xFieldsByName = getTableFields(xConnection, m_aListSource);
- Reference<XIndexAccess> xFieldsByIndex(xFieldsByName, UNO_QUERY);
OUString aFieldName;
if ( xFieldsByName.is() && xFieldsByName->hasByName( getControlSource() ) )
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 0ce27865f7ce..0261fe1b1404 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -651,7 +651,6 @@ void ODatabaseForm::AppendComponent(HtmlSuccessfulObjList& rList, const Referenc
Sequence<Reference<XControl> > aControlSeq = xControlContainer->getControls();
Reference<XControl> xControl;
- Reference<XFormComponent> xControlComponent;
// Find the right control
sal_Int32 i;
diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx
index 2f4c42cbd272..2a9ed5a896b4 100644
--- a/forms/source/component/FormattedField.cxx
+++ b/forms/source/component/FormattedField.cxx
@@ -416,7 +416,6 @@ void OFormattedModel::_propertyChanged( const css::beans::PropertyChangeEvent& e
OSL_ENSURE( evt.Source == m_xAggregateSet, "OFormattedModel::_propertyChanged: where did this come from?" );
if ( evt.Source == m_xAggregateSet )
{
- Reference< XPropertySet > xSourceSet( evt.Source, UNO_QUERY );
if ( evt.PropertyName == PROPERTY_FORMATKEY )
{
if ( evt.NewValue.getValueType().getTypeClass() == TypeClass_LONG )
diff --git a/forms/source/component/entrylisthelper.cxx b/forms/source/component/entrylisthelper.cxx
index 4e9202be73da..508ccfd833e9 100644
--- a/forms/source/component/entrylisthelper.cxx
+++ b/forms/source/component/entrylisthelper.cxx
@@ -170,7 +170,6 @@ namespace frm
OSL_ENSURE( _rEvent.Source == m_xListSource,
"OEntryListHelper::allEntriesChanged: where did this come from?" );
- Reference< XListEntrySource > xSource( _rEvent.Source, UNO_QUERY );
if ( _rEvent.Source == m_xListSource )
{
impl_lock_refreshList( aLock );
diff --git a/forms/source/xforms/submission/serialization_urlencoded.cxx b/forms/source/xforms/submission/serialization_urlencoded.cxx
index a3dddb11c9fb..0e96edfb643c 100644
--- a/forms/source/xforms/submission/serialization_urlencoded.cxx
+++ b/forms/source/xforms/submission/serialization_urlencoded.cxx
@@ -161,7 +161,6 @@ void CSerializationURLEncoded::serialize()
{
// output stream to the pipe buffer
- Reference< XOutputStream > out(m_aPipe, UNO_QUERY);
css::uno::Reference< css::xml::dom::XNode > cur = m_aFragment->getFirstChild();
while (cur.is())