summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-11-14 21:02:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-11-14 21:02:40 +0100
commitab5d1fbfb4956ec431dbceb6b4cc65f7b12e5c5f (patch)
tree9a8a9a87526b4da881a364dd557ea9002e6a6b5b /forms
parentbcd594902c366443f0d17b7599267793ac6da204 (diff)
SAL_WARN_UNUSED com::sun::star::uno::Any
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/DatabaseForm.cxx1
-rw-r--r--forms/source/component/File.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 250d54ffd373..724def0244bb 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -2467,7 +2467,6 @@ void SAL_CALL ODatabaseForm::setControlModels(const Sequence<Reference<XControlM
// HiddenControls and forms are not listed
if (nNewCount <= nCount)
{
- Any aElement;
sal_Int16 nTabIndex = 1;
for (sal_Int32 i=0; i < nNewCount; ++i, ++pControls)
{
diff --git a/forms/source/component/File.cxx b/forms/source/component/File.cxx
index c11c09ccb087..45445afd8d6b 100644
--- a/forms/source/component/File.cxx
+++ b/forms/source/component/File.cxx
@@ -142,7 +142,6 @@ void OFileControlModel::disposing()
//------------------------------------------------------------------------------
Any OFileControlModel::getPropertyDefaultByHandle( sal_Int32 _nHandle ) const
{
- Any aReturn;
switch ( _nHandle )
{
case PROPERTY_ID_DEFAULT_TEXT: