summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/drawdoc.hxx2
-rw-r--r--sd/source/core/drawdoc3.cxx3
-rw-r--r--sd/source/ui/view/sdview2.cxx2
3 files changed, 3 insertions, 4 deletions
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index e0836dcdee7b..fc04e2ce2b30 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -256,7 +256,7 @@ public:
SAL_DLLPRIVATE void InsertBookmark(const std::vector<OUString> &rBookmarkList,
std::vector<OUString> &rExchangeList, bool bLink,
- bool bReplace, sal_uInt16 nPgPos,
+ sal_uInt16 nPgPos,
::sd::DrawDocShell* pBookmarkDocSh,
Point const * pObjPos);
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index a567d700c099..23c687e6dc1e 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -281,7 +281,6 @@ void SdDrawDocument::InsertBookmark(
const std::vector<OUString> &rBookmarkList, // List of names of the bookmarks to be inserted
std::vector<OUString> &rExchangeList, // List of the names to be used
bool bLink, // Insert bookmarks as links?
- bool bReplace, // Replace current default and notes pages?
sal_uInt16 nInsertPos, // Insertion position of pages
::sd::DrawDocShell* pBookmarkDocSh, // If set, this is the source document
Point const * pObjPos) // Insertion position of objects
@@ -327,7 +326,7 @@ void SdDrawDocument::InsertBookmark(
if ( bOK && bInsertPages )
{
// Insert all page bookmarks
- bOK = InsertBookmarkAsPage(rBookmarkList, &rExchangeList, bLink, bReplace,
+ bOK = InsertBookmarkAsPage(rBookmarkList, &rExchangeList, bLink, false/*bReplace*/,
nInsertPos, false/*bNoDialogs*/, pBookmarkDocSh, true/*bCopy*/, true, false);
}
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx
index 22f248c3cef6..2e1d0ed38b2e 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -840,7 +840,7 @@ IMPL_LINK( View, ExecuteNavigatorDrop, void*, p, void )
if( bNameOK )
{
mrDoc.InsertBookmark( aBookmarkList, aExchangeList,
- bLink, false/*bReplace*/, nPgPos,
+ bLink, nPgPos,
&pPageObjsTransferable->GetDocShell(),
&aPos );
}