summaryrefslogtreecommitdiff
path: root/sw/inc/ndgrf.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-26 13:48:25 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 13:52:28 +0200
commit93157d284ea37cca200759804268c0a872852549 (patch)
tree7116d9eb94ecfc115db83f2155ba686037f618d8 /sw/inc/ndgrf.hxx
parentcadac8400a018c8c566379f7767ea5edff78523d (diff)
convert Link to Typed
and make it statically allocated, no point in dynamically allocating such a small object Change-Id: If476bf5dc1e0d535383d16bc49c8d567776f16cd
Diffstat (limited to 'sw/inc/ndgrf.hxx')
-rw-r--r--sw/inc/ndgrf.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx
index 59bd4457f1e3..65da31e73a87 100644
--- a/sw/inc/ndgrf.hxx
+++ b/sw/inc/ndgrf.hxx
@@ -72,7 +72,7 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTextNode
void InsertLink( const OUString& rGrfName, const OUString& rFltName );
bool ImportGraphic( SvStream& rStrm );
- DECL_LINK( SwapGraphic, GraphicObject* );
+ DECL_LINK_TYPED( SwapGraphic, const GraphicObject*, SvStream* );
/** helper method to determine stream for the embedded graphic.