summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/FilterConfigItem.hxx2
-rw-r--r--include/vcl/button.hxx2
-rw-r--r--include/vcl/dockwin.hxx2
-rw-r--r--include/vcl/event.hxx6
-rw-r--r--include/vcl/field.hxx2
-rw-r--r--include/vcl/fixed.hxx2
-rw-r--r--include/vcl/fixedhyper.hxx2
-rw-r--r--include/vcl/gfxlink.hxx8
-rw-r--r--include/vcl/graphicfilter.hxx2
-rw-r--r--include/vcl/graphictools.hxx2
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx2
-rw-r--r--include/vcl/outdev.hxx2
-rw-r--r--include/vcl/pdfextoutdevdata.hxx4
-rw-r--r--include/vcl/vclevent.hxx2
14 files changed, 20 insertions, 20 deletions
diff --git a/include/vcl/FilterConfigItem.hxx b/include/vcl/FilterConfigItem.hxx
index 13d2beff9cb9..adb08cb50801 100644
--- a/include/vcl/FilterConfigItem.hxx
+++ b/include/vcl/FilterConfigItem.hxx
@@ -76,7 +76,7 @@ public :
void WriteBool( const OUString& rKey, bool bValue );
void WriteInt32( const OUString& rKey, sal_Int32 nValue );
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > GetFilterData() const;
+ ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > GetFilterData() const { return aFilterData;}
// GetStatusIndicator is returning the "StatusIndicator" property of the FilterData sequence
::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > GetStatusIndicator() const;
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 1c283aff5f47..1146c73dc3a3 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -369,7 +369,7 @@ public:
bool IsRadioCheckEnabled() const { return mbRadioCheck; }
bool SetModeRadioImage( const Image& rImage );
- const Image& GetModeRadioImage( ) const;
+ const Image& GetModeRadioImage( ) const { return maImage;}
void SetState( bool bCheck );
void Check( bool bCheck = true );
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index fe4b7c6d0344..f60e895f03d8 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -136,7 +136,7 @@ public:
void ToggleFloatingMode();
void SetDragArea( const Rectangle& rRect );
- Rectangle GetDragArea() const;
+ Rectangle GetDragArea() const { return maDragArea;}
void Lock();
void Unlock();
diff --git a/include/vcl/event.hxx b/include/vcl/event.hxx
index dbd6d131803f..e43c1b1aa138 100644
--- a/include/vcl/event.hxx
+++ b/include/vcl/event.hxx
@@ -250,7 +250,7 @@ class VCL_DLLPUBLIC HelpEvent
{
private:
Point maPos;
- sal_uInt16 mnMode;
+ sal_uInt16 mnMode;
bool mbKeyboardActivated;
public:
@@ -258,8 +258,8 @@ public:
explicit HelpEvent( sal_uInt16 nHelpMode );
explicit HelpEvent( const Point& rMousePos, sal_uInt16 nHelpMode );
- const Point& GetMousePosPixel() const;
- sal_uInt16 GetMode() const { return mnMode; }
+ const Point& GetMousePosPixel() const { return maPos; }
+ sal_uInt16 GetMode() const { return mnMode; }
bool KeyboardActivated() const { return mbKeyboardActivated; }
void SetKeyboardActivated( bool bKeyboard ) { mbKeyboardActivated = bKeyboard; }
};
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index 8a7f844fa4d2..ad3e31044e18 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -442,7 +442,7 @@ public:
const Time& GetMax() const { return maMax; }
void SetTimeFormat( TimeFormat eNewFormat );
- TimeFormat GetTimeFormat() const;
+ TimeFormat GetTimeFormat() const { return (TimeFormat)mnTimeFormat;}
void SetFormat( TimeFieldFormat eNewFormat );
TimeFieldFormat GetFormat() const { return meFormat; }
diff --git a/include/vcl/fixed.hxx b/include/vcl/fixed.hxx
index 9d182ad54f1d..c6e2c45f55a5 100644
--- a/include/vcl/fixed.hxx
+++ b/include/vcl/fixed.hxx
@@ -199,7 +199,7 @@ public:
const Image& GetImage() const { return maImage; }
bool SetModeImage( const Image& rImage );
- const Image& GetModeImage( ) const;
+ const Image& GetModeImage( ) const { return maImage;}
virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE;
static Image loadThemeImage(const OString &rFileName);
diff --git a/include/vcl/fixedhyper.hxx b/include/vcl/fixedhyper.hxx
index 37e4465d4f53..9ad244c473d7 100644
--- a/include/vcl/fixedhyper.hxx
+++ b/include/vcl/fixedhyper.hxx
@@ -116,7 +116,7 @@ class VCL_DLLPUBLIC FixedHyperlink : public FixedText
@return
m_sURL
*/
- OUString GetURL() const;
+ const OUString& GetURL() const { return m_sURL;}
/** sets new text and recalculates the text length. */
virtual void SetText(const OUString& rNewDescription) SAL_OVERRIDE;
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx
index 9eafde5e70b2..c092f0bbf7ec 100644
--- a/include/vcl/gfxlink.hxx
+++ b/include/vcl/gfxlink.hxx
@@ -153,13 +153,13 @@ public:
void SetData( sal_uInt8* pBuf, sal_uInt32 nSize, GfxLinkType nType, bool bOwns );
const sal_uInt8* GetData() const;
- const Size& GetPrefSize() const;
+ const Size& GetPrefSize() const { return mpImpData->maPrefSize;}
void SetPrefSize( const Size& rPrefSize );
- bool IsPrefSizeValid();
+ bool IsPrefSizeValid() { return mpImpData->mbPrefSizeValid;}
- const MapMode& GetPrefMapMode() const;
+ const MapMode& GetPrefMapMode() const { return mpImpData->maPrefMapMode;}
void SetPrefMapMode( const MapMode& rPrefMapMode );
- bool IsPrefMapModeValid();
+ bool IsPrefMapModeValid() { return mpImpData->mbPrefMapModeValid;}
bool IsNative() const;
bool IsUser() const { return( GFX_LINK_TYPE_USER == meType ); }
diff --git a/include/vcl/graphicfilter.hxx b/include/vcl/graphicfilter.hxx
index a27fcbe98c2e..1579845a4cac 100644
--- a/include/vcl/graphicfilter.hxx
+++ b/include/vcl/graphicfilter.hxx
@@ -311,7 +311,7 @@ public:
void Abort() { bAbort = true; }
- const FilterErrorEx& GetLastError() const;
+ const FilterErrorEx& GetLastError() const { return *pErrorEx;}
void ResetLastError();
const Link GetFilterCallback() const;
diff --git a/include/vcl/graphictools.hxx b/include/vcl/graphictools.hxx
index b7ef7fbf4737..a96ac40d2427 100644
--- a/include/vcl/graphictools.hxx
+++ b/include/vcl/graphictools.hxx
@@ -300,7 +300,7 @@ public:
/// Query path to fill
void getPath ( PolyPolygon& ) const;
/// Get color used for solid fills
- Color getFillColor () const;
+ const Color& getFillColor () const { return maFillColor;}
/** Get stroke transparency
@return the transparency, ranging from 0.0 (opaque) to 1.0 (fully translucent)
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 608c9cb2ef19..1e6f13ed3bae 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -157,7 +157,7 @@ public:
void setWinPosAndSize(const Point &rPos, const Size& rSize);
void setWinSize(const Size& rSize);
- GLWindow& getOpenGLWindow();
+ GLWindow& getOpenGLWindow() { return m_aGLWin;}
void renderToFile();
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 1a8c67623282..cefffe2815c5 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1603,7 +1603,7 @@ public:
@return the current offset in pixel
*/
- Size GetPixelOffset() const;
+ Size GetPixelOffset() const { return Size(mnOutOffOrigX, mnOutOffOrigY);}
Point LogicToPixel( const Point& rLogicPt ) const;
Size LogicToPixel( const Size& rLogicSize ) const;
diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx
index 2b603c1c67ea..85541fe1817b 100644
--- a/include/vcl/pdfextoutdevdata.hxx
+++ b/include/vcl/pdfextoutdevdata.hxx
@@ -143,10 +143,10 @@ public :
bool GetIsReduceImageResolution() const { return mbReduceImageResolution;}
void SetIsReduceImageResolution( const bool bReduceImageResolution );
- const com::sun::star::lang::Locale& GetDocumentLocale() const;
+ const com::sun::star::lang::Locale& GetDocumentLocale() const { return maDocLocale;}
void SetDocumentLocale( const com::sun::star::lang::Locale& rLoc );
- std::vector< PDFExtOutDevBookmarkEntry >& GetBookmarks();
+ std::vector< PDFExtOutDevBookmarkEntry >& GetBookmarks() { return maBookmarks;}
/** Start a new group of render output
diff --git a/include/vcl/vclevent.hxx b/include/vcl/vclevent.hxx
index 473b8e4f4f71..25bc14709115 100644
--- a/include/vcl/vclevent.hxx
+++ b/include/vcl/vclevent.hxx
@@ -249,7 +249,7 @@ class VCL_DLLPUBLIC VclAccessibleEvent: public VclSimpleEvent
public:
VclAccessibleEvent( sal_uLong n, const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& rxAccessible );
virtual ~VclAccessibleEvent();
- ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > GetAccessible() const;
+ ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > GetAccessible() const { return mxAccessible;}
private:
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > mxAccessible;