diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/basegfx/polygon/b2dpolygon.hxx | 6 | ||||
-rw-r--r-- | include/basegfx/polygon/b2dpolypolygon.hxx | 2 | ||||
-rw-r--r-- | include/basegfx/utils/b2dclipstate.hxx | 2 | ||||
-rw-r--r-- | include/svl/itemprop.hxx | 2 | ||||
-rw-r--r-- | include/ucbhelper/simplenameclashresolverequest.hxx | 2 | ||||
-rw-r--r-- | include/unotools/localedatawrapper.hxx | 4 | ||||
-rw-r--r-- | include/vcl/ImageTree.hxx | 2 | ||||
-rw-r--r-- | include/vcl/button.hxx | 2 | ||||
-rw-r--r-- | include/vcl/jobset.hxx | 2 | ||||
-rw-r--r-- | include/vcl/msgbox.hxx | 6 | ||||
-rw-r--r-- | include/vcl/pdfwriter.hxx | 2 | ||||
-rw-r--r-- | include/vcl/settings.hxx | 6 | ||||
-rw-r--r-- | include/vcl/syswin.hxx | 2 | ||||
-rw-r--r-- | include/vcl/textview.hxx | 2 |
14 files changed, 21 insertions, 21 deletions
diff --git a/include/basegfx/polygon/b2dpolygon.hxx b/include/basegfx/polygon/b2dpolygon.hxx index 703f24548975..714d2a1fd10d 100644 --- a/include/basegfx/polygon/b2dpolygon.hxx +++ b/include/basegfx/polygon/b2dpolygon.hxx @@ -75,7 +75,7 @@ namespace basegfx sal_uInt32 count() const; /// Coordinate interface - basegfx::B2DPoint getB2DPoint(sal_uInt32 nIndex) const; + basegfx::B2DPoint const & getB2DPoint(sal_uInt32 nIndex) const; void setB2DPoint(sal_uInt32 nIndex, const basegfx::B2DPoint& rValue); /// Coordinate insert/append @@ -149,7 +149,7 @@ namespace basegfx be this polygon itself when it has no bezier segments. It is guaranteed to have no more bezier segments */ - B2DPolygon getDefaultAdaptiveSubdivision() const; + B2DPolygon const & getDefaultAdaptiveSubdivision() const; /** Get the B2DRange (Rectangle dimensions) of this B2DPolygon @@ -178,7 +178,7 @@ namespace basegfx @return The outer range of the bezier curve/polygon */ - B2DRange getB2DRange() const; + B2DRange const & getB2DRange() const; /** append other 2D polygons diff --git a/include/basegfx/polygon/b2dpolypolygon.hxx b/include/basegfx/polygon/b2dpolypolygon.hxx index ddc05a669ceb..fff49fb86c45 100644 --- a/include/basegfx/polygon/b2dpolypolygon.hxx +++ b/include/basegfx/polygon/b2dpolypolygon.hxx @@ -67,7 +67,7 @@ namespace basegfx // polygon interface sal_uInt32 count() const; - B2DPolygon getB2DPolygon(sal_uInt32 nIndex) const; + B2DPolygon const & getB2DPolygon(sal_uInt32 nIndex) const; void setB2DPolygon(sal_uInt32 nIndex, const B2DPolygon& rPolygon); // test for curve diff --git a/include/basegfx/utils/b2dclipstate.hxx b/include/basegfx/utils/b2dclipstate.hxx index 5c3f615284ca..a6d12ba41d7b 100644 --- a/include/basegfx/utils/b2dclipstate.hxx +++ b/include/basegfx/utils/b2dclipstate.hxx @@ -88,7 +88,7 @@ namespace basegfx void transform(const B2DHomMatrix& ); - B2DPolyPolygon getClipPoly() const; + B2DPolyPolygon const & getClipPoly() const; }; } } diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx index 8e1c44afa456..f674d70b6e6e 100644 --- a/include/svl/itemprop.hxx +++ b/include/svl/itemprop.hxx @@ -95,7 +95,7 @@ public: ~SfxItemPropertyMap(); const SfxItemPropertySimpleEntry* getByName( const OUString &rName ) const; - css::uno::Sequence< css::beans::Property > getProperties() const; + css::uno::Sequence< css::beans::Property > const & getProperties() const; /// @throws css::beans::UnknownPropertyException css::beans::Property getPropertyByName( const OUString & rName ) const; bool hasPropertyByName( const OUString& rName ) const; diff --git a/include/ucbhelper/simplenameclashresolverequest.hxx b/include/ucbhelper/simplenameclashresolverequest.hxx index 3e7b1fef884f..0453cd721be6 100644 --- a/include/ucbhelper/simplenameclashresolverequest.hxx +++ b/include/ucbhelper/simplenameclashresolverequest.hxx @@ -61,7 +61,7 @@ public: * * @return the new name, if supplied. */ - const OUString getNewName() const; + OUString const & getNewName() const; }; } // namespace ucbhelper diff --git a/include/unotools/localedatawrapper.hxx b/include/unotools/localedatawrapper.hxx index 02b416250adc..56ee9d88e0a4 100644 --- a/include/unotools/localedatawrapper.hxx +++ b/include/unotools/localedatawrapper.hxx @@ -181,10 +181,10 @@ public: const std::shared_ptr< css::i18n::Calendar2 >& getDefaultCalendar() const; /// Convenience method to obtain the day names of the default calendar. - const css::uno::Sequence< css::i18n::CalendarItem2 > getDefaultCalendarDays() const; + css::uno::Sequence< css::i18n::CalendarItem2 > const & getDefaultCalendarDays() const; /// Convenience method to obtain the month names of the default calendar. - const css::uno::Sequence< css::i18n::CalendarItem2 > getDefaultCalendarMonths() const; + css::uno::Sequence< css::i18n::CalendarItem2 > const & getDefaultCalendarMonths() const; /** If the secondary calendar, if any, is of the name passed AND number formats using it usually use the E or EE keyword (EC|EEC). */ 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 ); |