summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-25 17:17:47 +0200
committerNoel Grandin <noel@peralex.com>2015-11-26 13:26:25 +0200
commita508f639a033cefe10ad78a09d3b3c46c162aad9 (patch)
tree597720af61860cae97cffd84c638bcaa73e8e381 /svtools
parentloplugin:unusedfields various (diff)
downloadcore-a508f639a033cefe10ad78a09d3b3c46c162aad9.tar.gz
core-a508f639a033cefe10ad78a09d3b3c46c162aad9.zip
mark UNO structs as SAL_WARN_UNUSED, where possible
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/vclxaccessibleheaderbaritem.cxx2
-rw-r--r--svtools/source/misc/transfer.cxx1
2 files changed, 0 insertions, 3 deletions
diff --git a/svtools/source/control/vclxaccessibleheaderbaritem.cxx b/svtools/source/control/vclxaccessibleheaderbaritem.cxx
index 4979614f2f8e..77097b7f1d53 100644
--- a/svtools/source/control/vclxaccessibleheaderbaritem.cxx
+++ b/svtools/source/control/vclxaccessibleheaderbaritem.cxx
@@ -83,8 +83,6 @@ awt::Rectangle VCLXAccessibleHeaderBarItem::implGetBounds() throw (RuntimeExcept
awt::Rectangle aBounds;
OExternalLockGuard aGuard( this );
- css::awt::Size aSize;
-
if ( m_pHeadBar )
aBounds = AWTRectangle( m_pHeadBar->GetItemRect( sal_uInt16( m_nIndexInParent ) ) );
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx
index f9f84be461ac..e8a900d8b4fc 100644
--- a/svtools/source/misc/transfer.cxx
+++ b/svtools/source/misc/transfer.cxx
@@ -603,7 +603,6 @@ void TransferableHelper::AddFormat( const DataFlavor& rFlavor )
if( bAdd )
{
DataFlavorEx aFlavorEx;
- DataFlavor aObjDescFlavor;
aFlavorEx.MimeType = rFlavor.MimeType;
aFlavorEx.HumanPresentableName = rFlavor.HumanPresentableName;