summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-22 10:20:03 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-22 13:02:57 +0000
commit96d44c9b077a6cc8068067a795dc63248ab90fea (patch)
tree3a6df22d2df616d8c2568264e47a5219475cfc90 /sc/source/ui
parent561cebeeba2155a7ebedbea885c9d7bf43102ec6 (diff)
loplugin:unusedmethods sc
Change-Id: I7bdb1889a942d63370731764a58f4ab524dedd8a Reviewed-on: https://gerrit.libreoffice.org/17287 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx8
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocumentBase.cxx5
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.cxx10
-rw-r--r--sc/source/ui/attrdlg/scdlgfact.hxx2
-rw-r--r--sc/source/ui/drawfunc/fudraw.cxx7
-rw-r--r--sc/source/ui/drawfunc/futext.cxx52
-rw-r--r--sc/source/ui/formdlg/privsplt.cxx18
-rw-r--r--sc/source/ui/inc/AccessibilityHints.hxx6
-rw-r--r--sc/source/ui/inc/AccessibleCellBase.hxx1
-rw-r--r--sc/source/ui/inc/AccessibleDocument.hxx2
-rw-r--r--sc/source/ui/inc/AccessibleDocumentBase.hxx1
-rw-r--r--sc/source/ui/inc/AccessiblePageHeader.hxx3
-rw-r--r--sc/source/ui/inc/AccessiblePreviewTable.hxx3
-rw-r--r--sc/source/ui/inc/AccessibleSpreadsheet.hxx2
-rw-r--r--sc/source/ui/inc/AccessibleText.hxx12
-rw-r--r--sc/source/ui/inc/acredlin.hxx28
-rw-r--r--sc/source/ui/inc/anyrefdg.hxx5
-rw-r--r--sc/source/ui/inc/asciiopt.hxx3
-rw-r--r--sc/source/ui/inc/cbutton.hxx6
-rw-r--r--sc/source/ui/inc/cellsh.hxx3
-rw-r--r--sc/source/ui/inc/checklistmenu.hxx2
-rw-r--r--sc/source/ui/inc/client.hxx1
-rw-r--r--sc/source/ui/inc/condformatdlgentry.hxx1
-rw-r--r--sc/source/ui/inc/condformatuno.hxx11
-rw-r--r--sc/source/ui/inc/content.hxx2
-rw-r--r--sc/source/ui/inc/csvcontrol.hxx2
-rw-r--r--sc/source/ui/inc/csvgrid.hxx3
-rw-r--r--sc/source/ui/inc/csvtablebox.hxx4
-rw-r--r--sc/source/ui/inc/datastream.hxx2
-rw-r--r--sc/source/ui/inc/docfunc.hxx1
-rw-r--r--sc/source/ui/inc/drawview.hxx3
-rw-r--r--sc/source/ui/inc/drwtrans.hxx4
-rw-r--r--sc/source/ui/inc/filtdlg.hxx1
-rw-r--r--sc/source/ui/inc/fudraw.hxx3
-rw-r--r--sc/source/ui/inc/futext.hxx2
-rw-r--r--sc/source/ui/inc/gridwin.hxx2
-rw-r--r--sc/source/ui/inc/impex.hxx16
-rw-r--r--sc/source/ui/inc/inputwin.hxx5
-rw-r--r--sc/source/ui/inc/mvtabdlg.hxx1
-rw-r--r--sc/source/ui/inc/namedlg.hxx3
-rw-r--r--sc/source/ui/inc/navipi.hxx3
-rw-r--r--sc/source/ui/inc/prevwsh.hxx2
-rw-r--r--sc/source/ui/inc/printfun.hxx11
-rw-r--r--sc/source/ui/inc/privsplt.hxx8
-rw-r--r--sc/source/ui/inc/simpref.hxx2
-rw-r--r--sc/source/ui/inc/sortkeydlg.hxx1
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx10
-rw-r--r--sc/source/ui/inc/tphfedit.hxx1
-rw-r--r--sc/source/ui/inc/tpsort.hxx1
-rw-r--r--sc/source/ui/inc/uiitems.hxx9
-rw-r--r--sc/source/ui/inc/validate.hxx14
-rw-r--r--sc/source/ui/inc/viewdata.hxx4
-rw-r--r--sc/source/ui/inc/viewfunc.hxx9
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.hxx7
-rw-r--r--sc/source/ui/sidebar/CellLineStyleControl.hxx10
-rw-r--r--sc/source/ui/vba/vbaname.hxx3
-rw-r--r--sc/source/ui/vba/vbanames.hxx1
-rw-r--r--sc/source/ui/vba/vbapane.hxx2
58 files changed, 4 insertions, 340 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index 7a780984a132..f94d6b2261df 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -2500,14 +2500,6 @@ com::sun::star::uno::Sequence< com::sun::star::uno::Any > ScAccessibleDocument::
return aEmpty;
}
-void ScAccessibleDocument::SwitchViewFireFocus()
-{
- if (mpAccessibleSpreadsheet)
- {
- mpAccessibleSpreadsheet->FireFirstCellFocus();
- }
-}
-
sal_Int32 SAL_CALL ScAccessibleDocument::getForeground( )
throw (uno::RuntimeException, std::exception)
{
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx b/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx
index 599c2b65e1d0..02fd77a66c15 100644
--- a/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocumentBase.cxx
@@ -36,9 +36,4 @@ ScAccessibleDocumentBase::~ScAccessibleDocumentBase()
{
}
-void ScAccessibleDocumentBase::SwitchViewFireFocus()
-{
- CommitFocusGained();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/attrdlg/scdlgfact.cxx b/sc/source/ui/attrdlg/scdlgfact.cxx
index 5b9fb73097f9..53f7363726a4 100644
--- a/sc/source/ui/attrdlg/scdlgfact.cxx
+++ b/sc/source/ui/attrdlg/scdlgfact.cxx
@@ -470,11 +470,6 @@ void AbstractScMoveTableDlg_Impl::SetForceCopyTable()
return pDlg->SetForceCopyTable();
}
-void AbstractScMoveTableDlg_Impl::EnableCopyTable(bool bFlag)
-{
- return pDlg->EnableCopyTable( bFlag);
-}
-
void AbstractScMoveTableDlg_Impl::EnableRenameTable(bool bFlag)
{
return pDlg->EnableRenameTable( bFlag);
@@ -490,11 +485,6 @@ std::vector<OUString> AbstractScNamePasteDlg_Impl::GetSelectedNames() const
return pDlg->GetSelectedNames();
}
-bool AbstractScNamePasteDlg_Impl::IsAllSelected() const
-{
- return false;
-}
-
const ScQueryItem& AbstractScPivotFilterDlg_Impl::GetOutputItem()
{
return pDlg->GetOutputItem();
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx
index 99b9d8347268..647c8d55de63 100644
--- a/sc/source/ui/attrdlg/scdlgfact.hxx
+++ b/sc/source/ui/attrdlg/scdlgfact.hxx
@@ -268,7 +268,6 @@ class AbstractScMoveTableDlg_Impl : public AbstractScMoveTableDlg
virtual bool GetRenameTable () const SAL_OVERRIDE;
virtual void GetTabNameString( OUString& rString ) const SAL_OVERRIDE;
virtual void SetForceCopyTable () SAL_OVERRIDE;
- virtual void EnableCopyTable (bool bFlag=true) SAL_OVERRIDE;
virtual void EnableRenameTable (bool bFlag=true) SAL_OVERRIDE;
};
@@ -282,7 +281,6 @@ class AbstractScNamePasteDlg_Impl : public AbstractScNamePasteDlg
{
DECL_ABSTDLG_BASE( AbstractScNamePasteDlg_Impl, ScNamePasteDlg )
virtual std::vector<OUString> GetSelectedNames() const SAL_OVERRIDE;
- virtual bool IsAllSelected() const SAL_OVERRIDE;
};
class AbstractScPivotFilterDlg_Impl : public AbstractScPivotFilterDlg
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 2817e527b8e5..caa5102c2599 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -669,13 +669,6 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt)
return bReturn;
}
-// II
-void FuDraw::SelectionHasChanged()
-{
- const SdrHdlList& rHdlList = pView->GetHdlList();
- ((SdrHdlList&)rHdlList).ResetFocusHdl();
-}
-
/*************************************************************************
|*
|* enable function
diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx
index ce7cf5c03b5d..2cd2f5f0038d 100644
--- a/sc/source/ui/drawfunc/futext.cxx
+++ b/sc/source/ui/drawfunc/futext.cxx
@@ -619,58 +619,6 @@ void FuText::Deactivate()
/*************************************************************************
|*
-|* Selektion hat sich geaendert
-|*
-\************************************************************************/
-
-void FuText::SelectionHasChanged()
-{
- pView->SetDragMode(SDRDRAG_MOVE);
- SfxBindings& rBindings = pViewShell->GetViewFrame()->GetBindings();
- rBindings.Invalidate( SID_OBJECT_ROTATE );
- rBindings.Invalidate( SID_OBJECT_MIRROR );
-
- pTextObj = NULL;
-
- if ( pView->AreObjectsMarked() )
- {
- const SdrMarkList& rMarkList = pView->GetMarkedObjectList();
-
- if (rMarkList.GetMarkCount() == 1)
- {
- SdrMark* pMark = rMarkList.GetMark(0);
- SdrObject* pObj = pMark->GetMarkedSdrObj();
-
- sal_uInt16 nSdrObjKind = pObj->GetObjIdentifier();
-
- if (nSdrObjKind == OBJ_TEXT ||
- nSdrObjKind == OBJ_TITLETEXT ||
- nSdrObjKind == OBJ_OUTLINETEXT /* ||
- pObj->ISA(SdrTextObj) */ )
- {
- pTextObj = static_cast<SdrTextObj*>(pObj);
- }
- }
- }
-
- if (!pTextObj)
- {
- /**********************************************************************
- * Kein Textobjekt im EditMode, daher CreateMode setzen
- **********************************************************************/
- sal_uInt16 nObj = OBJ_TEXT;
- sal_uInt16 nIdent;
- sal_uInt32 nInvent;
- pView->TakeCurrentObj(nIdent, nInvent);
-
- pView->SetCurrentObj(nObj);
-
- pView->SetCreateMode();
- }
-}
-
-/*************************************************************************
-|*
|* Objekt in Edit-Mode setzen
|*
\************************************************************************/
diff --git a/sc/source/ui/formdlg/privsplt.cxx b/sc/source/ui/formdlg/privsplt.cxx
index e568ed5f7638..311c0787541b 100644
--- a/sc/source/ui/formdlg/privsplt.cxx
+++ b/sc/source/ui/formdlg/privsplt.cxx
@@ -241,24 +241,6 @@ void ScPrivatSplit::SetYRange(Range cRgeY)
#*
#* Klasse: ScPrivatSplit
#*
-#* Funktion: Liefert die relative x-Verschiebung zurueck
-#*
-#* Input: ---
-#*
-#* Output: ---
-#*
-#************************************************************************/
-short ScPrivatSplit::GetDeltaX()
-{
- return nDeltaX;
-}
-
-/*************************************************************************
-#* Member: GetDeltaY
-#*------------------------------------------------------------------------
-#*
-#* Klasse: ScPrivatSplit
-#*
#* Funktion: Liefert die relative y-Verschiebung zurueck
#*
#* Input: ---
diff --git a/sc/source/ui/inc/AccessibilityHints.hxx b/sc/source/ui/inc/AccessibilityHints.hxx
index dcba897768a2..165a96806c7e 100644
--- a/sc/source/ui/inc/AccessibilityHints.hxx
+++ b/sc/source/ui/inc/AccessibilityHints.hxx
@@ -42,9 +42,6 @@ public:
ScAccWinFocusLostHint(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xOld );
virtual ~ScAccWinFocusLostHint();
-
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
- GetOldAccessible() const { return xOldAccessible; }
};
class ScAccWinFocusGotHint : public SfxHint
@@ -55,9 +52,6 @@ public:
ScAccWinFocusGotHint(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xNew );
virtual ~ScAccWinFocusGotHint();
-
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
- GetNewAccessible() const { return xNewAccessible; }
};
class ScAccGridWinFocusLostHint : public ScAccWinFocusLostHint
diff --git a/sc/source/ui/inc/AccessibleCellBase.hxx b/sc/source/ui/inc/AccessibleCellBase.hxx
index 8037f1fe382b..562afedcac2e 100644
--- a/sc/source/ui/inc/AccessibleCellBase.hxx
+++ b/sc/source/ui/inc/AccessibleCellBase.hxx
@@ -148,7 +148,6 @@ protected:
throw (::com::sun::star::uno::RuntimeException, std::exception);
public:
const ScAddress& GetCellAddress() const { return maCellAddress; }
- bool IsCellInChangeTrack(const ScAddress &cell,Color *pColCellBoder);
};
#endif
diff --git a/sc/source/ui/inc/AccessibleDocument.hxx b/sc/source/ui/inc/AccessibleDocument.hxx
index df29b57a1310..3e1d94f3cafc 100644
--- a/sc/source/ui/inc/AccessibleDocument.hxx
+++ b/sc/source/ui/inc/AccessibleDocument.hxx
@@ -298,8 +298,6 @@ public:
virtual sal_Int32 SAL_CALL getBackground( )
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-protected:
- void SwitchViewFireFocus() SAL_OVERRIDE;
};
#endif
diff --git a/sc/source/ui/inc/AccessibleDocumentBase.hxx b/sc/source/ui/inc/AccessibleDocumentBase.hxx
index de147514f252..78af5575d62b 100644
--- a/sc/source/ui/inc/AccessibleDocumentBase.hxx
+++ b/sc/source/ui/inc/AccessibleDocumentBase.hxx
@@ -30,7 +30,6 @@ public:
ScAccessibleDocumentBase(
const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible>& rxParent);
- virtual void SwitchViewFireFocus();
protected:
virtual ~ScAccessibleDocumentBase();
};
diff --git a/sc/source/ui/inc/AccessiblePageHeader.hxx b/sc/source/ui/inc/AccessiblePageHeader.hxx
index 86bfd28fcafe..74817c4a2ec6 100644
--- a/sc/source/ui/inc/AccessiblePageHeader.hxx
+++ b/sc/source/ui/inc/AccessiblePageHeader.hxx
@@ -73,9 +73,6 @@ public:
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- //===== internal ========================================================
- void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; }
-
protected:
virtual OUString SAL_CALL createAccessibleDescription() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual OUString SAL_CALL createAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/sc/source/ui/inc/AccessiblePreviewTable.hxx b/sc/source/ui/inc/AccessiblePreviewTable.hxx
index a985fc3a5912..d4068a0ec1c1 100644
--- a/sc/source/ui/inc/AccessiblePreviewTable.hxx
+++ b/sc/source/ui/inc/AccessiblePreviewTable.hxx
@@ -166,9 +166,6 @@ public:
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- //===== internal ========================================================
- void SetCurrentIndexInParent(sal_Int32 nNew) { mnIndex = nNew; }
-
protected:
virtual OUString SAL_CALL createAccessibleDescription() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual OUString SAL_CALL createAccessibleName()
diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
index 3bc2d3c43772..ad8fc59709c1 100644
--- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx
+++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
@@ -288,8 +288,6 @@ private:
bool IsCompleteSheetSelected();
void SelectCell(sal_Int32 nRow, sal_Int32 nCol, bool bDeselect);
- void CreateSortedMarkedCells();
- void AddMarkedRange(const ScRange& rRange);
static ScDocument* GetDocument(ScTabViewShell* pViewShell);
static Rectangle GetVisArea(ScTabViewShell* pViewShell, ScSplitPos eSplitPos);
diff --git a/sc/source/ui/inc/AccessibleText.hxx b/sc/source/ui/inc/AccessibleText.hxx
index 649e79e17261..0b0191110397 100644
--- a/sc/source/ui/inc/AccessibleText.hxx
+++ b/sc/source/ui/inc/AccessibleText.hxx
@@ -54,8 +54,6 @@ public:
SfxBroadcaster& GetBroadcaster() const { return maBroadcaster; }
virtual void UpdateData() = 0;
- virtual void SetDoUpdate(bool bValue) = 0;
- virtual bool IsDirty() const = 0;
DECL_LINK( NotifyHdl, EENotify* );
private:
@@ -74,8 +72,6 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE { ScCellTextData::Notify(rBC, rHint); }
virtual void UpdateData() SAL_OVERRIDE { ScCellTextData::UpdateData(); }
- virtual void SetDoUpdate(bool bValue) SAL_OVERRIDE { ScCellTextData::SetDoUpdate(bValue); }
- virtual bool IsDirty() const SAL_OVERRIDE { return ScCellTextData::IsDirty(); }
};
// ScAccessibleCellTextData: shared data between sub objects of a accessible cell text object
@@ -124,8 +120,6 @@ public:
virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate ) SAL_OVERRIDE;
virtual void UpdateData() SAL_OVERRIDE { }
- virtual void SetDoUpdate(bool /* bValue */) SAL_OVERRIDE { }
- virtual bool IsDirty() const SAL_OVERRIDE { return false; }
DECL_LINK( NotifyHdl, EENotify* );
protected:
@@ -224,8 +218,6 @@ public:
virtual SvxEditViewForwarder* GetEditViewForwarder( bool /* bCreate */ ) SAL_OVERRIDE { return NULL; }
virtual void UpdateData() SAL_OVERRIDE { }
- virtual void SetDoUpdate(bool /* bValue */) SAL_OVERRIDE { }
- virtual bool IsDirty() const SAL_OVERRIDE { return false; }
private:
ScPreviewViewForwarder* mpViewForwarder;
ScPreviewShell* mpViewShell;
@@ -254,8 +246,6 @@ public:
virtual SvxEditViewForwarder* GetEditViewForwarder( bool /* bCreate */ ) SAL_OVERRIDE { return NULL; }
virtual void UpdateData() SAL_OVERRIDE { }
- virtual void SetDoUpdate(bool /* bValue */) SAL_OVERRIDE { }
- virtual bool IsDirty() const SAL_OVERRIDE { return false; }
private:
ScPreviewViewForwarder* mpViewForwarder;
ScPreviewShell* mpViewShell;
@@ -300,8 +290,6 @@ public:
virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate ) SAL_OVERRIDE;
virtual void UpdateData() SAL_OVERRIDE {}
- virtual void SetDoUpdate( bool /* bValue */ ) SAL_OVERRIDE {}
- virtual bool IsDirty() const SAL_OVERRIDE { return false; }
};
#endif
diff --git a/sc/source/ui/inc/acredlin.hxx b/sc/source/ui/inc/acredlin.hxx
index da61f5a9da84..d3d77069799f 100644
--- a/sc/source/ui/inc/acredlin.hxx
+++ b/sc/source/ui/inc/acredlin.hxx
@@ -45,37 +45,9 @@ class ScDocument;
#define FLT_DATE_BETWEEN 4
#define FLT_DATE_SAVE 5
-class ScViewEntryPtr
-{
-private:
- OUString* pAction;
- OUString* pPos;
- OUString* pAuthor;
- OUString* pDate;
- OUString* pComment;
- void* pData;
-
-public:
-
- OUString* GetpAction() {return pAction; }
- OUString* GetpPos() {return pPos; }
- OUString* GetpAuthor() {return pAuthor; }
- OUString* GetpDate() {return pDate; }
- OUString* GetpComment() {return pComment;}
- void* GetpData() {return pData; }
-
- void SetpAction (OUString* pString) {pAction= pString;}
- void SetpPos (OUString* pString) {pPos = pString;}
- void SetpAuthor (OUString* pString) {pAuthor= pString;}
- void SetpDate (OUString* pString) {pDate = pString;}
- void SetpComment(OUString* pString) {pComment=pString;}
- void SetpData (void* pdata) {pData =pdata;}
-};
-
class ScRedlinData : public RedlinData
{
public:
-
ScRedlinData();
virtual ~ScRedlinData();
SCTAB nTable;
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index 8341ba86a694..77b073a89751 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -96,9 +96,6 @@ public:
static void enableInput(bool _bInput);
-protected:
- vcl::Window* GetWindow(){ return m_pWindow; }
-
public:
static bool CanInputStart( const formula::RefEdit *pEdit ){ return !!pEdit; }
bool CanInputDone( bool bForced ){ return pRefEdit && (bForced || !pRefBtn); }
@@ -135,8 +132,6 @@ protected:
virtual void RefInputStart( formula::RefEdit* pEdit, formula::RefButton* pButton = NULL ) SAL_OVERRIDE;
virtual void RefInputDone( bool bForced = false ) SAL_OVERRIDE;
- void ShowSimpleReference(const OUString& rStr);
- void ShowFormulaReference(const OUString& rStr);
bool ParseWithNames( ScRangeList& rRanges, const OUString& rStr, ScDocument* pDoc );
diff --git a/sc/source/ui/inc/asciiopt.hxx b/sc/source/ui/inc/asciiopt.hxx
index 9e4c845e9760..6099fdac1afe 100644
--- a/sc/source/ui/inc/asciiopt.hxx
+++ b/sc/source/ui/inc/asciiopt.hxx
@@ -62,10 +62,7 @@ public:
void ReadFromString( const OUString& rString );
OUString WriteToString() const;
- void InterpretColumnList( const OUString& rString );
-
rtl_TextEncoding GetCharSet() const { return eCharSet; }
- bool GetCharSetSystem() const { return bCharSetSystem; }
const OUString& GetFieldSeps() const { return aFieldSeps; }
bool IsMergeSeps() const { return bMergeFieldSeps; }
bool IsQuotedAsText() const { return bQuotedFieldAsText; }
diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx
index 2e8c8b1eac53..45c6a13099ba 100644
--- a/sc/source/ui/inc/cbutton.hxx
+++ b/sc/source/ui/inc/cbutton.hxx
@@ -38,12 +38,6 @@ public:
const Size& rSize,
bool bState,
bool bBtnIn = false );
-
- void Draw( const Point& rAt,
- bool bState,
- bool bBtnIn = false )
- { Draw( rAt, aBtnSize, bState, bBtnIn ); }
-
void Draw( bool bState,
bool bBtnIn = false )
{ Draw( aBtnPos, aBtnSize, bState, bBtnIn ); }
diff --git a/sc/source/ui/inc/cellsh.hxx b/sc/source/ui/inc/cellsh.hxx
index 6e03ef1e5d0c..59a0868322cf 100644
--- a/sc/source/ui/inc/cellsh.hxx
+++ b/sc/source/ui/inc/cellsh.hxx
@@ -93,9 +93,6 @@ public:
void ExecuteDB( SfxRequest& rReq );
void GetDBState( SfxItemSet& rSet );
- void ExecImageMap(SfxRequest& rReq); // ImageMap
- void GetImageMapState(SfxItemSet& rSet);
-
void GetClipState( SfxItemSet& rSet );
void GetHLinkState( SfxItemSet& rSet );
diff --git a/sc/source/ui/inc/checklistmenu.hxx b/sc/source/ui/inc/checklistmenu.hxx
index f4e714a5f220..123ca41c9485 100644
--- a/sc/source/ui/inc/checklistmenu.hxx
+++ b/sc/source/ui/inc/checklistmenu.hxx
@@ -334,8 +334,6 @@ private:
DECL_LINK( EdModifyHdl, void* );
private:
- SvTreeListEntry* findEntry( SvTreeListEntry* pParent, const OUString& rText );
-
VclPtr<Edit> maEdSearch;
VclPtr<ScCheckListBox> maChecks;
diff --git a/sc/source/ui/inc/client.hxx b/sc/source/ui/inc/client.hxx
index 769ce16d5336..6bfd7c1931c5 100644
--- a/sc/source/ui/inc/client.hxx
+++ b/sc/source/ui/inc/client.hxx
@@ -41,7 +41,6 @@ public:
ScClient( ScTabViewShell* pViewShell, vcl::Window* pDraw, SdrModel* pSdrModel, SdrOle2Obj* pObj );
virtual ~ScClient();
- SdrGrafObj* GetGrafEdit() const { return pGrafEdit; }
void SetGrafEdit(SdrGrafObj* pNew) { pGrafEdit = pNew; }
SdrOle2Obj* GetDrawObj();
};
diff --git a/sc/source/ui/inc/condformatdlgentry.hxx b/sc/source/ui/inc/condformatdlgentry.hxx
index 22ddf7ddeea1..d5c78f92ab9e 100644
--- a/sc/source/ui/inc/condformatdlgentry.hxx
+++ b/sc/source/ui/inc/condformatdlgentry.hxx
@@ -73,7 +73,6 @@ public:
bool IsSelected() const { return mbActive;}
void SetIndex(sal_Int32 nIndex);
- sal_Int32 GetIndex() const { return mnIndex; }
void SetHeight();
virtual ScFormatEntry* GetEntry() const = 0;
diff --git a/sc/source/ui/inc/condformatuno.hxx b/sc/source/ui/inc/condformatuno.hxx
index 0e70a853616f..2342ab0f414d 100644
--- a/sc/source/ui/inc/condformatuno.hxx
+++ b/sc/source/ui/inc/condformatuno.hxx
@@ -59,8 +59,6 @@ public:
virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) SAL_OVERRIDE;
- static ScCondFormatsObj* getImplementation( uno::Reference< com::sun::star::sheet::XConditionalFormats > xCondFormat );
-
// XConditionalFormats
virtual sal_Int32 SAL_CALL createByRange(const uno::Reference<sheet::XSheetCellRanges>& xRanges)
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -92,7 +90,6 @@ public:
virtual ~ScCondFormatObj();
- static ScCondFormatObj* getImplementation( uno::Reference<sheet::XConditionalFormat> XCondFormat);
ScDocShell* getDocShell();
// XConditionalFormat
@@ -180,8 +177,6 @@ public:
const ScCondFormatEntry* pFormat);
virtual ~ScConditionEntryObj();
- static ScConditionEntryObj* getImplementation(uno::Reference<sheet::XConditionEntry> xCondition);
-
ScCondFormatEntry* getCoreObject();
// XConditionEntry
@@ -244,8 +239,6 @@ public:
ScColorScaleFormatObj(rtl::Reference<ScCondFormatObj> xParent, const ScColorScaleFormat* pFormat);
virtual ~ScColorScaleFormatObj();
- static ScColorScaleFormatObj* getImplementation(uno::Reference<beans::XPropertySet> xPropSet);
-
// XConditionEntry
virtual sal_Int32 SAL_CALL getType()
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -341,8 +334,6 @@ public:
const ScDataBarFormat* pFormat);
virtual ~ScDataBarFormatObj();
- static ScDataBarFormatObj* getImplementation(uno::Reference<beans::XPropertySet> xPropSet);
-
ScDataBarFormat* getCoreObject();
// XConditionEntry
@@ -431,8 +422,6 @@ public:
const ScIconSetFormat* pFormat);
virtual ~ScIconSetFormatObj();
- static ScIconSetFormatObj* getImplementation(uno::Reference<beans::XPropertySet> xPropSet);
-
ScIconSetFormat* getCoreObject();
// XConditionEntry
diff --git a/sc/source/ui/inc/content.hxx b/sc/source/ui/inc/content.hxx
index 004b5384501d..2f482a3fd16b 100644
--- a/sc/source/ui/inc/content.hxx
+++ b/sc/source/ui/inc/content.hxx
@@ -155,8 +155,6 @@ public:
void ApplyNavigatorSettings();
/** Stores the current listbox state in the navigator settings. */
void StoreNavigatorSettings() const;
-
- static bool IsInDrag() { return bIsInDrag; }
};
#endif // INCLUDED_SC_SOURCE_UI_INC_CONTENT_HXX
diff --git a/sc/source/ui/inc/csvcontrol.hxx b/sc/source/ui/inc/csvcontrol.hxx
index e2fbc49ab943..0c9edb80da2c 100644
--- a/sc/source/ui/inc/csvcontrol.hxx
+++ b/sc/source/ui/inc/csvcontrol.hxx
@@ -286,8 +286,6 @@ public:
/** Sets a new command handler. */
inline void SetCmdHdl( const Link<>& rHdl ) { maCmdHdl = rHdl; }
- /** Returns the current command handler. */
- inline const Link<>& GetCmdHdl() const { return maCmdHdl; }
/** Returns data of the last command. */
inline const ScCsvCmd& GetCmd() const { return maCmd; }
diff --git a/sc/source/ui/inc/csvgrid.hxx b/sc/source/ui/inc/csvgrid.hxx
index eab22d10ca8b..85c71c1fcabc 100644
--- a/sc/source/ui/inc/csvgrid.hxx
+++ b/sc/source/ui/inc/csvgrid.hxx
@@ -220,9 +220,6 @@ public:
sal_uInt32 GetFirstSelected() const;
/** Returns index of the first selected column really after nFromIndex. */
sal_uInt32 GetNextSelected( sal_uInt32 nFromIndex ) const;
- /** Returns true, if at least one column is selected. */
- inline bool HasSelection() const { return GetFirstSelected() != CSV_COLUMN_INVALID; }
-
/** Selects or deselects the specified column. */
void Select( sal_uInt32 nColIndex, bool bSelect = true );
/** Toggles selection of the specified column. */
diff --git a/sc/source/ui/inc/csvtablebox.hxx b/sc/source/ui/inc/csvtablebox.hxx
index b51abc687de1..4386d78da164 100644
--- a/sc/source/ui/inc/csvtablebox.hxx
+++ b/sc/source/ui/inc/csvtablebox.hxx
@@ -114,12 +114,8 @@ public:
public:
/** Sets a new handler for "update cell texts" requests. */
inline void SetUpdateTextHdl( const Link<>& rHdl ) { maUpdateTextHdl = rHdl; }
- /** Returns the handler for "update cell texts" requests. */
- inline const Link<>& GetUpdateTextHdl() const { return maUpdateTextHdl; }
/** Sets a new handler for "column selection changed" events. */
inline void SetColTypeHdl( const Link<>& rHdl ) { maColTypeHdl = rHdl; }
- /** Returns the handler for "column selection changed" events. */
- inline const Link<>& GetColTypeHdl() const { return maColTypeHdl; }
protected:
virtual void Resize() SAL_OVERRIDE;
diff --git a/sc/source/ui/inc/datastream.hxx b/sc/source/ui/inc/datastream.hxx
index bfe172017326..e962b61aa78c 100644
--- a/sc/source/ui/inc/datastream.hxx
+++ b/sc/source/ui/inc/datastream.hxx
@@ -79,9 +79,7 @@ public:
ScRange GetRange() const;
const OUString& GetURL() const { return msURL; }
- const sal_Int32& GetLimit() const { return mnLimit; }
MoveType GetMove() const { return meOrigMove;}
- const sal_uInt32& GetSettings() const { return mnSettings; }
bool IsRefreshOnEmptyLine() const { return mbRefreshOnEmptyLine;}
void Decode(
diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx
index 9ed1ed033ac4..07091c4fd1b6 100644
--- a/sc/source/ui/inc/docfunc.hxx
+++ b/sc/source/ui/inc/docfunc.hxx
@@ -113,7 +113,6 @@ public:
const formula::FormulaGrammar::Grammar eGrammar );
bool ShowNote( const ScAddress& rPos, bool bShow = true );
- inline bool HideNote( const ScAddress& rPos ) { return ShowNote( rPos, false ); }
bool SetNoteText( const ScAddress& rPos, const OUString& rNoteText, bool bApi );
bool ReplaceNote( const ScAddress& rPos, const OUString& rNoteText, const OUString* pAuthor, const OUString* pDate, bool bApi );
diff --git a/sc/source/ui/inc/drawview.hxx b/sc/source/ui/inc/drawview.hxx
index 6065dc81c6df..85afb05f505f 100644
--- a/sc/source/ui/inc/drawview.hxx
+++ b/sc/source/ui/inc/drawview.hxx
@@ -106,7 +106,6 @@ public:
void UpdateIMap( SdrObject* pObj );
- sal_uInt16 GetPopupMenuId();
void UpdateUserViewOptions();
void SetMarkedOriginalSize();
@@ -124,8 +123,6 @@ public:
/** Locks/unlocks the specified layer in the draw page.
Unlocked layer is required to be able to edit the contained objects. */
void LockCalcLayer( SdrLayerID nLayer, bool bLock = true );
- /** Unlocks the specified layer in the draw page. */
- inline void UnlockCalcLayer( SdrLayerID nLayer ) { LockCalcLayer( nLayer, false ); }
/** Locks/unlocks the background layer that contains background objects.
Unlocked layer is required to be able to edit the objects. */
diff --git a/sc/source/ui/inc/drwtrans.hxx b/sc/source/ui/inc/drwtrans.hxx
index 5103d3a3312d..2e93659711e9 100644
--- a/sc/source/ui/inc/drwtrans.hxx
+++ b/sc/source/ui/inc/drwtrans.hxx
@@ -94,10 +94,6 @@ public:
SdrView* GetDragSourceView() { return pDragSourceView; }
sal_uInt16 GetDragSourceFlags() const { return nDragSourceFlags; }
- void SetSourceDocID( sal_uInt32 nVal )
- { nSourceDocID = nVal; }
- sal_uInt32 GetSourceDocID() const { return nSourceDocID; }
-
static ScDrawTransferObj* GetOwnClipboard( vcl::Window* pUIWin );
virtual sal_Int64 SAL_CALL getSomething( const com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
static const com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
diff --git a/sc/source/ui/inc/filtdlg.hxx b/sc/source/ui/inc/filtdlg.hxx
index 693d12848731..aeb9905f76dc 100644
--- a/sc/source/ui/inc/filtdlg.hxx
+++ b/sc/source/ui/inc/filtdlg.hxx
@@ -139,7 +139,6 @@ private:
private:
void Init ( const SfxItemSet& rArgSet );
void FillFieldLists ();
- void FillAreaList ();
void UpdateValueList ( size_t nList );
void UpdateHdrInValueList( size_t nList );
void ClearValueList ( size_t nList );
diff --git a/sc/source/ui/inc/fudraw.hxx b/sc/source/ui/inc/fudraw.hxx
index 760d8bb0f58e..1a0b1da909a9 100644
--- a/sc/source/ui/inc/fudraw.hxx
+++ b/sc/source/ui/inc/fudraw.hxx
@@ -46,9 +46,6 @@ class FuDraw : public FuPoor
virtual bool MouseButtonUp(const MouseEvent& rMEvt) SAL_OVERRIDE;
virtual bool MouseButtonDown(const MouseEvent& rMEvt) SAL_OVERRIDE;
- // II
- virtual void SelectionHasChanged();
-
bool IsEditingANote() const;
bool IsSizingOrMovingNote( const MouseEvent& rMEvt ) const;
diff --git a/sc/source/ui/inc/futext.hxx b/sc/source/ui/inc/futext.hxx
index 851d01082b26..81ce747eb48f 100644
--- a/sc/source/ui/inc/futext.hxx
+++ b/sc/source/ui/inc/futext.hxx
@@ -48,8 +48,6 @@ public:
virtual void ForcePointer(const MouseEvent* pMEvt) SAL_OVERRIDE;
- virtual void SelectionHasChanged() SAL_OVERRIDE;
-
void SetInEditMode( SdrObject* pObj = NULL, const Point* pMousePixel = NULL,
bool bCursorToEnd = false, const KeyEvent* pInitialKey = NULL );
void StopEditMode(bool bTextDirection = false);
diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx
index c05cea9fa772..281ae8cc96bb 100644
--- a/sc/source/ui/inc/gridwin.hxx
+++ b/sc/source/ui/inc/gridwin.hxx
@@ -391,8 +391,6 @@ public:
/// MapMode for the drawinglayer objects.
MapMode GetDrawMapMode( bool bForce = false );
- void ContinueDrag();
-
void StopMarking();
void UpdateInputContext();
diff --git a/sc/source/ui/inc/impex.hxx b/sc/source/ui/inc/impex.hxx
index 43c6891d4b23..b0466152367b 100644
--- a/sc/source/ui/inc/impex.hxx
+++ b/sc/source/ui/inc/impex.hxx
@@ -97,17 +97,10 @@ public:
void SetExtOptions( const ScAsciiOptions& rOpt );
void SetFilterOptions( const OUString& rFilterOptions );
-
- bool IsDoubleRef() const { return !( bAll || bSingle ); }
- bool IsSingleRef() const { return bSingle; }
- bool IsNoRef() const { return bAll; }
bool IsRef() const { return !bAll; }
const ScRange& GetRange() const { return aRange; }
- bool IsUndo() const { return bUndo; }
- void SetUndo( bool b ) { bUndo = b; }
-
SC_DLLPUBLIC static void EmbeddedNullTreatment( OUString & rStr );
static bool IsFormatSupported( SotClipboardFormatId nFormat );
@@ -121,19 +114,12 @@ public:
//! only if stream is only used in own (!) memory
static inline void SetNoEndianSwap( SvStream& rStrm );
- sal_Unicode GetSeparator() const { return cSep; }
void SetSeparator( sal_Unicode c ) { cSep = c; }
- sal_Unicode GetDelimiter() const { return cStr; }
void SetDelimiter( sal_Unicode c ) { cStr = c; }
- bool IsFormulas() const { return bFormulas; }
void SetFormulas( bool b ) { bFormulas = b; }
- bool IsIncludeFiltered() const { return bIncludeFiltered; }
void SetIncludeFiltered( bool b ) { bIncludeFiltered = b; }
- void SetSizeLimit( sal_uLong nNew ) { nSizeLimit = nNew; } // for the moment only for Ascii
-
void SetStreamPath( const OUString& rPath ) { aStreamPath = rPath; }
- const OUString& GetStreamPath() const { return aStreamPath; }
bool ImportString( const OUString&, SotClipboardFormatId=SotClipboardFormatId::STRING );
bool ExportString( OUString&, SotClipboardFormatId=SotClipboardFormatId::STRING );
@@ -155,11 +141,9 @@ public:
const OUString& GetNonConvertibleChars() const { return aNonConvertibleChars; }
- bool IsApi() const { return mbApi; }
void SetApi( bool bApi ) { mbApi = bApi; }
void SetImportBroadcast( bool b ) { mbImportBroadcast = b; }
void SetOverwriting( const bool bOverwriting ) { mbOverwriting = bOverwriting; }
- const ScExportTextOptions& GetExportTextOptions() { return mExportTextOptions; }
void SetExportTextOptions( const ScExportTextOptions& options ) { mExportTextOptions = options; }
};
diff --git a/sc/source/ui/inc/inputwin.hxx b/sc/source/ui/inc/inputwin.hxx
index aba78346df6b..a09ddba9aaad 100644
--- a/sc/source/ui/inc/inputwin.hxx
+++ b/sc/source/ui/inc/inputwin.hxx
@@ -189,7 +189,6 @@ protected:
DECL_LINK( NotifyHdl, EENotify* );
DECL_LINK( ModifyHdl, EENotify* );
private:
- long GetPixelTextHeight();
ScInputBarGroup& mrGroupBar;
long mnLines;
long mnLastExpandedLines;
@@ -206,18 +205,14 @@ public:
virtual void dispose() SAL_OVERRIDE;
virtual void InsertAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) SAL_OVERRIDE;
virtual void RemoveAccessibleTextData( ScAccessibleEditLineTextData& rTextData ) SAL_OVERRIDE;
-// virtual void Paint(const Rectangle& rRect );
void SetTextString( const OUString& rString ) SAL_OVERRIDE;
void StartEditEngine() SAL_OVERRIDE;
EditView* GetEditView() SAL_OVERRIDE;
- void SetSize(Size aSize);
virtual void Resize() SAL_OVERRIDE;
virtual const OUString& GetTextString() const SAL_OVERRIDE;
virtual void StopEditEngine( bool bAll ) SAL_OVERRIDE;
virtual void TextGrabFocus() SAL_OVERRIDE;
- void InitEditEngine(SfxObjectShell* pObjSh);
void SetFormulaMode( bool bSet ) SAL_OVERRIDE;
- bool IsFocus();
void MakeDialogEditView() SAL_OVERRIDE;
bool IsInputActive() SAL_OVERRIDE;
ScrollBar& GetScrollBar() { return *aScrollBar.get(); }
diff --git a/sc/source/ui/inc/mvtabdlg.hxx b/sc/source/ui/inc/mvtabdlg.hxx
index cef3d5f8160b..c19d14a607bd 100644
--- a/sc/source/ui/inc/mvtabdlg.hxx
+++ b/sc/source/ui/inc/mvtabdlg.hxx
@@ -75,7 +75,6 @@ private:
bool mbEverEdited:1;
void Init ();
- void InitBtnRename ();
void InitDocListBox ();
DECL_LINK( OkHdl, void * );
DECL_LINK( SelHdl, ListBox * );
diff --git a/sc/source/ui/inc/namedlg.hxx b/sc/source/ui/inc/namedlg.hxx
index cad2f9d8d364..1642311e60b6 100644
--- a/sc/source/ui/inc/namedlg.hxx
+++ b/sc/source/ui/inc/namedlg.hxx
@@ -86,7 +86,6 @@ private:
void Init();
void UpdateChecks(ScRangeData* pData);
void ShowOptions(const ScRangeNameLine& rLine);
- void UpdateNames();
bool IsNameValid();
bool IsFormulaValid();
@@ -96,9 +95,7 @@ private:
bool AddPushed();
void RemovePushed();
- void OKPushed();
void CancelPushed();
- void NameSelected();
void ScopeChanged();
void NameModified();
diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx
index c355813b300e..69ee4a0b5e37 100644
--- a/sc/source/ui/inc/navipi.hxx
+++ b/sc/source/ui/inc/navipi.hxx
@@ -262,9 +262,6 @@ private:
void DoResize();
- SfxBindings& GetBindings()
- { return rBindings; }
-
void SetCurrentCell( SCCOL nCol, SCROW Row );
void SetCurrentCellStr( const OUString& rName );
void SetCurrentTable( SCTAB nTab );
diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx
index 448b3f514151..e8a1e1745adc 100644
--- a/sc/source/ui/inc/prevwsh.hxx
+++ b/sc/source/ui/inc/prevwsh.hxx
@@ -100,8 +100,6 @@ public:
void FillFieldData( ScHeaderFieldData& rData );
- ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >
- GetSourceData() const { return aSourceData; }
TriState GetSourceDesignMode() const { return nSourceDesignMode; }
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
diff --git a/sc/source/ui/inc/printfun.hxx b/sc/source/ui/inc/printfun.hxx
index 265789578cca..7b7e96047cb9 100644
--- a/sc/source/ui/inc/printfun.hxx
+++ b/sc/source/ui/inc/printfun.hxx
@@ -266,12 +266,8 @@ public:
void GetScaleData( Size& rPhysSize, long& rDocHdr, long& rDocFtr );
long GetFirstPageNo() const { return aTableParam.nFirstPageNo; }
- // Query last value - after DoPrint!!
-
- double GetScaleX() const { return nScaleX; }
- double GetScaleY() const { return nScaleY; }
long GetTotalPages() const { return nTotalPages; }
- sal_uInt16 GetZoom() const { return nZoom; }
+ sal_uInt16 GetZoom() const { return nZoom; }
void ResetBreaks( SCTAB nTab );
@@ -281,10 +277,6 @@ public:
sal_uInt16 GetRightMargin() const{return nRightMargin;}
sal_uInt16 GetTopMargin() const{return nTopMargin;}
sal_uInt16 GetBottomMargin() const{return nBottomMargin;}
- void SetLeftMargin(sal_uInt16 nRulerLeftDistance){ nLeftMargin = nRulerLeftDistance; }
- void SetRightMargin(sal_uInt16 nRulerRightDistance){ nRightMargin = nRulerRightDistance; }
- void SetTopMargin(sal_uInt16 nRulerTopDistance){ nTopMargin = nRulerTopDistance; }
- void SetBottomMargin(sal_uInt16 nRulerBottomDistance){ nBottomMargin = nRulerBottomDistance; }
ScPrintHFParam GetHeader(){return aHdr;}
ScPrintHFParam GetFooter(){return aFtr;}
@@ -310,7 +302,6 @@ private:
bool IsLeft( long nPageNo );
bool IsMirror( long nPageNo );
- void ReplaceFields( long nPageNo ); // changes Text in pEditEngine
void MakeTableString(); // sets aTableStr
void PrintPage( long nPageNo,
diff --git a/sc/source/ui/inc/privsplt.hxx b/sc/source/ui/inc/privsplt.hxx
index 9089782f5bb4..7137cbdd8e40 100644
--- a/sc/source/ui/inc/privsplt.hxx
+++ b/sc/source/ui/inc/privsplt.hxx
@@ -26,7 +26,7 @@ enum SC_SPLIT_DIRECTION {SC_SPLIT_HORZ,SC_SPLIT_VERT };
class ScPrivatSplit : public Control
{
- private:
+private:
Link<> aCtrModifiedLink;
bool aMovingFlag;
@@ -44,17 +44,16 @@ class ScPrivatSplit : public Control
using Control::ImplInitSettings;
void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
- protected:
+protected:
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
virtual void MouseButtonUp( const MouseEvent& rMEvt) SAL_OVERRIDE;
- public:
+public:
ScPrivatSplit( vcl::Window* pWindow, const ResId& rResId,
SC_SPLIT_DIRECTION eScSplit);
- short GetDeltaX();
short GetDeltaY();
void CtrModified();
@@ -67,7 +66,6 @@ class ScPrivatSplit : public Control
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
void SetCtrModifiedHdl( const Link<>& rLink ) { aCtrModifiedLink = rLink; }
- const Link<>& GetCtrModifiedHdl() const { return aCtrModifiedLink; }
};
#endif
diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx
index 4b8db1757763..ca290c49de56 100644
--- a/sc/source/ui/inc/simpref.hxx
+++ b/sc/source/ui/inc/simpref.hxx
@@ -84,8 +84,6 @@ public:
const Link<>& rChange );
void SetFlags( bool bSetCloseOnButtonUp, bool bSetSingleCell, bool bSetMultiSelection );
-
- void SetAutoReOpen(bool bFlag) {bAutoReOpen=bFlag;}
};
#endif // INCLUDED_SC_SOURCE_UI_INC_SIMPREF_HXX
diff --git a/sc/source/ui/inc/sortkeydlg.hxx b/sc/source/ui/inc/sortkeydlg.hxx
index 07c12739b3dc..6fb376f016e7 100644
--- a/sc/source/ui/inc/sortkeydlg.hxx
+++ b/sc/source/ui/inc/sortkeydlg.hxx
@@ -57,7 +57,6 @@ public:
void AddSortKey( sal_uInt16 nItem );
void DoScroll( sal_Int32 nNewPos );
sal_Int32 GetItemHeight() const { return nItemHeight; }
- sal_Int32 GetTotalHeight() const { return m_pBox->GetSizePixel().Height(); }
};
class ScSortKeyCtrl
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index ce3c4a5b7e49..df4ba4837d4b 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -291,12 +291,9 @@ public:
void SetDrawTextShell( bool bActive );
void SetPivotShell( bool bActive );
- ScArea* GetPivotSource(){return pPivotSource;}
- void SetPivotSource(ScArea* pSrc){pPivotSource=pSrc;}
void SetDialogDPObject( const ScDPObject* pObj );
const ScDPObject* GetDialogDPObject() const { return pDialogDPObject; }
- bool GetDontSwitch(){return bDontSwitch;}
void SetDontSwitch(bool bFlag){bDontSwitch=bFlag;}
void SetAuditShell( bool bActive );
@@ -326,8 +323,6 @@ public:
bool GetChartArea( ScRangeListRef& rSource, Rectangle& rDest, SCTAB& rTab ) const;
- void SetEditChartName(const OUString& aStr){aEditChartName=aStr;}
-
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
ScNavigatorSettings* GetNavigatorSettings();
@@ -351,10 +346,6 @@ public:
vcl::Window* pParent, sal_uInt16 nSlotId );
void UpdateOleZoom();
- inline SbxObject* GetScSbxObject() const
- { return pScSbxObject; }
- inline void SetScSbxObject( SbxObject* pOb )
- { pScSbxObject = pOb; }
virtual const FmFormShell* GetFormShell() const SAL_OVERRIDE { return pFormShell; }
virtual FmFormShell* GetFormShell() SAL_OVERRIDE { return pFormShell; }
@@ -368,7 +359,6 @@ public:
bool SelectObject( const OUString& rName );
void SetInFormatDialog(bool bFlag) {bInFormatDialog=bFlag;}
- bool IsInFormatDialog() {return bInFormatDialog;}
void ForceMove() { Move(); }
diff --git a/sc/source/ui/inc/tphfedit.hxx b/sc/source/ui/inc/tphfedit.hxx
index f222c63fabb4..aedb2e8c3b44 100644
--- a/sc/source/ui/inc/tphfedit.hxx
+++ b/sc/source/ui/inc/tphfedit.hxx
@@ -127,7 +127,6 @@ public:
OString GetSelectedIdent() const { return aSelectedIdent;}
void SetMenuHdl( const Link<>& rLink ) { aMLink = rLink; }
- const Link<>& GetMenuHdl() const { return aMLink; }
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
};
diff --git a/sc/source/ui/inc/tpsort.hxx b/sc/source/ui/inc/tpsort.hxx
index 631ccc622448..c4d516728a3b 100644
--- a/sc/source/ui/inc/tpsort.hxx
+++ b/sc/source/ui/inc/tpsort.hxx
@@ -163,7 +163,6 @@ private:
private:
void Init ();
void FillUserSortListBox ();
- void FillOutPosList ();
// Handler ------------------------
DECL_LINK( EnableHdl, CheckBox * );
diff --git a/sc/source/ui/inc/uiitems.hxx b/sc/source/ui/inc/uiitems.hxx
index 8bd28c67a3da..779375140ce3 100644
--- a/sc/source/ui/inc/uiitems.hxx
+++ b/sc/source/ui/inc/uiitems.hxx
@@ -67,15 +67,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
const ScAddress& GetPos() const { return aCursorPos; }
- const ScAddress& GetStartPos() const { return aStartPos; }
- const ScAddress& GetEndPos() const { return aEndPos; }
- SCTAB GetTab() const { return aCursorPos.Tab(); }
- SCCOL GetCol() const { return aCursorPos.Col(); }
- SCROW GetRow() const { return aCursorPos.Row(); }
- SCCOL GetStartCol() const { return aStartPos.Col(); }
- SCROW GetStartRow() const { return aStartPos.Row(); }
- SCCOL GetEndCol() const { return aEndPos.Col(); }
- SCROW GetEndRow() const { return aEndPos.Row(); }
const OUString& GetString() const { return aString; }
const EditTextObject* GetEditData() const { return pEditData; }
diff --git a/sc/source/ui/inc/validate.hxx b/sc/source/ui/inc/validate.hxx
index 0cf1d9370e1f..371d99369f76 100644
--- a/sc/source/ui/inc/validate.hxx
+++ b/sc/source/ui/inc/validate.hxx
@@ -71,8 +71,6 @@ public:
}
void SetRefInputStartPreHdl( PINPUTSTARTDLTYPE pNewHdl ){ m_pRefInputStartPreHdl = pNewHdl; }
void SetRefInputDonePostHdl( void (ScRefHandlerCaller::*pNewHdl)() ){ m_pRefInputDonePostHdl = pNewHdl; }
- void SetRefInputStartPostHdl( PINPUTSTARTDLTYPE pNewHdl ){ m_pRefInputStartPostHdl = pNewHdl; }
- void SetRefInputDonePreHdl( void (ScRefHandlerCaller::*pNewHdl)() ){ m_pRefInputDonePreHdl = pNewHdl; }
ScRefHandlerHelper():m_pHandler(NULL), m_pSetReferenceHdl( NULL ), m_pSetActiveHdl(NULL), m_pRefInputStartPreHdl( NULL ), m_pRefInputStartPostHdl( NULL ), m_pRefInputDonePreHdl( NULL ), m_pRefInputDonePostHdl( NULL ){}
};
@@ -162,8 +160,6 @@ private:
void RefInputDonePostHdl();
ScValidationDlg * GetValidationDlg();
public:
- sal_uInt16 GetAllowEntryPos();
- OUString GetMinText();
void SetupRefDlg();
void RemoveRefDlg();
};
@@ -222,16 +218,6 @@ public:
(m_pHandler->*m_pSetActiveHdl)();
}
- void CloseRefDialog()
- {
- OSL_FAIL( "should not execute here!!!when the edit kill focus, should remove refhandler.\r\n" );
-
- if ( IsInExecute() )
- EndDialog( RET_CANCEL );
- else if ( GetStyle() & WB_CLOSEABLE )
- Close();
- }
-
bool IsRefInputting(){ return m_bRefInputting; }
vcl::Window* get_refinput_shrink_parent() { return m_pHBox; }
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 20854ee45a69..46af42032740 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -275,7 +275,6 @@ public:
SCROW GetPosY( ScVSplitPos eWhich ) const { return pThisTab->nPosY[eWhich]; }
SCCOL GetCurX() const { return pThisTab->nCurX; }
SCROW GetCurY() const { return pThisTab->nCurY; }
- bool HasOldCursor() const { return pThisTab->mbOldCursorValid; }
SCCOL GetOldCurX() const;
SCROW GetOldCurY() const;
ScSplitMode GetHSplitMode() const { return pThisTab->eHSplitMode; }
@@ -321,9 +320,6 @@ public:
const MapMode& GetLogicMode( ScSplitPos eWhich );
const MapMode& GetLogicMode(); // Offset 0
- long GetTPosX( ScHSplitPos eWhich ) const { return pThisTab->nTPosX[eWhich]; }
- long GetTPosY( ScVSplitPos eWhich ) const { return pThisTab->nTPosY[eWhich]; }
-
double GetPPTX() const { return nPPTX; }
double GetPPTY() const { return nPPTY; }
diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx
index 6f3cabd13640..7b28d0ae5729 100644
--- a/sc/source/ui/inc/viewfunc.hxx
+++ b/sc/source/ui/inc/viewfunc.hxx
@@ -150,7 +150,6 @@ public:
bool bTryReplace = false );
bool HasBookmarkAtCursor( SvxHyperlinkItem* pContent );
- long DropRequestHdl( Exchange* pExchange );
bool MoveBlockTo( const ScRange& rSource, const ScAddress& rDestPos,
bool bCut, bool bRecord, bool bPaint, bool bApi );
@@ -206,8 +205,6 @@ public:
void SetMarkedWidthOrHeight( bool bWidth, ScSizeMode eMode, sal_uInt16 nSizeTwips,
bool bRecord = true, bool bPaint = true );
- void ShowMarkedColumns( bool bShow, bool bRecord = true );
- void ShowMarkedRows( bool bShow, bool bRecord = true );
bool AdjustBlockHeight( bool bPaint = true, ScMarkData* pMarkData = NULL );
bool AdjustRowHeight( SCROW nStartRow, SCROW nEndRow, bool bPaint = true );
@@ -288,11 +285,6 @@ public:
void InsertSpecialChar( const OUString& rStr, const vcl::Font& rFont );
- void InsertDummyObject();
- void InsertOleObject();
-
- void InsertDraw();
-
void SetSelectionFrameLines( const ::editeng::SvxBorderLine* pLine,
bool bColorOnly );
@@ -325,7 +317,6 @@ public:
void InsertCurrentTime(short nCellFmt, const OUString& rUndoStr);
void ShowNote( bool bShow = true );
- inline void HideNote() { ShowNote( false ); }
void EditNote();
void ForgetFormatArea() { bFormatValid = false; }
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.hxx b/sc/source/ui/optdlg/calcoptionsdlg.hxx
index 179b48819bc1..4d80e9657b0d 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.hxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.hxx
@@ -55,13 +55,6 @@ private:
void OpenCLAutomaticSelectionChanged();
void SelectedDeviceChanged();
- SvTreeListEntry *createItem(const OUString &rCaption, const OUString& sValue) const;
- void setValueAt(size_t nPos, const OUString &rString);
-#if HAVE_FEATURE_OPENCL
- OpenCLConfig::ImplMatcherSet& CurrentWhiteOrBlackList();
- const OpenCLConfig::ImplMatcher& CurrentWhiteOrBlackListEntry();
-#endif
-
private:
VclPtr<CheckBox> mpEmptyAsZero;
VclPtr<ListBox> mpConversion;
diff --git a/sc/source/ui/sidebar/CellLineStyleControl.hxx b/sc/source/ui/sidebar/CellLineStyleControl.hxx
index 3b772db89fd9..c4de870e3331 100644
--- a/sc/source/ui/sidebar/CellLineStyleControl.hxx
+++ b/sc/source/ui/sidebar/CellLineStyleControl.hxx
@@ -51,16 +51,6 @@ public:
void GetFocus() SAL_OVERRIDE;
void SetLineStyleSelect(sal_uInt16 out, sal_uInt16 in, sal_uInt16 dis);
-
- ValueSet& GetValueSet()
- {
- return *maCellLineStyleValueSet.get();
- }
-
- Control& GetPushButton()
- {
- return *maPushButtonMoreOptions.get();
- }
};
} } // end of namespace svx::sidebar
diff --git a/sc/source/ui/vba/vbaname.hxx b/sc/source/ui/vba/vbaname.hxx
index 69e29198f4fe..a416c21bca25 100644
--- a/sc/source/ui/vba/vbaname.hxx
+++ b/sc/source/ui/vba/vbaname.hxx
@@ -36,9 +36,6 @@ class ScVbaName : public NameImpl_BASE
css::uno::Reference< css::sheet::XNamedRanges > mxNames;
OUString getContent( const formula::FormulaGrammar::Grammar eGrammar, bool prependEquals = true );
void setContent( const OUString& sContent, const formula::FormulaGrammar::Grammar eGrammar, bool removeEquals = true );
-protected:
- css::uno::Reference< css::frame::XModel > getModel() { return mxModel; }
-
public:
ScVbaName( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::sheet::XNamedRange >& xName , const css::uno::Reference< css::sheet::XNamedRanges >& xNames , const css::uno::Reference< css::frame::XModel >& xModel );
virtual ~ScVbaName();
diff --git a/sc/source/ui/vba/vbanames.hxx b/sc/source/ui/vba/vbanames.hxx
index 96d9180be56e..b8df3b18f9bf 100644
--- a/sc/source/ui/vba/vbanames.hxx
+++ b/sc/source/ui/vba/vbanames.hxx
@@ -42,7 +42,6 @@ public:
ScVbaNames( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::sheet::XNamedRanges >& xNames , const css::uno::Reference< css::frame::XModel >& xModel );
ScDocument* getScDocument();
- ScDocShell* getScDocShell();
virtual ~ScVbaNames();
diff --git a/sc/source/ui/vba/vbapane.hxx b/sc/source/ui/vba/vbapane.hxx
index 104e74a4cf8c..dd94655cc7a8 100644
--- a/sc/source/ui/vba/vbapane.hxx
+++ b/sc/source/ui/vba/vbapane.hxx
@@ -35,8 +35,6 @@ public:
const css::uno::Reference< css::frame::XModel >& rModel,
const css::uno::Reference< css::sheet::XViewPane >& rViewPane ) throw (css::uno::RuntimeException);
- css::uno::Reference< css::sheet::XViewPane > getViewPane() const { return m_xViewPane; }
-
// XPane attributes
virtual sal_Int32 SAL_CALL getScrollColumn() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setScrollColumn( sal_Int32 _scrollcolumn ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;