summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/GraphicNativeMetadata.hxx2
-rw-r--r--include/vcl/bitmap.hxx2
-rw-r--r--include/vcl/dialog.hxx4
-rw-r--r--include/vcl/dockwin.hxx4
-rw-r--r--include/vcl/field.hxx2
-rw-r--r--include/vcl/gfxlink.hxx4
-rw-r--r--include/vcl/graphictools.hxx22
-rw-r--r--include/vcl/longcurr.hxx2
-rw-r--r--include/vcl/menu.hxx2
-rw-r--r--include/vcl/pdfextoutdevdata.hxx22
-rw-r--r--include/vcl/region.hxx2
-rw-r--r--include/vcl/texteng.hxx2
12 files changed, 35 insertions, 35 deletions
diff --git a/include/vcl/GraphicNativeMetadata.hxx b/include/vcl/GraphicNativeMetadata.hxx
index e6bf8b638d47..bc9f871cc06d 100644
--- a/include/vcl/GraphicNativeMetadata.hxx
+++ b/include/vcl/GraphicNativeMetadata.hxx
@@ -31,7 +31,7 @@ public:
virtual ~GraphicNativeMetadata();
bool read(Graphic& rGraphic);
- sal_uInt16 getRotation();
+ sal_uInt16 getRotation() { return mRotation;}
};
#endif // INCLUDED_VCL_GRAPHICNATIVEMETADATA_HXX
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index 222cffae31b0..8dd71252a9c8 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -323,7 +323,7 @@ public:
SAL_DLLPRIVATE void ImplReleaseRef();
SAL_DLLPRIVATE void ImplMakeUnique();
- ImpBitmap* ImplGetImpBitmap() const;
+ ImpBitmap* ImplGetImpBitmap() const { return mpImpBmp;}
SAL_DLLPRIVATE void ImplSetImpBitmap( ImpBitmap* pImpBmp );
SAL_DLLPRIVATE void ImplAssignWithSize( const Bitmap& rBitmap );
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index e98ec6dad008..8776ec0cc465 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -106,8 +106,8 @@ public:
bool isCalculatingInitialLayoutSize() const { return mbIsCalculatingInitialLayoutSize; }
virtual void queue_resize() SAL_OVERRIDE;
virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE;
- VclButtonBox* get_action_area();
- VclBox* get_content_area();
+ VclButtonBox* get_action_area() { return mpActionArea;}
+ VclBox* get_content_area() { return mpContentArea;}
virtual bool Close() SAL_OVERRIDE;
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index 1587be0b8061..fe4b7c6d0344 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -140,7 +140,7 @@ public:
void Lock();
void Unlock();
- bool IsLocked() const;
+ bool IsLocked() const { return mbLocked;}
void StartPopupMode( ToolBox* pParentToolBox, sal_uLong nPopupModeFlags );
bool IsInPopupMode() const;
@@ -170,7 +170,7 @@ public:
FloatingWindow* GetFloatingWindow() const { return mpFloatWin; }
void SetFloatStyle( WinBits nWinStyle );
- WinBits GetFloatStyle() const;
+ WinBits GetFloatStyle() const { return mnFloatBits;}
virtual void setPosSizePixel( long nX, long nY,
long nWidth, long nHeight,
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index f656c17384dd..a7a9d6f7176b 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -192,7 +192,7 @@ public:
sal_Int64 GetSpinSize() const { return mnSpinSize; }
void SetDecimalDigits( sal_uInt16 nDigits );
- sal_uInt16 GetDecimalDigits() const;
+ sal_uInt16 GetDecimalDigits() const { return mnDecimalDigits;}
void SetUseThousandSep( bool b );
bool IsUseThousandSep() const { return mbThousandSep; }
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx
index 55c1eae3c3f2..9eafde5e70b2 100644
--- a/include/vcl/gfxlink.hxx
+++ b/include/vcl/gfxlink.hxx
@@ -144,12 +144,12 @@ public:
GfxLink& operator=( const GfxLink& );
bool IsEqual( const GfxLink& ) const;
- GfxLinkType GetType() const;
+ GfxLinkType GetType() const { return meType;}
void SetUserId( sal_uInt32 nUserId ) { mnUserId = nUserId; }
sal_uInt32 GetUserId() const { return mnUserId; }
- sal_uInt32 GetDataSize() const;
+ sal_uInt32 GetDataSize() const { return mnBufSize;}
void SetData( sal_uInt8* pBuf, sal_uInt32 nSize, GfxLinkType nType, bool bOwns );
const sal_uInt8* GetData() const;
diff --git a/include/vcl/graphictools.hxx b/include/vcl/graphictools.hxx
index 0140b5df8384..b7ef7fbf4737 100644
--- a/include/vcl/graphictools.hxx
+++ b/include/vcl/graphictools.hxx
@@ -127,15 +127,15 @@ public:
@return the transparency, ranging from 0.0 (opaque) to 1.0 (fully translucent)
*/
- double getTransparency () const;
+ double getTransparency () const { return mfTransparency;}
/// Get width of the stroke
- double getStrokeWidth () const;
+ double getStrokeWidth () const { return mfStrokeWidth;}
/// Get the style in which open stroke ends are drawn
- CapType getCapType () const;
+ CapType getCapType () const { return maCapType;}
/// Get the style in which the stroke segments are joined
- JoinType getJoinType () const;
+ JoinType getJoinType () const { return maJoinType;}
/// Get the maximum length of mitered joins
- double getMiterLimit () const;
+ double getMiterLimit () const { return mfMiterLimit;}
/// Get an array of "on" and "off" lengths for stroke dashing
void getDashArray ( DashArray& ) const;
@@ -305,16 +305,16 @@ public:
@return the transparency, ranging from 0.0 (opaque) to 1.0 (fully translucent)
*/
- double getTransparency () const;
+ double getTransparency () const { return mfTransparency;}
/// Get fill rule used
- FillRule getFillRule () const;
+ FillRule getFillRule () const { return maFillRule;}
/** Get fill type used
Currently, only one of the fill types can be used
simultaneously. If you specify e.g. FillRule::fillGradient,
hatching, texture and solid fill color are ignored.
*/
- FillType getFillType () const;
+ FillType getFillType () const { return maFillType;}
/** Get transformation applied to hatch, gradient or texture during fill
A fill operation generally starts at the top left position of
@@ -328,14 +328,14 @@ public:
*/
void getTransform ( Transform& ) const;
/// deprecated
- bool IsTiling () const;
+ bool IsTiling () const { return mbTiling;}
/** Query state of texture tiling
@return true, if texture is tiled, false, if output only once.
*/
- bool isTiling () const;
+ bool isTiling () const { return mbTiling;}
/// Get type of gradient used
- GradientType getGradientType () const;
+ GradientType getGradientType () const { return maGradientType;}
/** Get the texture graphic used
diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx
index b6a61051f8f8..89b8364788c4 100644
--- a/include/vcl/longcurr.hxx
+++ b/include/vcl/longcurr.hxx
@@ -66,7 +66,7 @@ public:
BigInt GetMax() const { return mnMax; }
void SetDecimalDigits( sal_uInt16 nDigits );
- sal_uInt16 GetDecimalDigits() const;
+ sal_uInt16 GetDecimalDigits() const { return mnDecimalDigits;}
void SetValue( BigInt nNewValue );
void SetUserValue( BigInt nNewValue );
BigInt GetValue() const;
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index ac3c84ba0761..d7b3550cfe4d 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -234,7 +234,7 @@ public:
sal_uInt16 GetItemPos( sal_uInt16 nItemId ) const;
OString GetItemIdent(sal_uInt16 nItemId) const;
MenuItemType GetItemType( sal_uInt16 nPos ) const;
- sal_uInt16 GetCurItemId() const;
+ sal_uInt16 GetCurItemId() const { return nSelectedId;}
OString GetCurItemIdent() const;
void SetHighlightItem(sal_uInt16 nHighlightedItem);
diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx
index cee186cd11ea..2b603c1c67ea 100644
--- a/include/vcl/pdfextoutdevdata.hxx
+++ b/include/vcl/pdfextoutdevdata.hxx
@@ -107,40 +107,40 @@ public :
- bool GetIsExportNotes() const;
+ bool GetIsExportNotes() const { return mbExportNotes;}
void SetIsExportNotes( const bool bExportNotes );
- bool GetIsExportNotesPages() const;
+ bool GetIsExportNotesPages() const { return mbExportNotesPages;}
void SetIsExportNotesPages( const bool bExportNotesPages );
- bool GetIsExportTaggedPDF() const;
+ bool GetIsExportTaggedPDF() const { return mbTaggedPDF;}
void SetIsExportTaggedPDF( const bool bTaggedPDF );
- bool GetIsExportTransitionEffects() const;
+ bool GetIsExportTransitionEffects() const { return mbTransitionEffects;}
void SetIsExportTransitionEffects( const bool bTransitionalEffects );
- bool GetIsExportFormFields() const;
+ bool GetIsExportFormFields() const { return mbExportFormFields;}
void SetIsExportFormFields( const bool bExportFormFields );
void SetFormsFormat( const sal_Int32 nFormsFormat );
- bool GetIsExportBookmarks() const;
+ bool GetIsExportBookmarks() const { return mbExportBookmarks;}
void SetIsExportBookmarks( const bool bExportBookmarks );
- bool GetIsExportHiddenSlides() const;
+ bool GetIsExportHiddenSlides() const { return mbExportHiddenSlides;}
void SetIsExportHiddenSlides( const bool bExportHiddenSlides );
- bool GetIsExportNamedDestinations() const; //i56629
+ bool GetIsExportNamedDestinations() const { return mbExportNDests;} //i56629
void SetIsExportNamedDestinations( const bool bExportNDests ); //i56629
// PageNumber, Compression is being set by the PDFExport
- sal_Int32 GetCurrentPageNumber() const;
+ sal_Int32 GetCurrentPageNumber() const { return mnPage;}
void SetCurrentPageNumber( const sal_Int32 nPage );
- bool GetIsLosslessCompression() const;
+ bool GetIsLosslessCompression() const { return mbUseLosslessCompression;}
void SetIsLosslessCompression( const bool bLosslessCompression );
- bool GetIsReduceImageResolution() const;
+ bool GetIsReduceImageResolution() const { return mbReduceImageResolution;}
void SetIsReduceImageResolution( const bool bReduceImageResolution );
const com::sun::star::lang::Locale& GetDocumentLocale() const;
diff --git a/include/vcl/region.hxx b/include/vcl/region.hxx
index af4941df5470..7211885e03c1 100644
--- a/include/vcl/region.hxx
+++ b/include/vcl/region.hxx
@@ -92,7 +92,7 @@ public:
bool XOr( const Region& rRegion );
bool IsEmpty() const;
- bool IsNull() const;
+ bool IsNull() const { return mbIsNull;}
void SetEmpty();
void SetNull();
diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx
index 52714062fbaa..fafc2e8c4873 100644
--- a/include/vcl/texteng.hxx
+++ b/include/vcl/texteng.hxx
@@ -248,7 +248,7 @@ public:
TextView* GetView( sal_uInt16 nView ) const;
void InsertView( TextView* pTextView );
void RemoveView( TextView* pTextView );
- TextView* GetActiveView() const;
+ TextView* GetActiveView() const { return mpActiveView;}
void SetActiveView( TextView* pView );
void SetMaxTextLen( sal_uLong nLen );