diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-04-14 23:03:08 -0430 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-16 18:44:00 +0200 |
commit | a5b909ac6d6dd41559eba271d27140ebc21c72fc (patch) | |
tree | b08b7d7c11ffc7020eac410a1837a4b43b46290e /sd/inc | |
parent | 05524106d17ec7396aa1133fbe8ba9996c27f139 (diff) |
Return by value instead of passing by reference to get data.
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/sdabstdlg.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/inc/sdabstdlg.hxx b/sd/inc/sdabstdlg.hxx index 8e01fbc58cde..95ae85d799e3 100644 --- a/sd/inc/sdabstdlg.hxx +++ b/sd/inc/sdabstdlg.hxx @@ -139,7 +139,7 @@ class AbstractSdInsertPagesObjsDlg : public VclAbstractDialog //add for SdInser { public: virtual ::Window* GetWindow() = 0; //this method is added for return a ::Window type pointer - virtual void GetList ( const sal_uInt16 nType, std::vector<rtl::OUString> &rEntries ) = 0; + virtual std::vector<rtl::OUString> GetList ( const sal_uInt16 nType ) = 0; virtual sal_Bool IsLink() = 0; virtual sal_Bool IsRemoveUnnessesaryMasterPages() const = 0; }; |