summaryrefslogtreecommitdiffstats
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-06 08:46:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-06 08:52:37 +0100
commita1ce4fb4f0dbc3c4141f510e5b2b732a24d862c8 (patch)
tree6ecac5a964c7bc40862f435f0492d941948326e4 /svx
parentwhat happens if we try and do it right ? (diff)
downloadcore-a1ce4fb4f0dbc3c4141f510e5b2b732a24d862c8.tar.gz
core-a1ce4fb4f0dbc3c4141f510e5b2b732a24d862c8.zip
callcatcher: various unused methods
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/AccessibleTextHelper.hxx4
-rw-r--r--svx/inc/svx/gridctrl.hxx11
-rw-r--r--svx/source/accessibility/AccessibleTextHelper.cxx11
-rw-r--r--svx/source/fmcomp/gridctrl.cxx64
4 files changed, 0 insertions, 90 deletions
diff --git a/svx/inc/svx/AccessibleTextHelper.hxx b/svx/inc/svx/AccessibleTextHelper.hxx
index 41104684c7e6..6f15d58b3f73 100644
--- a/svx/inc/svx/AccessibleTextHelper.hxx
+++ b/svx/inc/svx/AccessibleTextHelper.hxx
@@ -279,10 +279,6 @@ namespace accessibility
*/
void SetAdditionalChildStates( const VectorOfStates& rChildStates );
- /** Returns the additional accessible states for children.
- */
- const VectorOfStates& GetAdditionalChildStates() const;
-
/** Update the visible children
@attention Might fire state change events, therefore,
diff --git a/svx/inc/svx/gridctrl.hxx b/svx/inc/svx/gridctrl.hxx
index cbdba4004550..e27fa3e6d4d8 100644
--- a/svx/inc/svx/gridctrl.hxx
+++ b/svx/inc/svx/gridctrl.hxx
@@ -444,9 +444,6 @@ public:
// to update, to insert or to restore, the according options are ignored. If the grid isn't
// connected to a data source, all options except OPT_READONLY are ignored.
- void SetMultiSelection(sal_Bool bMulti);
- sal_Bool GetMultiSelection() const {return m_bMultiSelection;}
-
const com::sun::star::util::Date& getNullDate() const {return m_aNullDate;}
// positioning
@@ -478,18 +475,11 @@ public:
sal_Bool getDisplaySynchron() const { return m_bSynchDisplay; }
void setDisplaySynchron(sal_Bool bSync);
- void forceSyncDisplay();
// when set to sal_False, the display is no longer in sync with the current cursor position
// (means that in AdjustDataSource we are jumping to a row not belonging to CursorPosition)
// when using this, you should know what you are doing, because for example entering data
// in a row in the display that is not in sync with the position of the cursor can be very critical
- sal_Bool isForcedROController() const { return m_bForceROController; }
- void forceROController(sal_Bool bForce);
- // when set to sal_True, the GridControl always has a ::com::sun::star::frame::Controler which is
- // read-only though. Additionally, the edit row of the controller is configured in a way
- // that its selection stays displayed on focus loss.
-
const DbGridRowRef& GetCurrentRow() const {return m_xCurrentRow;}
void SetStateProvider(const Link& rProvider) { m_aMasterStateProvider = rProvider; }
@@ -512,7 +502,6 @@ public:
@seealso EnableNavigationBar
*/
void ForceHideScrollbars( sal_Bool _bForce );
- sal_Bool IsForceHideScrollbars() const;
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >
getServiceManager() const { return m_xServiceFactory; }
diff --git a/svx/source/accessibility/AccessibleTextHelper.cxx b/svx/source/accessibility/AccessibleTextHelper.cxx
index fe80bc2ad759..11288f37823f 100644
--- a/svx/source/accessibility/AccessibleTextHelper.cxx
+++ b/svx/source/accessibility/AccessibleTextHelper.cxx
@@ -155,7 +155,6 @@ namespace accessibility
}
void SetAdditionalChildStates( const VectorOfStates& rChildStates );
- const VectorOfStates& GetAdditionalChildStates() const;
sal_Bool IsSelected() const;
@@ -432,11 +431,6 @@ namespace accessibility
maParaManager.SetAdditionalChildStates( rChildStates );
}
- const AccessibleTextHelper_Impl::VectorOfStates& AccessibleTextHelper_Impl::GetAdditionalChildStates() const
- {
- return maParaManager.GetAdditionalChildStates();
- }
-
void AccessibleTextHelper_Impl::SetChildFocus( sal_Int32 nChild, sal_Bool bHaveFocus ) SAL_THROW((::com::sun::star::uno::RuntimeException))
{
DBG_CHKTHIS( AccessibleTextHelper_Impl, NULL );
@@ -1915,11 +1909,6 @@ namespace accessibility
mpImpl->SetAdditionalChildStates( rChildStates );
}
- const AccessibleTextHelper::VectorOfStates& AccessibleTextHelper::GetAdditionalChildStates() const
- {
- return mpImpl->GetAdditionalChildStates();
- }
-
void AccessibleTextHelper::UpdateChildren() SAL_THROW((::com::sun::star::uno::RuntimeException))
{
#ifdef DBG_UTIL
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index a8c1a8835f1d..f74fdffc3979 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -1366,12 +1366,6 @@ void DbGridControl::ForceHideScrollbars( sal_Bool _bForce )
}
//------------------------------------------------------------------------------
-sal_Bool DbGridControl::IsForceHideScrollbars() const
-{
- return m_bHideScrollbars;
-}
-
-//------------------------------------------------------------------------------
void DbGridControl::EnablePermanentCursor(sal_Bool bEnable)
{
if (IsPermanentCursorEnabled() == bEnable)
@@ -1416,18 +1410,6 @@ void DbGridControl::refreshController(sal_uInt16 _nColId, GrantControlAccess /*_
}
//------------------------------------------------------------------------------
-void DbGridControl::SetMultiSelection(sal_Bool bMulti)
-{
- m_bMultiSelection = bMulti;
- if (m_bMultiSelection)
- m_nMode |= BROWSER_MULTISELECTION;
- else
- m_nMode &= ~BROWSER_MULTISELECTION;
-
- SetMode(m_nMode);
-}
-
-//------------------------------------------------------------------------------
void DbGridControl::setDataSource(const Reference< XRowSet >& _xCursor, sal_uInt16 nOpts)
{
if (!_xCursor.is() && !m_pDataCursor)
@@ -2252,52 +2234,6 @@ void DbGridControl::setDisplaySynchron(sal_Bool bSync)
}
//------------------------------------------------------------------------------
-void DbGridControl::forceSyncDisplay()
-{
- sal_Bool bOld = getDisplaySynchron();
- setDisplaySynchron(sal_True);
- if (!bOld)
- setDisplaySynchron(bOld);
-}
-
-//------------------------------------------------------------------------------
-void DbGridControl::forceROController(sal_Bool bForce)
-{
- if (m_bForceROController == bForce)
- return;
-
- m_bForceROController = bForce;
- // alle Columns durchgehen und denen Bescheid geben
- for ( size_t i=0; i < m_aColumns.size(); ++i )
- {
- DbGridColumn* pColumn = m_aColumns[ i ];
- if (!pColumn)
- continue;
-
- CellController* pReturn = &pColumn->GetController();
- if (!pReturn)
- continue;
-
- // nur wenn es eine Edit-Zeile ist, kann ich ihr das forced read-only mitgeben
- if (!pReturn->ISA(EditCellController) && !pReturn->ISA(SpinCellController))
- continue;
-
- Edit& rEdit = (Edit&)pReturn->GetWindow();
- rEdit.SetReadOnly(m_bForceROController);
- if (m_bForceROController)
- rEdit.SetStyle(rEdit.GetStyle() | WB_NOHIDESELECTION);
- else
- rEdit.SetStyle(rEdit.GetStyle() & ~WB_NOHIDESELECTION);
- }
-
- // die aktive Zelle erneut aktivieren, da sich ihr Controller geaendert haben kann
- if (IsEditing())
- DeactivateCell();
- ActivateCell();
-}
-
-
-//------------------------------------------------------------------------------
void DbGridControl::AdjustDataSource(sal_Bool bFull)
{
TRACE_RANGE("DbGridControl::AdjustDataSource");