summaryrefslogtreecommitdiffstats
path: root/include/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-07 15:42:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-07 17:24:18 +0100
commit0e99a36c695d6349c8096654ddad70f962f312d0 (patch)
treee8a74e81bd5d0b42570846c83f7f21352c9a5156 /include/svx
parentcoverity#1399034 Unrecoverable parse warning (diff)
downloadcore-0e99a36c695d6349c8096654ddad70f962f312d0.tar.gz
core-0e99a36c695d6349c8096654ddad70f962f312d0.zip
split clear and set graphic
Change-Id: I3e98e872574e9edbe97099e93d787cbbcced60dd
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdoole2.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/svdoole2.hxx b/include/svx/svdoole2.hxx
index fc9af9e3651a..80fb05ed1b9a 100644
--- a/include/svx/svdoole2.hxx
+++ b/include/svx/svdoole2.hxx
@@ -55,7 +55,6 @@ private:
SVX_DLLPRIVATE void AddListeners_Impl();
SVX_DLLPRIVATE void RemoveListeners_Impl();
SVX_DLLPRIVATE void GetObjRef_Impl();
- SVX_DLLPRIVATE void SetGraphic_Impl(const Graphic* pGrf);
// #i118485# helper added
SVX_DLLPRIVATE SdrObject* createSdrGrafObjReplacement(bool bAddText) const;
@@ -81,7 +80,8 @@ public:
// An OLE graphic object can contain a StarView graphic,
// which will be displayed if the OLE object is empty.
- void SetGraphic(const Graphic* pGrf);
+ void SetGraphic(const Graphic& rGrf);
+ void ClearGraphic();
const Graphic* GetGraphic() const;
void GetNewReplacement();