summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/drawdoc.hxx2
-rw-r--r--sd/inc/pglink.hxx2
-rw-r--r--sd/inc/shapelist.hxx5
3 files changed, 4 insertions, 5 deletions
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index e2ff20cd2b55..9208e6c6a54f 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -262,7 +262,7 @@ public:
SdDrawDocument* OpenBookmarkDoc(const OUString& rBookmarkFile);
SAL_DLLPRIVATE SdDrawDocument* OpenBookmarkDoc(SfxMedium& rMedium);
- SAL_DLLPRIVATE bool InsertBookmark(const std::vector<OUString> &rBookmarkList,
+ SAL_DLLPRIVATE void InsertBookmark(const std::vector<OUString> &rBookmarkList,
std::vector<OUString> &rExchangeList, bool bLink,
bool bReplace, sal_uInt16 nPgPos, bool bNoDialogs,
::sd::DrawDocShell* pBookmarkDocSh, bool bCopy,
diff --git a/sd/inc/pglink.hxx b/sd/inc/pglink.hxx
index 968799bdcbbd..222a1f6168b4 100644
--- a/sd/inc/pglink.hxx
+++ b/sd/inc/pglink.hxx
@@ -35,7 +35,7 @@ public:
virtual void Closed() override;
virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(
const OUString& rMimeType, const css::uno::Any & rValue ) override;
- bool Connect() { return nullptr != SvBaseLink::GetRealObject(); }
+ void Connect() { SvBaseLink::GetRealObject(); }
};
#endif // INCLUDED_SD_INC_PGLINK_HXX
diff --git a/sd/inc/shapelist.hxx b/sd/inc/shapelist.hxx
index bbb0cbc80409..0b100845025b 100644
--- a/sd/inc/shapelist.hxx
+++ b/sd/inc/shapelist.hxx
@@ -35,9 +35,8 @@ namespace sd
/** adds the given shape to this list */
void addShape( SdrObject& rObject );
- /** removes the shape from this list and returns
- a pointer to the next shape in list or 0*/
- SdrObject* removeShape( SdrObject& rObject );
+ /** removes the shape from this list*/
+ void removeShape( SdrObject& rObject );
/** removes all shapes from this list */
void clear();