diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-03-27 20:32:02 -0430 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-13 18:42:08 +0200 |
commit | de47936fb8af9ad052687ac68d56a20820a96fdf (patch) | |
tree | d50916d3f0c10393cfe7cf00f5eb804232858866 /sd | |
parent | 5d8ce0db822414df88530e58560eee0a46485737 (diff) |
Make some inmutable parameters constant.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/drawdoc.hxx | 2 | ||||
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index 35816d0e55c9..b1a3e6ab752a 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -373,7 +373,7 @@ public: page, or preserve the old name */ - sal_Bool InsertBookmarkAsPage(std::vector<rtl::OUString> &rBookmarkList, std::vector<rtl::OUString> &rExchangeList, + sal_Bool InsertBookmarkAsPage(const std::vector<rtl::OUString> &rBookmarkList, std::vector<rtl::OUString> &rExchangeList, sal_Bool bLink, sal_Bool bReplace, sal_uInt16 nPgPos, sal_Bool bNoDialogs, ::sd::DrawDocShell* pBookmarkDocSh, sal_Bool bCopy, sal_Bool bMergeMasterPages, diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 595561b99de0..9db7af094b4a 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -202,7 +202,7 @@ void lcl_IterateBookmarkPages( SdDrawDocument &rDoc, SdDrawDocument* pBookmarkDo \************************************************************************/ void lcl_IterateBookmarkPages( SdDrawDocument &rDoc, SdDrawDocument* pBookmarkDoc, - std::vector<rtl::OUString> &rBookmarkList, sal_uInt16 nBMSdPageCount, + const std::vector<rtl::OUString> &rBookmarkList, sal_uInt16 nBMSdPageCount, InsertBookmarkAsPage_FindDuplicateLayouts& rPageIterator ) { // @@ -992,7 +992,7 @@ sal_Bool SdDrawDocument::InsertBookmarkAsPage( } sal_Bool SdDrawDocument::InsertBookmarkAsPage( - std::vector<rtl::OUString> &rBookmarkList, + const std::vector<rtl::OUString> &rBookmarkList, std::vector<rtl::OUString> &rExchangeList, // Liste der zu verwendenen Namen sal_Bool bLink, sal_Bool bReplace, |