diff options
Diffstat (limited to 'include')
65 files changed, 148 insertions, 148 deletions
diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx index c65f05588ba7..e245840f193a 100644 --- a/include/basic/sbmod.hxx +++ b/include/basic/sbmod.hxx @@ -125,7 +125,7 @@ public: bool ExceedsLegacyModuleSize(); void fixUpMethodStart( bool bCvtToLegacy, SbiImage* pImg = NULL ) const; bool HasExeCode(); - bool IsVBACompat() const; + bool IsVBACompat() const { return mbVBACompat;} void SetVBACompat( bool bCompat ); sal_Int32 GetModuleType() { return mnType; } void SetModuleType( sal_Int32 nType ) { mnType = nType; } diff --git a/include/basic/sbx.hxx b/include/basic/sbx.hxx index 1ab7ed3deabc..c642e121e22a 100644 --- a/include/basic/sbx.hxx +++ b/include/basic/sbx.hxx @@ -194,7 +194,7 @@ public: void Put( SbxVariable*, const short* ); SbxVariable* Get( SbxArray* ); - short GetDims() const; + short GetDims() const { return nDim;} void AddDim( short, short ); void unoAddDim( short, short ); bool GetDim( short, short&, short& ) const; diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx index 46726e5968ab..ec133d8bbd06 100644 --- a/include/basic/sbxvar.hxx +++ b/include/basic/sbxvar.hxx @@ -337,7 +337,7 @@ public: virtual void Broadcast( sal_uIntPtr nHintId ) SAL_OVERRIDE; inline const SbxObject* GetParent() const { return pParent; } - SbxObject* GetParent(); + SbxObject* GetParent() { return pParent;} virtual void SetParent( SbxObject* ); const OUString& GetDeclareClassName( void ); diff --git a/include/canvas/base/canvascustomspritehelper.hxx b/include/canvas/base/canvascustomspritehelper.hxx index 03cbdc8e2bae..04c215295c09 100644 --- a/include/canvas/base/canvascustomspritehelper.hxx +++ b/include/canvas/base/canvascustomspritehelper.hxx @@ -92,7 +92,7 @@ namespace canvas ::basegfx::B2DPoint getPosPixel() const; ::basegfx::B2DVector getSizePixel() const; ::basegfx::B2DRange getUpdateArea() const; - double getPriority() const; + double getPriority() const { return mfPriority; } // redraw must be implemented by derived - non sensible default implementation // void redraw( const Sprite::Reference& rSprite, diff --git a/include/codemaker/options.hxx b/include/codemaker/options.hxx index c158eaeba628..369f8818e77b 100644 --- a/include/codemaker/options.hxx +++ b/include/codemaker/options.hxx @@ -57,7 +57,7 @@ public: const ::rtl::OString getOption(const ::rtl::OString& option) const throw( IllegalArgument ); - const StringVector& getInputFiles(); + const StringVector& getInputFiles() { return m_inputFiles;} inline const StringVector& getExtraInputFiles() const { return m_extra_input_files; } diff --git a/include/editeng/AccessibleEditableTextPara.hxx b/include/editeng/AccessibleEditableTextPara.hxx index d7621d36fea3..e2fb5c1d0c0e 100644 --- a/include/editeng/AccessibleEditableTextPara.hxx +++ b/include/editeng/AccessibleEditableTextPara.hxx @@ -185,7 +185,7 @@ namespace accessibility there potential deadlock situations can be resolved. Thus, make sure SolarMutex is locked when calling this. */ - sal_Int32 GetIndexInParent() const; + sal_Int32 GetIndexInParent() const { return mnIndexInParent; } /** Set the current paragraph number @@ -203,7 +203,7 @@ namespace accessibility there potential deadlock situations can be resolved. Thus, make sure SolarMutex is locked when calling this. */ - sal_Int32 GetParagraphIndex() const; + sal_Int32 GetParagraphIndex() const { return mnParagraphIndex; } /** Set the edit engine offset @@ -310,7 +310,7 @@ namespace accessibility void GotPropertyEvent( const ::com::sun::star::uno::Any& rNewValue, const sal_Int16 nEventId ) const; void LostPropertyEvent( const ::com::sun::star::uno::Any& rOldValue, const sal_Int16 nEventId ) const; - int getNotifierClientId() const; + int getNotifierClientId() const { return mnNotifierClientId; } /// Do we have children? This is the case for image bullets bool HaveChildren(); diff --git a/include/editeng/AccessibleImageBullet.hxx b/include/editeng/AccessibleImageBullet.hxx index 440b42bf37e7..d13ed7bab820 100644 --- a/include/editeng/AccessibleImageBullet.hxx +++ b/include/editeng/AccessibleImageBullet.hxx @@ -145,7 +145,7 @@ namespace accessibility there potential deadlock situations can be resolved. Thus, make sure SolarMutex is locked when calling this. */ - sal_Int32 GetParagraphIndex() const; + sal_Int32 GetParagraphIndex() const { return mnParagraphIndex; } /// Calls all Listener objects to tell them the change. Don't hold locks when calling this! virtual void FireEvent(const sal_Int16 nEventId, const ::com::sun::star::uno::Any& rNewValue = ::com::sun::star::uno::Any(), const ::com::sun::star::uno::Any& rOldValue = ::com::sun::star::uno::Any() ) const; @@ -166,7 +166,7 @@ namespace accessibility SvxEditSource& GetEditSource() const; - int getNotifierClientId() const; + int getNotifierClientId() const { return mnNotifierClientId; } /** Query the SvxTextForwarder for EditEngine access. diff --git a/include/editeng/editund2.hxx b/include/editeng/editund2.hxx index 52c11ca3acc4..c103fcbb9166 100644 --- a/include/editeng/editund2.hxx +++ b/include/editeng/editund2.hxx @@ -53,7 +53,7 @@ public: EditUndo(sal_uInt16 nI, EditEngine* pEE); virtual ~EditUndo(); - EditEngine* GetEditEngine(); + EditEngine* GetEditEngine() { return mpEditEngine;} virtual void Undo() SAL_OVERRIDE = 0; virtual void Redo() SAL_OVERRIDE = 0; diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx index 50a7f81b6878..961b5e08b987 100644 --- a/include/editeng/flditem.hxx +++ b/include/editeng/flditem.hxx @@ -232,7 +232,7 @@ public: explicit SvxTableField(int nTab); void SetTab(int nTab); - int GetTab() const; + int GetTab() const { return mnTab;} virtual SvxFieldData* Clone() const SAL_OVERRIDE; virtual bool operator==( const SvxFieldData& ) const SAL_OVERRIDE; diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx index 57f63b95d06a..8f6882f3d463 100644 --- a/include/editeng/numitem.hxx +++ b/include/editeng/numitem.hxx @@ -199,7 +199,7 @@ public: void SetGraphicSize(const Size& rSet) {aGraphicSize = rSet;} const Size& GetGraphicSize() const {return aGraphicSize;} - SvxNumPositionAndSpaceMode GetPositionAndSpaceMode() const; + SvxNumPositionAndSpaceMode GetPositionAndSpaceMode() const { return mePositionAndSpaceMode;} void SetPositionAndSpaceMode( SvxNumPositionAndSpaceMode ePositionAndSpaceMode ); void SetLSpace(short nSet) {nLSpace = nSet;} @@ -212,13 +212,13 @@ public: short GetCharTextDistance() const; void SetLabelFollowedBy( const LabelFollowedBy eLabelFollowedBy ); - LabelFollowedBy GetLabelFollowedBy() const; + LabelFollowedBy GetLabelFollowedBy() const { return meLabelFollowedBy;} void SetListtabPos( const long nListtabPos ); - long GetListtabPos() const; + long GetListtabPos() const { return mnListtabPos;} void SetFirstLineIndent( const long nFirstLineIndent ); - long GetFirstLineIndent() const; + long GetFirstLineIndent() const { return mnFirstLineIndent;} void SetIndentAt( const long nIndentAt ); - long GetIndentAt() const; + long GetIndentAt() const { return mnIndentAt;} static Size GetGraphicSizeMM100(const Graphic* pGraphic); static OUString CreateRomanString( sal_uLong nNo, bool bUpper ); diff --git a/include/editeng/unoedhlp.hxx b/include/editeng/unoedhlp.hxx index 9b360200c889..c9900a808e5c 100644 --- a/include/editeng/unoedhlp.hxx +++ b/include/editeng/unoedhlp.hxx @@ -50,8 +50,8 @@ public: SvxEditSourceHint( sal_uLong nId, sal_uLong nValue, sal_Int32 nStart=0, sal_Int32 nEnd=0 ); sal_uLong GetValue() const; - sal_Int32 GetStartValue() const; - sal_Int32 GetEndValue() const; + sal_Int32 GetStartValue() const { return mnStart;} + sal_Int32 GetEndValue() const { return mnEnd;} }; class SvxEditSourceHintEndPara :public SvxEditSourceHint { diff --git a/include/editeng/unoedprx.hxx b/include/editeng/unoedprx.hxx index 1bc9ebc66d94..dd1f64d179a9 100644 --- a/include/editeng/unoedprx.hxx +++ b/include/editeng/unoedprx.hxx @@ -154,7 +154,7 @@ public: SAL_WNODEPRECATED_DECLARATIONS_PUSH void SetEditSource( ::std::auto_ptr< SvxEditSource > pAdaptee ); SAL_WNODEPRECATED_DECLARATIONS_POP - bool IsValid() const; + bool IsValid() const { return mbEditSourceValid;} private: // declared, but not defined diff --git a/include/formula/vectortoken.hxx b/include/formula/vectortoken.hxx index 0c28f7e9e2c9..7f015b76d064 100644 --- a/include/formula/vectortoken.hxx +++ b/include/formula/vectortoken.hxx @@ -47,7 +47,7 @@ struct FORMULA_DLLPUBLIC VectorRefArray VectorRefArray( rtl_uString** pArray ); VectorRefArray( const double* pNumArray, rtl_uString** pStrArray ); - bool isValid() const; + bool isValid() const { return mbValid;} }; /** diff --git a/include/helpcompiler/HelpIndexer.hxx b/include/helpcompiler/HelpIndexer.hxx index 47733a6d8a25..fe4da1171c92 100644 --- a/include/helpcompiler/HelpIndexer.hxx +++ b/include/helpcompiler/HelpIndexer.hxx @@ -59,7 +59,7 @@ class L10N_DLLPUBLIC HelpIndexer { /** * Get the error string (empty if no error occurred). */ - OUString const & getErrorMessage(); + OUString const & getErrorMessage() { return d_error;} private: diff --git a/include/i18nlangtag/languagetag.hxx b/include/i18nlangtag/languagetag.hxx index f3cf64293cd9..3d484ad9f5d2 100644 --- a/include/i18nlangtag/languagetag.hxx +++ b/include/i18nlangtag/languagetag.hxx @@ -235,7 +235,7 @@ public: /** If this tag was contructed as an empty tag denoting the system locale. */ - bool isSystemLocale() const; + bool isSystemLocale() const { return mbSystemLocale;} /** Reset with existing BCP 47 language tag string. See ctor. */ diff --git a/include/jvmaccess/unovirtualmachine.hxx b/include/jvmaccess/unovirtualmachine.hxx index 055ad0904eee..6ba969a22e1e 100644 --- a/include/jvmaccess/unovirtualmachine.hxx +++ b/include/jvmaccess/unovirtualmachine.hxx @@ -85,7 +85,7 @@ public: different for different JDK versions, so that the mangled C++ name of the function would depend on the JDK version used at compile time. */ - void * getClassLoader() const; + void * getClassLoader() const { return m_classLoader;} private: UnoVirtualMachine(UnoVirtualMachine &); // not defined diff --git a/include/oox/drawingml/chart/typegroupconverter.hxx b/include/oox/drawingml/chart/typegroupconverter.hxx index 16c8271677a0..4f1e2f82f7cf 100644 --- a/include/oox/drawingml/chart/typegroupconverter.hxx +++ b/include/oox/drawingml/chart/typegroupconverter.hxx @@ -123,7 +123,7 @@ public: /** Returns true, if the series in this chart type group are stacked on each other as percentage. */ bool isPercent() const; /** Returns true, if the chart is three-dimensional. */ - bool is3dChart() const; + bool is3dChart() const { return mb3dChart;} /** Returns true, if chart type supports wall and floor format in 3D mode. */ bool isWall3dChart() const; /** Returns true, if the series in this chart type group are ordered on the Z axis. */ diff --git a/include/oox/drawingml/shape.hxx b/include/oox/drawingml/shape.hxx index f8e1b7c8e8d7..390086bca369 100644 --- a/include/oox/drawingml/shape.hxx +++ b/include/oox/drawingml/shape.hxx @@ -180,9 +180,9 @@ public: void setFontRefColorForNodes(const Color& rColor) { maFontRefColorForNodes = rColor; } const Color& getFontRefColorForNodes() const { return maFontRefColorForNodes; } void setLockedCanvas(bool bLockedCanvas); - bool getLockedCanvas(); + bool getLockedCanvas() { return mbLockedCanvas;} void setWps(bool bWps); - bool getWps(); + bool getWps() { return mbWps;} void setTextBox(bool bTextBox); const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> & getDiagramDoms() { return maDiagramDoms; } diff --git a/include/oox/helper/storagebase.hxx b/include/oox/helper/storagebase.hxx index 84e86373aff0..878037e68d72 100644 --- a/include/oox/helper/storagebase.hxx +++ b/include/oox/helper/storagebase.hxx @@ -66,7 +66,7 @@ public: /** Returns true, if the storage operates in read-only mode (based on an input stream). */ - bool isReadOnly() const; + bool isReadOnly() const { return mbReadOnly;} /** Returns the com.sun.star.embed.XStorage interface of the current storage. */ ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > diff --git a/include/package/Deflater.hxx b/include/package/Deflater.hxx index 2b95782dcae1..ad73f280ceee 100644 --- a/include/package/Deflater.hxx +++ b/include/package/Deflater.hxx @@ -50,7 +50,7 @@ public: void SAL_CALL setLevel( sal_Int32 nNewLevel ); bool SAL_CALL needsInput( ); void SAL_CALL finish( ); - bool SAL_CALL finished( ); + bool SAL_CALL finished( ) { return bFinished;} sal_Int32 SAL_CALL doDeflateSegment( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength ); sal_Int64 SAL_CALL getTotalIn( ); sal_Int64 SAL_CALL getTotalOut( ); diff --git a/include/package/Inflater.hxx b/include/package/Inflater.hxx index 9c4874a1029c..db587185d849 100644 --- a/include/package/Inflater.hxx +++ b/include/package/Inflater.hxx @@ -42,8 +42,8 @@ public: Inflater(bool bNoWrap = false); ~Inflater(); void SAL_CALL setInput( const ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer ); - bool SAL_CALL needsDictionary( ); - bool SAL_CALL finished( ); + bool SAL_CALL needsDictionary( ) { return bNeedDict;} + bool SAL_CALL finished( ) { return bFinished;} sal_Int32 SAL_CALL doInflateSegment( ::com::sun::star::uno::Sequence< sal_Int8 >& rBuffer, sal_Int32 nNewOffset, sal_Int32 nNewLength ); void SAL_CALL end( ); diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index 95eab18df1d3..917397f3e845 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -158,8 +158,8 @@ public: bool HasTemplate() const { return m_bHasTemplate; } void SetDeleteUserData( bool bSet ); void SetUseUserData( bool bSet ); - bool IsDeleteUserData() const; - bool IsUseUserData() const; + bool IsDeleteUserData() const { return m_bDeleteUserData;} + bool IsUseUserData() const { return m_bUseUserData;} std::vector< CustomProperty* > GetCustomProperties() const; void ClearCustomProperties(); diff --git a/include/sfx2/recentdocsview.hxx b/include/sfx2/recentdocsview.hxx index 453eb3fffd71..5563559de167 100644 --- a/include/sfx2/recentdocsview.hxx +++ b/include/sfx2/recentdocsview.hxx @@ -46,7 +46,7 @@ public: void insertItem(const OUString &rURL, const OUString &rTitle, const BitmapEx &rThumbnail, sal_uInt16 nId); - long GetThumbnailSize() const; + long GetThumbnailSize() const { return mnItemMaxSize;} static bool typeMatchesExtension(ApplicationType type, const OUString &rExt); static BitmapEx getDefaultThumbnail(const OUString &rURL); diff --git a/include/sfx2/templateabstractview.hxx b/include/sfx2/templateabstractview.hxx index 646dd5e85183..003d9ac36e00 100644 --- a/include/sfx2/templateabstractview.hxx +++ b/include/sfx2/templateabstractview.hxx @@ -107,7 +107,7 @@ public: // Return if we can import templates to the current region virtual bool isImportAllowed () const = 0; - sal_uInt16 getCurRegionId () const; + sal_uInt16 getCurRegionId () const { return mnCurRegionId;} const OUString& getCurRegionName () const; diff --git a/include/svl/int64item.hxx b/include/svl/int64item.hxx index 06876e63d7dc..c49ead68e29f 100644 --- a/include/svl/int64item.hxx +++ b/include/svl/int64item.hxx @@ -45,7 +45,7 @@ public: virtual SfxPoolItem* Clone( SfxItemPool* pOther = NULL ) const SAL_OVERRIDE; - sal_Int64 GetValue() const; + sal_Int64 GetValue() const { return mnValue;} void SetValue( sal_Int64 nVal ); }; diff --git a/include/svl/sharedstring.hxx b/include/svl/sharedstring.hxx index fe9e851f045d..ddb63f14e8d8 100644 --- a/include/svl/sharedstring.hxx +++ b/include/svl/sharedstring.hxx @@ -36,10 +36,10 @@ public: OUString getString() const; - rtl_uString* getData(); + rtl_uString* getData() { return mpData;} const rtl_uString* getData() const; - rtl_uString* getDataIgnoreCase(); + rtl_uString* getDataIgnoreCase() { return mpDataIgnoreCase;} const rtl_uString* getDataIgnoreCase() const; bool isValid() const; diff --git a/include/svl/style.hxx b/include/svl/style.hxx index f82d14266fb3..3b936763886b 100644 --- a/include/svl/style.hxx +++ b/include/svl/style.hxx @@ -230,7 +230,7 @@ public: const OUString& GetAppName() const { return aAppName; } SfxItemPool& GetPool(); - const SfxItemPool& GetPool() const; + const SfxItemPool& GetPool() const { return rPool;} virtual SfxStyleSheetIteratorPtr CreateIterator(SfxStyleFamily, sal_uInt16 nMask); virtual sal_uInt16 Count(); @@ -265,7 +265,7 @@ public: { return Find(rStr, nSearchFamily, nMask); } void SetSearchMask(SfxStyleFamily eFam, sal_uInt16 n=SFXSTYLEBIT_ALL ); - sal_uInt16 GetSearchMask() const; + sal_uInt16 GetSearchMask() const { return nMask;} SfxStyleFamily GetSearchFamily() const { return nSearchFamily; } void Reindex(); diff --git a/include/svx/AccessibleShapeTreeInfo.hxx b/include/svx/AccessibleShapeTreeInfo.hxx index a6178f72cbfd..0527caf7022d 100644 --- a/include/svx/AccessibleShapeTreeInfo.hxx +++ b/include/svx/AccessibleShapeTreeInfo.hxx @@ -118,7 +118,7 @@ public: @return The returned value may be NULL. */ - SdrView* GetSdrView (void) const; + SdrView* GetSdrView (void) const { return mpView;} /** Set a new controller. This will usually but not necessarily correspond to the SdrView. @@ -146,7 +146,7 @@ public: @return The returned value may be NULL. */ - Window* GetWindow (void) const; + Window* GetWindow (void) const { return mpWindow;} /** The view forwarder allows the transformation between internal and pixel coordinates and can be asked for the visible area. @@ -159,7 +159,7 @@ public: @return The returned pointer may be NULL. */ - const IAccessibleViewForwarder* GetViewForwarder (void) const; + const IAccessibleViewForwarder* GetViewForwarder (void) const { return mpViewForwarder;} private: /** Deprecated. diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 9d97b3e7cb71..f2f7dbf38ed6 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -252,7 +252,7 @@ public: void CheckAction(bool bFlag=true); void CheckComment(bool bFlag=true); - ListBox* GetLbAction(); + ListBox* GetLbAction() { return m_pLbAction;} void SetReadyHdl( const Link& rLink ) { aReadyLink= rLink; } const Link& GetReadyHdl() const { return aReadyLink; } @@ -319,7 +319,7 @@ public: void InsertWriterHeader(); void InsertCalcHeader(); - SvxRedlinTable* GetTableControl(); + SvxRedlinTable* GetTableControl() { return m_pViewData;} void EnableAccept(bool nFlag=true); void EnableAcceptAll(bool nFlag=true); @@ -380,8 +380,8 @@ public: void ShowFilterPage(); void ShowViewPage(); - SvxTPFilter* GetFilterPage(); - SvxTPView* GetViewPage(); + SvxTPFilter* GetFilterPage() { return pTPFilter;} + SvxTPView* GetViewPage() { return pTPView;} SvxRedlinTable* GetViewTable(); }; diff --git a/include/svx/fmgridcl.hxx b/include/svx/fmgridcl.hxx index 8af1bd4e475a..914758f31475 100644 --- a/include/svx/fmgridcl.hxx +++ b/include/svx/fmgridcl.hxx @@ -128,7 +128,7 @@ public: void markColumn(sal_uInt16 nId); bool isColumnMarked(sal_uInt16 nId) const; - sal_Int32 GetSelectedColumn() const; + sal_Int32 GetSelectedColumn() const { return m_nCurrentSelectedColumn;} /** return the name of the specified object. @param eObjType diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index cdc221d1d4e1..652a2edb9e12 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -125,7 +125,7 @@ public: inline double Prim() const { return mfPrim; } inline double Dist() const { return mfDist; } inline double Secn() const { return mfSecn; } - double PatternScale() const; + double PatternScale() const { return mfPatternScale;} void SetPatternScale( double fScale ); inline editeng::SvxBorderStyle Type() const { return mnType; } diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index 91b788cdf0c2..909c1c8d9984 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -151,7 +151,7 @@ public: EDITED_INVALID }; - EditedAndValid GetEditedAndValid() const; + EditedAndValid GetEditedAndValid() const { return meEditedAndValid;} sal_Int32 SaveEditedAsEntry(); diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx index f9e9ae6bf9ea..d32b8efd47cf 100644 --- a/include/svx/nbdtmg.hxx +++ b/include/svx/nbdtmg.hxx @@ -231,7 +231,7 @@ class SVX_DLLPUBLIC NBOTypeMgrBase void SetItems(const SfxItemSet* pArg) { pSet = pArg;StoreBulCharFmtName_impl();StoreMapUnit_impl();} protected: OUString GetBulCharFmtName(); - SfxMapUnit GetMapUnit(); + SfxMapUnit GetMapUnit() { return eCoreUnit;} protected: bool bIsLoading; void ImplLoad(const OUString& filename); diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx index 4610d3039882..d7282d1abe19 100644 --- a/include/svx/numfmtsh.hxx +++ b/include/svx/numfmtsh.hxx @@ -161,7 +161,7 @@ public: void SetComment4Entry(short nEntry, const OUString& aCommentString); void SetCurrencySymbol(sal_uInt32 nPos); - sal_uInt32 GetCurrencySymbol(); + sal_uInt32 GetCurrencySymbol() { return nCurCurrencyEntryPos;} sal_uInt16 FindCurrencyFormat( const OUString& rFmtString ); sal_uInt16 FindCurrencyFormat(const NfCurrencyEntry* pTmpCurrencyEntry,bool bTmpBanking); void SetCurCurrencyEntry(NfCurrencyEntry*); diff --git a/include/svx/rulritem.hxx b/include/svx/rulritem.hxx index 56074eee1e13..e856cf030d20 100644 --- a/include/svx/rulritem.hxx +++ b/include/svx/rulritem.hxx @@ -52,8 +52,8 @@ public: SvxLongLRSpaceItem(const SvxLongLRSpaceItem &); SvxLongLRSpaceItem(); - long GetLeft() const; - long GetRight() const; + long GetLeft() const { return mlLeft;} + long GetRight() const { return mlRight;} void SetLeft(long lArgLeft); void SetRight(long lArgRight); }; @@ -86,8 +86,8 @@ public: SvxLongULSpaceItem(const SvxLongULSpaceItem &); SvxLongULSpaceItem(); - long GetUpper() const; - long GetLower() const; + long GetUpper() const { return mlLeft;} + long GetLower() const { return mlRight;} void SetUpper(long lArgLeft); void SetLower(long lArgRight); }; @@ -194,12 +194,12 @@ public: void Append(const SvxColumnDescription& rDesc); void SetLeft(long aLeft); void SetRight(long aRight); - sal_uInt16 GetActColumn() const; + sal_uInt16 GetActColumn() const { return nActColumn;} bool IsFirstAct() const; bool IsLastAct() const; - long GetLeft(); - long GetRight(); - bool IsTable() const; + long GetLeft() { return nLeft;} + long GetRight() { return nRight;} + bool IsTable() const { return bTable;} bool CalcOrtho() const; void SetOrtho(bool bVal); bool IsConsistent() const; @@ -239,12 +239,12 @@ public: bool bLimits = false); SvxObjectItem(const SvxObjectItem& rCopy); - bool HasLimits() const; + bool HasLimits() const { return bLimits;} - long GetStartX() const; - long GetEndX() const; - long GetStartY() const; - long GetEndY() const; + long GetStartX() const { return nStartX;} + long GetEndX() const { return nEndX;} + long GetStartY() const { return nStartY;} + long GetEndY() const { return nEndY;} void SetStartX(long lValue); void SetEndX(long lValue); diff --git a/include/svx/sdr/animation/scheduler.hxx b/include/svx/sdr/animation/scheduler.hxx index 4a7b177e1cd0..9e3a33dd2dcb 100644 --- a/include/svx/sdr/animation/scheduler.hxx +++ b/include/svx/sdr/animation/scheduler.hxx @@ -45,11 +45,11 @@ namespace sdr SVX_DLLPUBLIC virtual ~Event(); // access to mpNext - Event* GetNext() const; + Event* GetNext() const { return mpNext; } void SetNext(Event* pNew); // get/set time - sal_uInt32 GetTime() const; + sal_uInt32 GetTime() const { return mnTime; } void SVX_DLLPUBLIC SetTime(sal_uInt32 nNew); // execute event @@ -83,7 +83,7 @@ namespace sdr void Clear(); // get first - Event* GetFirst(); + Event* GetFirst() { return mpHead; } }; } // end of namespace animation } // end of namespace sdr @@ -119,7 +119,7 @@ namespace sdr SVX_DLLPUBLIC virtual void Timeout() SAL_OVERRIDE; // get time - sal_uInt32 GetTime(); + sal_uInt32 GetTime() { return mnTime; } // #i38135# void SetTime(sal_uInt32 nTime); diff --git a/include/svx/sdr/contact/objectcontact.hxx b/include/svx/sdr/contact/objectcontact.hxx index fd48a475d32e..b94e5a97d3be 100644 --- a/include/svx/sdr/contact/objectcontact.hxx +++ b/include/svx/sdr/contact/objectcontact.hxx @@ -161,7 +161,7 @@ namespace sdr virtual bool IsAsynchronGraphicsLoadingAllowed() const; // access to ViewObjectContactRedirector - ViewObjectContactRedirector* GetViewObjectContactRedirector() const; + ViewObjectContactRedirector* GetViewObjectContactRedirector() const { return mpViewObjectContactRedirector; } void SetViewObjectContactRedirector(ViewObjectContactRedirector* pNew); // check if buffering of MasterPages is allowed. Default is sal_False. diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index da4ec001e9a3..6b28b5ad88bf 100644 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -95,7 +95,7 @@ public: SfxBindings* pBindings, SfxChildWinInfo* pInfo ); virtual ~SvxSearchDialogWrapper (); - SvxSearchDialog *getDialog (); + SvxSearchDialog *getDialog () { return dialog;} static void SetSearchLabel(const SearchLabel& rSL); SFX_DECL_CHILDWINDOW_WITHID(SvxSearchDialogWrapper); }; diff --git a/include/svx/svdhdl.hxx b/include/svx/svdhdl.hxx index 53e91b95a99c..88a71e219cc8 100644 --- a/include/svx/svdhdl.hxx +++ b/include/svx/svdhdl.hxx @@ -468,7 +468,7 @@ public: void ResetFocusHdl(); // Access to View - SdrMarkView* GetView() const; + SdrMarkView* GetView() const { return pView;} // Sortierung: 1.Level Erst Refpunkt-Handles, dann normale Handles, dann Glue, dann User, dann Plushandles // 2.Level PageView (Pointer) diff --git a/include/svx/svdmark.hxx b/include/svx/svdmark.hxx index d57b1a09ecd8..97f5b8d4b08b 100644 --- a/include/svx/svdmark.hxx +++ b/include/svx/svdmark.hxx @@ -66,7 +66,7 @@ public: } void SetMarkedSdrObj(SdrObject* pNewObj); - SdrObject* GetMarkedSdrObj() const; + SdrObject* GetMarkedSdrObj() const { return mpSelectedSdrObject;} SdrPageView* GetPageView() const { diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index e982cb5e5460..ae322501912b 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -132,9 +132,9 @@ public: void SetObject(const SdrObject* pNewObj); void SetKind(SdrHintKind eNewKind); - const SdrPage* GetPage() const; - const SdrObject* GetObject() const; - SdrHintKind GetKind() const; + const SdrPage* GetPage() const { return mpPage;} + const SdrObject* GetObject() const { return mpObj;} + SdrHintKind GetKind() const { return meHint;} }; @@ -650,7 +650,7 @@ public: void MigrateItemSet( const SfxItemSet* pSourceSet, SfxItemSet* pDestSet, SdrModel* pNewModel ); - bool IsInDestruction() const; + bool IsInDestruction() const { return mbInDestruction;} static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelImplementationId(); diff --git a/include/svx/svdoashp.hxx b/include/svx/svdoashp.hxx index c7be3585c679..1b7adf1cf489 100644 --- a/include/svx/svdoashp.hxx +++ b/include/svx/svdoashp.hxx @@ -147,7 +147,7 @@ public: void SetMirroredX( const bool bMirroredX ); void SetMirroredY( const bool bMirroredY ); - double GetObjectRotation() const; + double GetObjectRotation() const { return fObjectRotation;} double GetExtraTextRotation( const bool bPreRotation = false ) const; TYPEINFO_OVERRIDE(); diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index ccdf58abb683..5b57cf2f0b36 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -197,8 +197,8 @@ public: virtual ~SdrObjUserData(); virtual SdrObjUserData* Clone(SdrObject* pObj1) const = 0; // #i71039# NULL -> 0 - sal_uInt32 GetInventor() const; - sal_uInt16 GetId() const; + sal_uInt32 GetInventor() const { return nInventor;} + sal_uInt16 GetId() const { return nIdentifier;} virtual bool HasMacro (const SdrObject* pObj) const; virtual SdrObject* CheckMacroHit (const SdrObjMacroHitRec& rRec, const SdrObject* pObj) const; @@ -460,13 +460,13 @@ public: virtual void SetBoundRectDirty(); virtual void SetObjList(SdrObjList* pNewObjList); - SdrObjList* GetObjList() const; + SdrObjList* GetObjList() const { return pObjList;} virtual void SetPage(SdrPage* pNewPage); - SdrPage* GetPage() const; + SdrPage* GetPage() const { return pPage;} virtual void SetModel(SdrModel* pNewModel); - SdrModel* GetModel() const; + SdrModel* GetModel() const { return pModel;} SdrItemPool* GetObjectItemPool() const; void AddListener(SfxListener& rListener); @@ -488,7 +488,7 @@ public: // UserCall interface void SetUserCall(SdrObjUserCall* pUser); - SdrObjUserCall* GetUserCall() const; + SdrObjUserCall* GetUserCall() const { return pUserCall;} void SendUserCall(SdrUserCallType eUserCall, const Rectangle& rBoundRect) const; // Such a reference point is for instance: @@ -523,7 +523,7 @@ public: sal_uInt32 GetOrdNum() const; // Warning: this method should only be used if you really knows what you're doing - sal_uInt32 GetOrdNumDirect() const; + sal_uInt32 GetOrdNumDirect() const { return nOrdNum;} // setting the order number should only happen from the model or from the page void SetOrdNum(sal_uInt32 nNum); @@ -881,38 +881,38 @@ public: SdrObject* ImpConvertToContourObj(SdrObject* pRet, bool bForceLineDash = false) const; // if true, reference onto an object - bool IsVirtualObj() const; + bool IsVirtualObj() const { return bVirtObj;} // is true, if object can probably be filled // is false, if object has probably line ends // is invalid, if this is a group object - bool IsClosedObj() const; + bool IsClosedObj() const { return bClosedObj;} - bool IsEdgeObj() const; - bool Is3DObj() const; - bool IsUnoObj() const; + bool IsEdgeObj() const { return bIsEdge;} + bool Is3DObj() const { return bIs3DObj;} + bool IsUnoObj() const { return bIsUnoObj;} void SetMarkProtect(bool bProt); - bool IsMarkProtect() const; + bool IsMarkProtect() const { return bMarkProt;} void SetInserted(bool bIns); - bool IsInserted() const; + bool IsInserted() const { return bInserted;} void SetMoveProtect(bool bProt); - bool IsMoveProtect() const; + bool IsMoveProtect() const { return bMovProt;} void SetResizeProtect(bool bProt); - bool IsResizeProtect() const; + bool IsResizeProtect() const { return bSizProt;} void SetPrintable(bool bPrn); bool IsPrintable() const; void SetVisible(bool bVisible); - bool IsVisible() const; + bool IsVisible() const { return mbVisible;} void SetEmptyPresObj(bool bEpt); - bool IsEmptyPresObj() const; + bool IsEmptyPresObj() const { return bEmptyPresObj;} void SetNotVisibleAsMaster(bool bFlg); - bool IsNotVisibleAsMaster() const; + bool IsNotVisibleAsMaster() const { return bNotVisibleAsMaster;} // #i25616# - bool LineIsOutsideGeometry() const; + bool LineIsOutsideGeometry() const { return mbLineIsOutsideGeometry;} // #i25616# - bool DoesSupportTextIndentingOnLineWidthChange() const; + bool DoesSupportTextIndentingOnLineWidthChange() const { return mbSupportTextIndentingOnLineWidthChange;} // application specific data sal_uInt16 GetUserDataCount() const; @@ -990,7 +990,7 @@ public: /// @see mbDoNotInsertIntoPageAutomatically void SetDoNotInsertIntoPageAutomatically(bool bSet); /// @see mbDoNotInsertIntoPageAutomatically - bool IsDoNotInsertIntoPageAutomatically() const; + bool IsDoNotInsertIntoPageAutomatically() const { return mbDoNotInsertIntoPageAutomatically;} // #i121917# virtual bool HasText() const; diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx index 4a3779a0f85f..6a529c26c0e7 100644 --- a/include/svx/svdograf.hxx +++ b/include/svx/svdograf.hxx @@ -186,7 +186,7 @@ public: virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE; - bool IsMirrored() const; + bool IsMirrored() const { return bMirrored;} void SetMirrored( bool _bMirrored ); // #111096# diff --git a/include/svx/svdopage.hxx b/include/svx/svdopage.hxx index 74168ebc2274..3f48b3145a3c 100644 --- a/include/svx/svdopage.hxx +++ b/include/svx/svdopage.hxx @@ -48,7 +48,7 @@ public: virtual ~SdrPageObj(); // #111111# - SdrPage* GetReferencedPage() const; + SdrPage* GetReferencedPage() const { return mpShownPage;} void SetReferencedPage(SdrPage* pNewPage); // #i96598# diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx index 077b66964803..9dc74bbb7bdb 100644 --- a/include/svx/svdpage.hxx +++ b/include/svx/svdpage.hxx @@ -403,7 +403,7 @@ public: // StyleSheet access void SetStyleSheet(SfxStyleSheet* pStyleSheet); - SfxStyleSheet* GetStyleSheet() const; + SfxStyleSheet* GetStyleSheet() const { return mpStyleSheet;} }; diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index 0c5dbcd91a33..645c35383a41 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -103,7 +103,7 @@ public: enum HintType { SVX_HINT_VIEWCHANGED }; TYPEINFO_OVERRIDE(); explicit SvxViewHint (HintType eType); - HintType GetHintType (void) const; + HintType GetHintType (void) const { return meHintType;} private: HintType meHintType; @@ -223,7 +223,7 @@ public: void SetBufferedOverlayAllowed(bool bNew); // allow page painting at all? - bool IsPagePaintingAllowed() const; + bool IsPagePaintingAllowed() const { return mbPagePaintingAllowed;} void SetPagePaintingAllowed(bool bNew); protected: diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx index 2904d87321ba..739244f16664 100644 --- a/include/svx/svdundo.hxx +++ b/include/svx/svdundo.hxx @@ -255,7 +255,7 @@ protected: void SetOwner(bool bNew); private: - sal_uInt32 GetOrdNum() const; + sal_uInt32 GetOrdNum() const { return nOrdNum;} void SetOrdNum(sal_uInt32 nOrdNum_); }; diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx index 81092d548acc..cdcd74fb3264 100644 --- a/include/svx/unoshape.hxx +++ b/include/svx/unoshape.hxx @@ -611,7 +611,7 @@ public: virtual ~SvxShapePolyPolygon() throw(); // Local support functions - ::com::sun::star::drawing::PolygonKind GetPolygonKind() const throw(); + ::com::sun::star::drawing::PolygonKind GetPolygonKind() const throw() { return mePolygonKind;} void SetPolygon(const basegfx::B2DPolyPolygon& rNew) throw(css::uno::RuntimeException); basegfx::B2DPolyPolygon GetPolygon() const throw(); @@ -641,7 +641,7 @@ public: virtual ~SvxShapePolyPolygonBezier() throw(); // Local support functions - ::com::sun::star::drawing::PolygonKind GetPolygonKind() const throw(); + ::com::sun::star::drawing::PolygonKind GetPolygonKind() const throw() { return mePolygonKind;} void SetPolygon(const basegfx::B2DPolyPolygon & rNew) throw(css::uno::RuntimeException); basegfx::B2DPolyPolygon GetPolygon() const throw(); diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx index c81a8ea8dfb8..83841ce6a377 100644 --- a/include/tools/multisel.hxx +++ b/include/tools/multisel.hxx @@ -125,7 +125,7 @@ public: public: Iterator() : pEnumerator( NULL ), pPossibleValues( NULL ), nRangeIndex( -1 ), nCurrent( -1 ) {} Iterator& operator++(); - sal_Int32 operator*() const; + sal_Int32 operator*() const { return nCurrent;} bool operator==(const Iterator&) const; bool operator!=(const Iterator& i_rComp) const { return ! (*this == i_rComp); } diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx index 63a5ec2002e2..8d393265f82f 100644 --- a/include/tools/zcodec.hxx +++ b/include/tools/zcodec.hxx @@ -75,7 +75,7 @@ public: void SetBreak( sal_uIntPtr ); sal_uIntPtr GetBreak(); void SetCRC( sal_uIntPtr nCurrentCRC ); - sal_uIntPtr GetCRC(); + sal_uIntPtr GetCRC() { return mnCRC;} }; #endif diff --git a/include/unotools/configitem.hxx b/include/unotools/configitem.hxx index a08df2da504d..134d7cadce5c 100644 --- a/include/unotools/configitem.hxx +++ b/include/unotools/configitem.hxx @@ -164,14 +164,14 @@ namespace utl const OUString& GetSubTreeName() const {return sSubTree;} - bool IsModified() const; + bool IsModified() const { return m_bIsModified;} /** writes the changed values into the sub tree. Always called in the Dtor of the derived class. */ virtual void Commit()=0; bool IsInValueChange() const; - sal_Int16 GetMode() const; + sal_Int16 GetMode() const { return m_nMode;} }; }//namespace utl #endif // INCLUDED_UNOTOOLS_CONFIGITEM_HXX 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 ); diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx index 8790f778c31d..397946314cb1 100644 --- a/include/xmloff/xmlimp.hxx +++ b/include/xmloff/xmlimp.hxx @@ -469,7 +469,7 @@ public: @see <member>mbIsGraphicLoadOnDemandSupported</member> */ - bool isGraphicLoadOnDemandSupported() const; + bool isGraphicLoadOnDemandSupported() const { return mbIsGraphicLoadOnDemandSupported;} /** Returns true if the embedded font document URL has already been processed. |