summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/ImageTree.hxx2
-rw-r--r--include/vcl/button.hxx2
-rw-r--r--include/vcl/jobset.hxx2
-rw-r--r--include/vcl/msgbox.hxx6
-rw-r--r--include/vcl/pdfwriter.hxx2
-rw-r--r--include/vcl/settings.hxx6
-rw-r--r--include/vcl/syswin.hxx2
-rw-r--r--include/vcl/textview.hxx2
8 files changed, 12 insertions, 12 deletions
diff --git a/include/vcl/ImageTree.hxx b/include/vcl/ImageTree.hxx
index 5de137128d58..a40905d863ef 100644
--- a/include/vcl/ImageTree.hxx
+++ b/include/vcl/ImageTree.hxx
@@ -60,7 +60,7 @@ public:
BitmapEx & bitmap, bool localized,
const ImageLoadFlags eFlags = ImageLoadFlags::NONE);
- VCL_DLLPUBLIC css::uno::Reference<css::container::XNameAccess> getNameAccess();
+ VCL_DLLPUBLIC css::uno::Reference<css::container::XNameAccess> const & getNameAccess();
/** a crude form of life cycle control (called from DeInitVCL; otherwise,
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 29bcfdc10b65..dbc80437bcee 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -82,7 +82,7 @@ public:
static OUString GetStandardText( StandardButtonType eButton );
bool SetModeImage( const Image& rImage );
- const Image GetModeImage( ) const;
+ Image const & GetModeImage( ) const;
bool HasImage() const;
void SetImageAlign( ImageAlign eAlign );
ImageAlign GetImageAlign() const;
diff --git a/include/vcl/jobset.hxx b/include/vcl/jobset.hxx
index a3aa1196f83b..a641ea018797 100644
--- a/include/vcl/jobset.hxx
+++ b/include/vcl/jobset.hxx
@@ -46,7 +46,7 @@ public:
SAL_DLLPRIVATE ImplJobSetup& ImplGetData();
SAL_DLLPRIVATE const ImplJobSetup& ImplGetConstData() const;
- OUString GetPrinterName() const;
+ OUString const & GetPrinterName() const;
bool IsDefault() const;
friend VCL_DLLPUBLIC SvStream& ReadJobSetup( SvStream& rIStream, JobSetup& rJobSetup );
diff --git a/include/vcl/msgbox.hxx b/include/vcl/msgbox.hxx
index 18b869318b90..7c982cc5a996 100644
--- a/include/vcl/msgbox.hxx
+++ b/include/vcl/msgbox.hxx
@@ -95,7 +95,7 @@ public:
InfoBox( vcl::Window* pParent, MessBoxStyle nStyle,
const OUString& rMessage );
- static Image GetStandardImage();
+ static Image const & GetStandardImage();
static OUString GetStandardText();
};
@@ -109,7 +109,7 @@ public:
void SetDefaultCheckBoxText();
- static Image GetStandardImage();
+ static Image const & GetStandardImage();
static OUString GetStandardText();
};
@@ -136,7 +136,7 @@ public:
void SetDefaultCheckBoxText();
- static Image GetStandardImage();
+ static Image const & GetStandardImage();
static OUString GetStandardText();
};
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx
index f06c21d81c44..29e14fb0ff20 100644
--- a/include/vcl/pdfwriter.hxx
+++ b/include/vcl/pdfwriter.hxx
@@ -721,7 +721,7 @@ The following structure describes the permissions used in PDF security
* this should enable the producer to give feedback about
* any anomalies that might have occurred
*/
- std::set< ErrorCode > GetErrors();
+ std::set< ErrorCode > const & GetErrors();
static css::uno::Reference< css::beans::XMaterialHolder >
InitEncryption( const OUString& i_rOwnerPassword,
diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx
index 494e2bb8f24f..9b6ab00f2029 100644
--- a/include/vcl/settings.hxx
+++ b/include/vcl/settings.hxx
@@ -543,7 +543,7 @@ public:
/** Obtain the list of icon themes which were found in the config folder
* @see vcl::IconThemeScanner for more details.
*/
- std::vector<vcl::IconThemeInfo> GetInstalledIconThemes() const;
+ std::vector<vcl::IconThemeInfo> const & GetInstalledIconThemes() const;
/** Obtain the name of the icon theme which will be chosen automatically for the desktop environment.
* This method will only return icon themes which were actually found on the system.
@@ -561,9 +561,9 @@ public:
const FrameStyle& GetFrameStyle() const;
void SetFrameStyle( const FrameStyle& rStyle );
- const BitmapEx GetPersonaHeader() const;
+ BitmapEx const & GetPersonaHeader() const;
- const BitmapEx GetPersonaFooter() const;
+ BitmapEx const & GetPersonaFooter() const;
const boost::optional<Color>& GetPersonaMenuBarTextColor() const;
diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx
index 0153c876730c..8dc9bfee1e68 100644
--- a/include/vcl/syswin.hxx
+++ b/include/vcl/syswin.hxx
@@ -238,7 +238,7 @@ public:
void SetNotebookBar(const OUString& rUIXMLDescription, const css::uno::Reference<css::frame::XFrame>& rFrame);
void CloseNotebookBar();
- VclPtr<NotebookBar> GetNotebookBar() const;
+ VclPtr<NotebookBar> const & GetNotebookBar() const;
TaskPaneList* GetTaskPaneList();
void GetWindowStateData( WindowStateData& rData ) const;
diff --git a/include/vcl/textview.hxx b/include/vcl/textview.hxx
index ad16d8486913..545b1ba9030f 100644
--- a/include/vcl/textview.hxx
+++ b/include/vcl/textview.hxx
@@ -96,7 +96,7 @@ class VCL_DLLPUBLIC TextView : public vcl::unohelper::DragAndDropClient
void ShowSelection( const TextSelection& rSel );
void ImpShowHideSelection( const TextSelection* pRange = nullptr );
- TextSelection ImpMoveCursor( const KeyEvent& rKeyEvent );
+ TextSelection const & ImpMoveCursor( const KeyEvent& rKeyEvent );
TextPaM ImpDelete( sal_uInt8 nMode, sal_uInt8 nDelMode );
bool IsInSelection( const TextPaM& rPaM );