summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-03 14:08:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-04 07:17:23 +0100
commit21e0d8162a0e683558c4d042ce688fc9a6833809 (patch)
tree8c93a0158d7669b1e92a43c65b6b4a7a7eeca685 /sc
parent5de151f0fd7b590ae13560086b46ea84e4d9cf9c (diff)
loplugin:unusedfields
fix the ReturnStmt check Change-Id: I95076076bd1313d23798c4615ea12910c86ed9a8 Reviewed-on: https://gerrit.libreoffice.org/47309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xiescher.cxx1
-rw-r--r--sc/source/filter/inc/xiescher.hxx4
2 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index fac3b9425865..35c27f948e6e 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -3432,7 +3432,6 @@ SdrObjectPtr XclImpDffConverter::CreateSdrObject( const XclImpPictureObj& rPicOb
{
// if not found, use graphic from object (imported from IMGDATA record)
aGraphic = rPicObj.GetGraphic();
- aVisArea = rPicObj.GetVisArea();
}
if( aGraphic.GetType() != GraphicType::NONE )
{
diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx
index 24d50ce2cefd..58bdecf82f11 100644
--- a/sc/source/filter/inc/xiescher.hxx
+++ b/sc/source/filter/inc/xiescher.hxx
@@ -813,9 +813,6 @@ public:
/** Returns the graphic imported from the IMGDATA record. */
const Graphic& GetGraphic() const { return maGraphic; }
- /** Returns the visible area of the imported graphic. */
- const tools::Rectangle& GetVisArea() const { return maVisArea; }
-
/** Returns true, if the OLE object will be shown as symbol. */
bool IsSymbol() const { return mbSymbol; }
/** Returns the storage name for the OLE object. */
@@ -852,7 +849,6 @@ private:
private:
Graphic maGraphic; /// Picture or OLE placeholder graphic.
- tools::Rectangle maVisArea; /// Size of graphic.
OUString maClassName; /// Class name of embedded OLE object.
sal_uInt32 mnStorageId; /// Identifier of the storage for this object.
std::size_t mnCtlsStrmPos; /// Position in 'Ctls' stream for this control.