summaryrefslogtreecommitdiff
path: root/reportdesign/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-14 09:44:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-14 11:18:21 +0200
commit2d009c405714934ae5f95f4131510cb4e9c2493f (patch)
tree33670e0adb62d646a3e7ecdfadee92e25222be22 /reportdesign/source
parentbdd97cb83e09225905a6272caf91579a0a77d3c2 (diff)
loplugin:moveit
Change-Id: I2702e716dc669ffbb870d36d060e110288d7a744 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137043 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source')
-rw-r--r--reportdesign/source/ui/misc/UITools.cxx3
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx3
2 files changed, 2 insertions, 4 deletions
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx
index 2eec8fe9fa2a..b77f3f77a77b 100644
--- a/reportdesign/source/ui/misc/UITools.cxx
+++ b/reportdesign/source/ui/misc/UITools.cxx
@@ -617,7 +617,6 @@ bool openCharDialog( const uno::Reference<report::XReportControlFormat >& _rxRep
};
FontList aFontList(Application::GetDefaultDevice());
XColorListRef pColorList( XColorList::CreateStdColorList() );
- const Graphic aNullGraphic;
const ::Color aNullLineCol(COL_DEFAULT_SHAPE_STROKE); // #i121448# Use defined default color
const ::Color aNullFillCol(COL_DEFAULT_SHAPE_FILLING); // #i121448# Use defined default color
const XGradient aNullGrad(COL_BLACK, COL_WHITE);
@@ -628,7 +627,7 @@ bool openCharDialog( const uno::Reference<report::XReportControlFormat >& _rxRep
new XFillColorItem("", aNullFillCol),
new XFillGradientItem(aNullGrad),
new XFillHatchItem(aNullHatch),
- new XFillBitmapItem(aNullGraphic),
+ new XFillBitmapItem(Graphic()),
new XFillTransparenceItem,
new XGradientStepCountItem,
new XFillBmpTileItem,
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index b53cfad7b87f..f84354a20ea0 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -2367,7 +2367,6 @@ void OReportController::openPageDialog(const uno::Reference<report::XSection>& _
>);
rtl::Reference<SfxItemPool> pPool( new SfxItemPool("ReportPageProperties", RPTUI_ID_LRSPACE, RPTUI_ID_METRIC, aItemInfos ) );
- const Graphic aNullGraphic;
const ::Color aNullLineCol(COL_DEFAULT_SHAPE_STROKE); // #i121448# Use defined default color
const ::Color aNullFillCol(COL_DEFAULT_SHAPE_FILLING); // #i121448# Use defined default color
const XGradient aNullGrad(COL_BLACK, COL_WHITE);
@@ -2387,7 +2386,7 @@ void OReportController::openPageDialog(const uno::Reference<report::XSection>& _
new XFillColorItem("", aNullFillCol),
new XFillGradientItem(aNullGrad),
new XFillHatchItem(aNullHatch),
- new XFillBitmapItem(aNullGraphic),
+ new XFillBitmapItem(Graphic()),
new XFillTransparenceItem,
new XGradientStepCountItem,
new XFillBmpTileItem,