summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/checklistmenu.hxx6
-rw-r--r--sc/source/ui/inc/condformatdlgentry.hxx2
-rw-r--r--sc/source/ui/inc/condformatmgr.hxx2
-rw-r--r--sc/source/ui/inc/datastream.hxx4
-rw-r--r--sc/source/ui/inc/docsh.hxx6
-rw-r--r--sc/source/ui/inc/inputwin.hxx2
-rw-r--r--sc/source/ui/inc/mvtabdlg.hxx8
-rw-r--r--sc/source/ui/inc/printfun.hxx2
-rw-r--r--sc/source/ui/inc/tabview.hxx2
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx4
-rw-r--r--sc/source/ui/inc/tphfedit.hxx2
-rw-r--r--sc/source/ui/inc/uiitems.hxx2
12 files changed, 21 insertions, 21 deletions
diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx
index b98a9028df91..d64c7015cd1b 100644
--- a/sc/source/ui/inc/checklistmenu.hxx
+++ b/sc/source/ui/inc/checklistmenu.hxx
@@ -65,14 +65,14 @@ public:
void clearSelectedMenuItem();
ScMenuFloatingWindow* getSubMenuWindow(size_t nPos) const;
bool isMenuItemSelected(size_t nPos) const;
- size_t getSelectedMenuItem() const;
+ size_t getSelectedMenuItem() const { return mnSelectedMenu;}
void setName(const OUString& rName);
const OUString& getName() const;
void executeMenuItem(size_t nPos);
void getMenuItemPosSize(size_t nPos, Point& rPos, Size& rSize) const;
- ScMenuFloatingWindow* getParentMenuWindow() const;
+ ScMenuFloatingWindow* getParentMenuWindow() const { return mpParentMenu;}
protected:
virtual void handlePopupEnd();
@@ -90,7 +90,7 @@ protected:
void fillMenuItemsToAccessible(ScAccessibleFilterMenu* pAccMenu) const;
- ScDocument* getDoc();
+ ScDocument* getDoc() { return mpDoc;}
protected:
::com::sun::star::uno::Reference<
diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx
index 1b54fa3e049e..aa38d0d0a7d4 100644
--- a/sc/source/ui/inc/condformatdlgentry.hxx
+++ b/sc/source/ui/inc/condformatdlgentry.hxx
@@ -69,7 +69,7 @@ public:
virtual bool Notify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
- bool IsSelected() const;
+ bool IsSelected() const { return mbActive;}
void SetIndex(sal_Int32 nIndex);
sal_Int32 GetIndex() const { return mnIndex; }
void SetHeight();
diff --git a/sc/source/ui/inc/condformatmgr.hxx b/sc/source/ui/inc/condformatmgr.hxx
index 381eb65ffbe7..4531b9defc96 100644
--- a/sc/source/ui/inc/condformatmgr.hxx
+++ b/sc/source/ui/inc/condformatmgr.hxx
@@ -53,7 +53,7 @@ public:
ScConditionalFormatList* GetConditionalFormatList();
- bool CondFormatsChanged();
+ bool CondFormatsChanged() { return mbModified;}
virtual bool IsInRefMode() const;
diff --git a/sc/source/ui/inc/datastream.hxx b/sc/source/ui/inc/datastream.hxx
index 055460de23ac..d7320ecefe04 100644
--- a/sc/source/ui/inc/datastream.hxx
+++ b/sc/source/ui/inc/datastream.hxx
@@ -81,9 +81,9 @@ public:
ScRange GetRange() const;
const OUString& GetURL() const { return msURL; }
const sal_Int32& GetLimit() const { return mnLimit; }
- MoveType GetMove() const;
+ MoveType GetMove() const { return meOrigMove;}
const sal_uInt32& GetSettings() const { return mnSettings; }
- bool IsRefreshOnEmptyLine() const;
+ bool IsRefreshOnEmptyLine() const { return mbRefreshOnEmptyLine;}
void Decode(
const OUString& rURL, const ScRange& rRange, sal_Int32 nLimit,
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index 89706d2fd5b4..16d84bb09852 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -353,7 +353,7 @@ public:
void LockPaint();
void UnlockPaint();
- sal_uInt16 GetLockCount() const;
+ sal_uInt16 GetLockCount() const { return nDocumentLock;}
void SetLockCount(sal_uInt16 nNew);
void LockDocument();
@@ -364,14 +364,14 @@ public:
virtual SfxStyleSheetBasePool* GetStyleSheetPool() SAL_OVERRIDE;
void SetInplace( bool bInplace );
- bool IsEmpty() const;
+ bool IsEmpty() const { return bIsEmpty; }
void SetEmpty(bool bSet);
bool IsInUndo() const { return bIsInUndo; }
void SetInUndo(bool bSet);
void CalcOutputFactor();
- double GetOutputFactor() const;
+ double GetOutputFactor() const { return nPrtToScreenFactor;}
void GetPageOnFromPageStyleSet( const SfxItemSet* pStyleSet,
SCTAB nCurTab,
bool& rbHeader,
diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx
index 2a5fd8b1f5c0..68d39e422676 100644
--- a/sc/source/ui/inc/inputwin.hxx
+++ b/sc/source/ui/inc/inputwin.hxx
@@ -107,7 +107,7 @@ protected:
void ImplInitSettings();
void UpdateAutoCorrFlag();
- ScTabViewShell* GetViewShell();
+ ScTabViewShell* GetViewShell() { return mpViewShell;}
typedef ::std::vector< ScAccessibleEditLineTextData* > AccTextDataVector;
diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx
index e0f8addead60..9a59e93b5832 100644
--- a/sc/source/ui/inc/mvtabdlg.hxx
+++ b/sc/source/ui/inc/mvtabdlg.hxx
@@ -34,10 +34,10 @@ public:
ScMoveTableDlg(Window* pParent, const OUString& rDefault);
virtual ~ScMoveTableDlg();
- sal_uInt16 GetSelectedDocument () const;
- SCTAB GetSelectedTable () const;
- bool GetCopyTable () const;
- bool GetRenameTable () const;
+ sal_uInt16 GetSelectedDocument () const { return nDocument; }
+ SCTAB GetSelectedTable () const { return nTable; }
+ bool GetCopyTable () const { return bCopyTable; }
+ bool GetRenameTable () const { return bRenameTable; }
void GetTabNameString( OUString& rString ) const;
void SetForceCopyTable ();
void EnableCopyTable (bool bFlag=true);
diff --git a/sc/source/ui/inc/printfun.hxx b/sc/source/ui/inc/printfun.hxx
index e2147cd19f75..c83a234c9898 100644
--- a/sc/source/ui/inc/printfun.hxx
+++ b/sc/source/ui/inc/printfun.hxx
@@ -292,7 +292,7 @@ public:
ScPrintHFParam GetHeader(){return aHdr;}
ScPrintHFParam GetFooter(){return aFtr;}
- bool HasPrintRange() const;
+ bool HasPrintRange() const { return mbHasPrintRange;}
private:
void Construct( const ScPrintOptions* pOptions );
diff --git a/sc/source/ui/inc/tabview.hxx b/sc/source/ui/inc/tabview.hxx
index dfb8e8be5568..d624759ba9f7 100644
--- a/sc/source/ui/inc/tabview.hxx
+++ b/sc/source/ui/inc/tabview.hxx
@@ -259,7 +259,7 @@ public:
/** Returns the current tab bar width relative to the frame window width (0.0 ... 1.0). */
SC_DLLPUBLIC double GetRelTabBarWidth() const;
/** Returns the pending tab bar width relative to the frame window width (0.0 ... 1.0). */
- double GetPendingRelTabBarWidth() const;
+ double GetPendingRelTabBarWidth() const { return mfPendingTabBarWidth;}
void DoResize( const Point& rOffset, const Size& rSize, bool bInner = false );
void RepeatResize( bool bUpdateFix = true );
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index 9eeb6f825dfe..aa22c2ffabb9 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -252,7 +252,7 @@ public:
bool IsRefInputMode() const;
void ExecuteInputDirect();
- ScInputHandler* GetInputHandler() const;
+ ScInputHandler* GetInputHandler() const { return pInputHandler;}
void UpdateInputHandler( bool bForce = false, bool bStopEditing = true );
void UpdateInputHandlerCellAdjust( SvxCellHorJustify eJust );
bool TabKeyInput(const KeyEvent& rKEvt);
@@ -330,7 +330,7 @@ public:
void SetFormShellAtTop( bool bSet );
- ObjectSelectionType GetCurObjectSelectionType();
+ ObjectSelectionType GetCurObjectSelectionType() { return eCurOST; }
virtual ErrCode DoVerb(long nVerb) SAL_OVERRIDE;
virtual void Initialize() SAL_OVERRIDE;
diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx
index 249c0a0ce134..5ca8953e0ced 100644
--- a/sc/source/ui/inc/tphfedit.hxx
+++ b/sc/source/ui/inc/tphfedit.hxx
@@ -123,7 +123,7 @@ public:
void SetPopupMenu(PopupMenu* pPopUp);
- sal_uInt16 GetSelected() const;
+ sal_uInt16 GetSelected() const { return nSelected;}
OString GetSelectedIdent() const;
void SetMenuHdl( const Link& rLink ) { aMLink = rLink; }
diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx
index 88dae719cbd7..976d54b30f20 100644
--- a/sc/source/ui/inc/uiitems.hxx
+++ b/sc/source/ui/inc/uiitems.hxx
@@ -83,7 +83,7 @@ public:
const EditTextObject* GetEditData() const { return pEditData; }
void SetMisspellRanges( const std::vector<editeng::MisspellRanges>* pRanges );
- const std::vector<editeng::MisspellRanges>* GetMisspellRanges() const;
+ const std::vector<editeng::MisspellRanges>* GetMisspellRanges() const { return mpMisspellRanges;}
};