summaryrefslogtreecommitdiff
path: root/xmloff
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 /xmloff
parentabc6071b7a8af354a56c91e4caecd8afc79f55cc (diff)
mark UNO structs as SAL_WARN_UNUSED, where possible
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx1
-rw-r--r--xmloff/source/draw/shapeexport.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index ac70a8e968b9..0c7ca7d4c636 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -1833,7 +1833,6 @@ void SchXMLExportHelper_Impl::exportPlotArea(
std::vector< XMLPropertyState > aPropertyStates;
bool bIs3DChart = false;
- drawing::HomogenMatrix aTransMatrix;
msStringBuffer.setLength( 0 );
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 150b7b11c3a1..231b8bcdef75 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2158,7 +2158,6 @@ void XMLShapeExport::ImpExportPolygonShape(
ImpExportNewTrans_FeaturesAndWrite(aTRScale, fTRShear, fTRRotate, aTRTranslate, nFeatures);
// create and export ViewBox
- awt::Point aPoint(0, 0);
awt::Size aSize(FRound(aTRScale.getX()), FRound(aTRScale.getY()));
SdXMLImExViewBox aViewBox(0, 0, aSize.Width, aSize.Height);
mrExport.AddAttribute(XML_NAMESPACE_SVG, XML_VIEWBOX, aViewBox.GetExportString());
@@ -2620,7 +2619,6 @@ void XMLShapeExport::ImpExportConnectorShape(
fTRRotate, aTRTranslate, pRefPoint);
// fdo#49678: create and export ViewBox
- awt::Point aPoint(0, 0);
awt::Size aSize(FRound(aTRScale.getX()), FRound(aTRScale.getY()));
SdXMLImExViewBox aViewBox(0, 0, aSize.Width, aSize.Height);
mrExport.AddAttribute(XML_NAMESPACE_SVG, XML_VIEWBOX, aViewBox.GetExportString());