summaryrefslogtreecommitdiff
path: root/svx/source/dialog/svxgrahicitem.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-08 14:20:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-09 06:43:43 +0000
commit8bfcb53c3d1389632fc7f1eca53d73187a489dfa (patch)
treeefb8d68fc4600ea7585290757f78866c061234bf /svx/source/dialog/svxgrahicitem.cxx
parent976a4803e4cca4c5104c0ed60544a91a50ada012 (diff)
loplugin:constantparam in svx
Change-Id: Id08850b90a0e286ff837dd6b0c1691fa7dc793fa Reviewed-on: https://gerrit.libreoffice.org/28746 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/dialog/svxgrahicitem.cxx')
-rw-r--r--svx/source/dialog/svxgrahicitem.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svx/source/dialog/svxgrahicitem.cxx b/svx/source/dialog/svxgrahicitem.cxx
index 331b835a1d38..d7bbd8a328f4 100644
--- a/svx/source/dialog/svxgrahicitem.cxx
+++ b/svx/source/dialog/svxgrahicitem.cxx
@@ -18,8 +18,10 @@
*/
#include "svx/svxgrahicitem.hxx"
-SvxGraphicItem::SvxGraphicItem( sal_uInt16 _nWhich, const Graphic& rGraphic )
- : SfxPoolItem( _nWhich ), aGraphic( rGraphic )
+#include "svx/svxids.hrc"
+
+SvxGraphicItem::SvxGraphicItem( const Graphic& rGraphic )
+ : SfxPoolItem( SID_GRAPHIC ), aGraphic( rGraphic )
{
}