summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-12 11:22:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-12 11:22:03 +0100
commit1275e972b2d634c70fbe3acf5e2d90cd5c438e58 (patch)
tree896252082c5214bd36a35de1d5cb78001c58ef81 /chart2
parent684035a93d17ddb92909c40766518b1d193eadc8 (diff)
loplugin:redundantfcast
Change-Id: I54cbc12b9eeb5bd6e405765836436611326b4d8f
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/sidebar/ChartAreaPanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.cxx b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
index 0423aca7e8d1..907840adcae2 100644
--- a/chart2/source/controller/sidebar/ChartAreaPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
@@ -191,7 +191,7 @@ GraphicObject getXBitmapFromName(const css::uno::Reference<css::frame::XModel>&
if (pBitmap->GetName().equalsIgnoreAsciiCase(rName))
{
- return GraphicObject(pBitmap->GetGraphicObject());
+ return pBitmap->GetGraphicObject();
}
}
}