summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2011-08-23 00:38:29 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2011-08-23 01:28:24 +0200
commitfdbe98ebb50fd30e94750a8398cf7466f65dea47 (patch)
tree25b9cfcf7ecb41743a86707c955d35a20048248c /svtools/source
parent648bbe3d648761f5e82d6ee0d40f6c5641c3a522 (diff)
unusedcode: svt::
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx8
-rw-r--r--svtools/source/control/fileurlbox.cxx14
-rw-r--r--svtools/source/control/hyperlabel.cxx20
-rw-r--r--svtools/source/control/roadmap.cxx37
-rw-r--r--svtools/source/control/stdctrl.cxx8
-rw-r--r--svtools/source/control/urlcontrol.cxx7
-rw-r--r--svtools/source/dialogs/wizardmachine.cxx32
-rw-r--r--svtools/source/misc/dialogclosedlistener.cxx7
-rw-r--r--svtools/source/misc/dialogcontrolling.cxx68
-rw-r--r--svtools/source/misc/embedhlp.cxx37
-rw-r--r--svtools/source/misc/templatefoldercache.cxx19
-rw-r--r--svtools/source/table/gridtablerenderer.cxx6
-rw-r--r--svtools/source/table/tablecontrol.cxx25
-rw-r--r--svtools/source/table/tabledatawindow.cxx5
-rw-r--r--svtools/source/table/tabledatawindow.hxx1
-rw-r--r--svtools/source/toolpanel/tablayouter.cxx40
-rw-r--r--svtools/source/uno/contextmenuhelper.cxx17
-rw-r--r--svtools/source/uno/framestatuslistener.cxx19
-rw-r--r--svtools/source/uno/genericunodialog.cxx7
-rw-r--r--svtools/source/uno/statusbarcontroller.cxx153
20 files changed, 0 insertions, 530 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index 7b679aed53b2..dd556bf4b641 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -405,14 +405,6 @@ namespace svt
}
//------------------------------------------------------------------
- EditCellController::EditCellController( MultiLineTextCell* _pEdit )
- :CellController( _pEdit )
- ,m_pEditImplementation( new MultiLineEditImplementation( *_pEdit ) )
- ,m_bOwnImplementation( sal_True )
- {
- }
-
- //------------------------------------------------------------------
EditCellController::EditCellController( IEditImplementation* _pImplementation )
:CellController( &_pImplementation->GetControl() )
,m_pEditImplementation( _pImplementation )
diff --git a/svtools/source/control/fileurlbox.cxx b/svtools/source/control/fileurlbox.cxx
index f2880feef2d0..d67b53547a7f 100644
--- a/svtools/source/control/fileurlbox.cxx
+++ b/svtools/source/control/fileurlbox.cxx
@@ -41,13 +41,6 @@ namespace svt
//= FileURLBox
//=====================================================================
//---------------------------------------------------------------------
- FileURLBox::FileURLBox(Window* _pParent)
- :SvtURLBox(_pParent, INET_PROT_FILE)
- {
- DisableHistory();
- }
-
- //---------------------------------------------------------------------
FileURLBox::FileURLBox( Window* _pParent, WinBits _nStyle )
:SvtURLBox( _pParent, _nStyle, INET_PROT_FILE )
{
@@ -55,13 +48,6 @@ namespace svt
}
//---------------------------------------------------------------------
- FileURLBox::FileURLBox(Window* _pParent, const ResId& _rId)
- :SvtURLBox(_pParent, _rId, INET_PROT_FILE)
- {
- DisableHistory();
- }
-
- //---------------------------------------------------------------------
void FileURLBox::DisplayURL( const String& _rURL )
{
String sOldText = GetText();
diff --git a/svtools/source/control/hyperlabel.cxx b/svtools/source/control/hyperlabel.cxx
index ab42a891a1ed..e2338fceb33d 100644
--- a/svtools/source/control/hyperlabel.cxx
+++ b/svtools/source/control/hyperlabel.cxx
@@ -79,13 +79,6 @@ namespace svt
{
}
- HyperLabel::HyperLabel( Window* _pParent, const ResId& _rId )
- :FixedText( _pParent, _rId )
- ,m_pImpl( new HyperLabelImpl )
- {
- implInit();
- }
-
HyperLabel::HyperLabel( Window* _pParent, WinBits _nWinStyle )
:FixedText( _pParent, _nWinStyle )
,m_pImpl( new HyperLabelImpl )
@@ -93,14 +86,6 @@ namespace svt
implInit();
}
-
- sal_Int32 HyperLabel::GetLogicWidth()
- {
- Size rLogicLocSize = PixelToLogic( m_pImpl->m_aMinSize, MAP_APPFONT );
- return rLogicLocSize.Width();
- }
-
-
Size HyperLabel::CalcMinimumSize( long nMaxWidth ) const
{
m_pImpl->m_aMinSize = FixedText::CalcMinimumSize( nMaxWidth );
@@ -229,11 +214,6 @@ namespace svt
m_pImpl->Index = _Index;
}
- ::rtl::OUString HyperLabel::GetLabel( )
- {
- return GetText();
- }
-
void HyperLabel::SetLabel( const ::rtl::OUString& _rText )
{
SetText(_rText);
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx
index 7848be58c889..c8ec87bc04d5 100644
--- a/svtools/source/control/roadmap.cxx
+++ b/svtools/source/control/roadmap.cxx
@@ -110,7 +110,6 @@ namespace svt
void SetIndex( ItemIndex _Index );
ItemIndex GetIndex() const;
- void SetLabel( const ::rtl::OUString& _rText );
::rtl::OUString GetLabel( );
void Update( ItemIndex _RMIndex, const ::rtl::OUString& _rText );
@@ -121,8 +120,6 @@ namespace svt
void SetInteractive( sal_Bool _bInteractive );
void SetClickHdl( const Link& rLink );
- const Link& GetClickHdl() const;
- void SetZOrder( RoadmapItem* pRefRoadmapHyperLabel, sal_uInt16 nFlags );
void Enable( sal_Bool bEnable = sal_True);
sal_Bool IsEnabled() const;
void GrabFocus();
@@ -199,10 +196,6 @@ namespace svt
}
};
-
- //=====================================================================
- //= Roadmap
- //=====================================================================
//---------------------------------------------------------------------
void RoadmapImpl::initItemSize()
{
@@ -216,14 +209,6 @@ namespace svt
//= Roadmap
//=====================================================================
//---------------------------------------------------------------------
- ORoadmap::ORoadmap( Window* _pParent, const ResId& _rId )
- :Control( _pParent, _rId )
- ,m_pImpl( new RoadmapImpl( *this ) )
- {
- implInit();
- }
-
- //---------------------------------------------------------------------
ORoadmap::ORoadmap( Window* _pParent, WinBits _nWinStyle )
:Control( _pParent, _nWinStyle )
,m_pImpl( new RoadmapImpl( *this ) )
@@ -845,13 +830,6 @@ namespace svt
}
//---------------------------------------------------------------------
- void RoadmapItem::SetLabel( const ::rtl::OUString& _rText )
- {
- if ( mpDescription )
- mpDescription->SetText(_rText);
- }
-
- //---------------------------------------------------------------------
::rtl::OUString RoadmapItem::GetLabel( )
{
return mpDescription ? mpDescription->GetText() : String();
@@ -880,15 +858,6 @@ namespace svt
}
//---------------------------------------------------------------------
- void RoadmapItem::SetZOrder( RoadmapItem* pRefRoadmapHyperLabel, sal_uInt16 nFlags )
- {
- if (pRefRoadmapHyperLabel == NULL)
- mpDescription->SetZOrder( NULL, nFlags); //WINDOW_ZORDER_FIRST );
- else
- mpDescription->SetZOrder( pRefRoadmapHyperLabel->mpDescription, nFlags); //, WINDOW_ZORDER_BEHIND );
- }
-
- //---------------------------------------------------------------------
void RoadmapItem::Enable( sal_Bool _bEnable)
{
mpID->Enable(_bEnable);
@@ -968,12 +937,6 @@ namespace svt
}
//---------------------------------------------------------------------
- const Link& RoadmapItem::GetClickHdl( ) const
- {
- return mpDescription->GetClickHdl();
- }
-
- //---------------------------------------------------------------------
IDLabel::IDLabel( Window* _pParent, WinBits _nWinStyle )
:FixedText( _pParent, _nWinStyle )
{
diff --git a/svtools/source/control/stdctrl.cxx b/svtools/source/control/stdctrl.cxx
index d2cd0aa75099..156885849df6 100644
--- a/svtools/source/control/stdctrl.cxx
+++ b/svtools/source/control/stdctrl.cxx
@@ -50,14 +50,6 @@ namespace svt
{
// class svt::SelectableFixedText ----------------------------------------
- SelectableFixedText::SelectableFixedText( Window* pParent, WinBits nWinStyle ) :
- Edit( pParent, nWinStyle )
- {
- Init();
- }
-
- // -----------------------------------------------------------------------
-
SelectableFixedText::SelectableFixedText( Window* pParent, const ResId& rResId ) :
Edit( pParent, rResId )
{
diff --git a/svtools/source/control/urlcontrol.cxx b/svtools/source/control/urlcontrol.cxx
index eeb562b2a663..39b17ca232b1 100644
--- a/svtools/source/control/urlcontrol.cxx
+++ b/svtools/source/control/urlcontrol.cxx
@@ -41,13 +41,6 @@ namespace svt
//= OFileURLControl
//=====================================================================
//---------------------------------------------------------------------
- OFileURLControl::OFileURLControl(Window* _pParent)
- :SvtURLBox(_pParent, INET_PROT_FILE)
- {
- DisableHistory();
- }
-
- //---------------------------------------------------------------------
OFileURLControl::OFileURLControl(Window* _pParent, const ResId& _rId)
:SvtURLBox(_pParent, _rId, INET_PROT_FILE)
{
diff --git a/svtools/source/dialogs/wizardmachine.cxx b/svtools/source/dialogs/wizardmachine.cxx
index f4e024b65cc1..0a3bd4594761 100644
--- a/svtools/source/dialogs/wizardmachine.cxx
+++ b/svtools/source/dialogs/wizardmachine.cxx
@@ -54,14 +54,6 @@ namespace svt
//=====================================================================
//= OWizardPage
//=====================================================================
- //---------------------------------------------------------------------
- OWizardPage::OWizardPage( Window* _pParent, WinBits _nStyle )
- :TabPage( _pParent, _nStyle )
- ,m_pImpl( new WizardPageImplData )
- {
- }
-
- //---------------------------------------------------------------------
OWizardPage::OWizardPage( Window* _pParent, const ResId& _rResId )
:TabPage( _pParent, _rResId )
,m_pImpl( new WizardPageImplData )
@@ -130,24 +122,6 @@ namespace svt
}
};
- long OWizardMachine::calcRightHelpOffset(sal_uInt32 _nButtonFlags)
- {
- sal_Int32 nMask = 1;
- sal_Int32 nRightAlignedButtonCount = -1;
- for (unsigned int i = 0; i < 8*sizeof(_nButtonFlags); i++ )
- {
- if( ( _nButtonFlags & nMask ) != 0 )
- nRightAlignedButtonCount++;
- nMask <<= 1;
- }
- Size aSize = GetPageSizePixel();
- sal_Int32 nTotButtonWidth = nRightAlignedButtonCount * LogicalCoordinateToPixel(50);
- sal_Int32 nTotRightButtonSpaceOffset = (nRightAlignedButtonCount) * WIZARDDIALOG_BUTTON_STDOFFSET_X;
- if ((_nButtonFlags & WZB_NEXT) && (_nButtonFlags & WZB_NEXT))
- nTotRightButtonSpaceOffset = (nTotRightButtonSpaceOffset - WIZARDDIALOG_BUTTON_STDOFFSET_X) + WIZARDDIALOG_BUTTON_SMALLSTDOFFSET_X;
- return aSize.Width() - nTotButtonWidth - nTotRightButtonSpaceOffset;
- }
-
//=====================================================================
//= OWizardMachine
//=====================================================================
@@ -278,12 +252,6 @@ namespace svt
}
//---------------------------------------------------------------------
- const String& OWizardMachine::getTitleBase() const
- {
- return m_pImpl->sTitleBase;
- }
-
- //---------------------------------------------------------------------
void OWizardMachine::setTitleBase(const String& _rTitleBase)
{
m_pImpl->sTitleBase = _rTitleBase;
diff --git a/svtools/source/misc/dialogclosedlistener.cxx b/svtools/source/misc/dialogclosedlistener.cxx
index f07d24b536a9..4afcd931f1ac 100644
--- a/svtools/source/misc/dialogclosedlistener.cxx
+++ b/svtools/source/misc/dialogclosedlistener.cxx
@@ -46,13 +46,6 @@ namespace svt
{
}
- DialogClosedListener::DialogClosedListener( const Link& rLink ) :
-
- m_aDialogClosedLink( rLink )
-
- {
- }
-
// XDialogClosedListener methods
void SAL_CALL DialogClosedListener::dialogClosed( const DialogClosedEvent& aEvent ) throw (RuntimeException)
{
diff --git a/svtools/source/misc/dialogcontrolling.cxx b/svtools/source/misc/dialogcontrolling.cxx
index d5e9ac545962..3829675314b6 100644
--- a/svtools/source/misc/dialogcontrolling.cxx
+++ b/svtools/source/misc/dialogcontrolling.cxx
@@ -192,15 +192,6 @@ namespace svt
}
//---------------------------------------------------------------------
- void ControlDependencyManager::enableOnRadioCheck( RadioButton& _rRadio, Window& _rDependentWindow1, Window& _rDependentWindow2 )
- {
- PDialogController pController( new RadioDependentEnabler( _rRadio ) );
- pController->addDependentWindow( _rDependentWindow1 );
- pController->addDependentWindow( _rDependentWindow2 );
- m_pImpl->aControllers.push_back( pController );
- }
-
- //---------------------------------------------------------------------
void ControlDependencyManager::enableOnRadioCheck( RadioButton& _rRadio, Window& _rDependentWindow1, Window& _rDependentWindow2, Window& _rDependentWindow3 )
{
PDialogController pController( new RadioDependentEnabler( _rRadio ) );
@@ -211,17 +202,6 @@ namespace svt
}
//---------------------------------------------------------------------
- void ControlDependencyManager::enableOnRadioCheck( RadioButton& _rRadio, Window& _rDependentWindow1, Window& _rDependentWindow2, Window& _rDependentWindow3, Window& _rDependentWindow4 )
- {
- PDialogController pController( new RadioDependentEnabler( _rRadio ) );
- pController->addDependentWindow( _rDependentWindow1 );
- pController->addDependentWindow( _rDependentWindow2 );
- pController->addDependentWindow( _rDependentWindow3 );
- pController->addDependentWindow( _rDependentWindow4 );
- m_pImpl->aControllers.push_back( pController );
- }
-
- //---------------------------------------------------------------------
void ControlDependencyManager::enableOnRadioCheck( RadioButton& _rRadio, Window& _rDependentWindow1, Window& _rDependentWindow2, Window& _rDependentWindow3, Window& _rDependentWindow4, Window& _rDependentWindow5 )
{
PDialogController pController( new RadioDependentEnabler( _rRadio ) );
@@ -234,19 +214,6 @@ namespace svt
}
//---------------------------------------------------------------------
- void ControlDependencyManager::enableOnRadioCheck( RadioButton& _rRadio, Window& _rDependentWindow1, Window& _rDependentWindow2, Window& _rDependentWindow3, Window& _rDependentWindow4, Window& _rDependentWindow5, Window& _rDependentWindow6 )
- {
- PDialogController pController( new RadioDependentEnabler( _rRadio ) );
- pController->addDependentWindow( _rDependentWindow1 );
- pController->addDependentWindow( _rDependentWindow2 );
- pController->addDependentWindow( _rDependentWindow3 );
- pController->addDependentWindow( _rDependentWindow4 );
- pController->addDependentWindow( _rDependentWindow5 );
- pController->addDependentWindow( _rDependentWindow6 );
- m_pImpl->aControllers.push_back( pController );
- }
-
- //---------------------------------------------------------------------
void ControlDependencyManager::enableOnCheckMark( CheckBox& _rBox, Window& _rDependentWindow )
{
PDialogController pController( new RadioDependentEnabler( _rBox ) );
@@ -264,16 +231,6 @@ namespace svt
}
//---------------------------------------------------------------------
- void ControlDependencyManager::enableOnCheckMark( CheckBox& _rBox, Window& _rDependentWindow1, Window& _rDependentWindow2, Window& _rDependentWindow3 )
- {
- PDialogController pController( new RadioDependentEnabler( _rBox ) );
- pController->addDependentWindow( _rDependentWindow1 );
- pController->addDependentWindow( _rDependentWindow2 );
- pController->addDependentWindow( _rDependentWindow3 );
- m_pImpl->aControllers.push_back( pController );
- }
-
- //---------------------------------------------------------------------
void ControlDependencyManager::enableOnCheckMark( CheckBox& _rBox, Window& _rDependentWindow1, Window& _rDependentWindow2, Window& _rDependentWindow3, Window& _rDependentWindow4 )
{
PDialogController pController( new RadioDependentEnabler( _rBox ) );
@@ -284,31 +241,6 @@ namespace svt
m_pImpl->aControllers.push_back( pController );
}
- //---------------------------------------------------------------------
- void ControlDependencyManager::enableOnCheckMark( CheckBox& _rBox, Window& _rDependentWindow1, Window& _rDependentWindow2, Window& _rDependentWindow3, Window& _rDependentWindow4, Window& _rDependentWindow5 )
- {
- PDialogController pController( new RadioDependentEnabler( _rBox ) );
- pController->addDependentWindow( _rDependentWindow1 );
- pController->addDependentWindow( _rDependentWindow2 );
- pController->addDependentWindow( _rDependentWindow3 );
- pController->addDependentWindow( _rDependentWindow4 );
- pController->addDependentWindow( _rDependentWindow5 );
- m_pImpl->aControllers.push_back( pController );
- }
-
- //---------------------------------------------------------------------
- void ControlDependencyManager::enableOnCheckMark( CheckBox& _rBox, Window& _rDependentWindow1, Window& _rDependentWindow2, Window& _rDependentWindow3, Window& _rDependentWindow4, Window& _rDependentWindow5, Window& _rDependentWindow6 )
- {
- PDialogController pController( new RadioDependentEnabler( _rBox ) );
- pController->addDependentWindow( _rDependentWindow1 );
- pController->addDependentWindow( _rDependentWindow2 );
- pController->addDependentWindow( _rDependentWindow3 );
- pController->addDependentWindow( _rDependentWindow4 );
- pController->addDependentWindow( _rDependentWindow5 );
- pController->addDependentWindow( _rDependentWindow6 );
- m_pImpl->aControllers.push_back( pController );
- }
-
//........................................................................
} // namespace svt
//........................................................................
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx
index 2d589f59b53a..8bba1be66c0b 100644
--- a/svtools/source/misc/embedhlp.cxx
+++ b/svtools/source/misc/embedhlp.cxx
@@ -380,20 +380,6 @@ comphelper::EmbeddedObjectContainer* EmbeddedObjectRef::GetContainer() const
return mpImp->pContainer;
}
-::rtl::OUString EmbeddedObjectRef::GetPersistName() const
-{
- return mpImp->aPersistName;
-}
-
-MapUnit EmbeddedObjectRef::GetMapUnit() const
-{
- if ( mpImp->nViewAspect == embed::Aspects::MSOLE_CONTENT )
- return VCLUnoHelper::UnoEmbed2VCLMapUnit( mxObj->getMapUnit( mpImp->nViewAspect ) );
- else
- // TODO/LATER: currently only CONTENT aspect requires communication with the object
- return MAP_100TH_MM;
-}
-
sal_Int64 EmbeddedObjectRef::GetViewAspect() const
{
return mpImp->nViewAspect;
@@ -718,11 +704,6 @@ void EmbeddedObjectRef::DrawShading( const Rectangle &rRect, OutputDevice *pOut
}
-sal_Bool EmbeddedObjectRef::TryRunningState()
-{
- return TryRunningState( mxObj );
-}
-
sal_Bool EmbeddedObjectRef::TryRunningState( const uno::Reference < embed::XEmbeddedObject >& xEmbObj )
{
if ( !xEmbObj.is() )
@@ -759,24 +740,6 @@ void EmbeddedObjectRef::SetGraphicToContainer( const Graphic& rGraphic,
OSL_FAIL( "Export of graphic is failed!\n" );
}
-sal_Bool EmbeddedObjectRef::ObjectIsModified( const uno::Reference< embed::XEmbeddedObject >& xObj )
- throw( uno::Exception )
-{
- sal_Bool bResult = sal_False;
-
- sal_Int32 nState = xObj->getCurrentState();
- if ( nState != embed::EmbedStates::LOADED && nState != embed::EmbedStates::RUNNING )
- {
- // the object is active so if the model is modified the replacement
- // should be retrieved from the object
- uno::Reference< util::XModifiable > xModifiable( xObj->getComponent(), uno::UNO_QUERY );
- if ( xModifiable.is() )
- bResult = xModifiable->isModified();
- }
-
- return bResult;
-}
-
uno::Reference< io::XInputStream > EmbeddedObjectRef::GetGraphicReplacementStream(
sal_Int64 nViewAspect,
const uno::Reference< embed::XEmbeddedObject >& xObj,
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index 20d82fe6e02b..871b9c78779e 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -143,9 +143,7 @@ namespace svt
~TemplateContent();
public:
- TemplateContent();
TemplateContent( const INetURLObject& _rURL );
- TemplateContent( const INetURLObject& _rURL, const util::DateTime& _rLastModified );
// attribute access
inline String getName( ) const { return m_sLocalName; }
@@ -169,13 +167,6 @@ namespace svt
DBG_NAME( TemplateContent )
//---------------------------------------------------------------------
- TemplateContent::TemplateContent()
- {
- DBG_CTOR( TemplateContent, NULL );
- implResetDate();
- }
-
- //---------------------------------------------------------------------
TemplateContent::TemplateContent( const INetURLObject& _rURL )
:m_aURL( _rURL )
{
@@ -186,16 +177,6 @@ namespace svt
}
//---------------------------------------------------------------------
- TemplateContent::TemplateContent( const INetURLObject& _rURL, const util::DateTime& _rLastModified )
- :m_aURL( _rURL )
- ,m_aLastModified( _rLastModified )
- {
- DBG_CTOR( TemplateContent, NULL );
- DBG_ASSERT( INET_PROT_NOT_VALID != m_aURL.GetProtocol(), "TemplateContent::TemplateContent: invalid URL!" );
- m_sLocalName = m_aURL.getName();
- }
-
- //---------------------------------------------------------------------
TemplateContent::~TemplateContent()
{
DBG_DTOR( TemplateContent, NULL );
diff --git a/svtools/source/table/gridtablerenderer.cxx b/svtools/source/table/gridtablerenderer.cxx
index e69ad5589087..f9e4e6d55ffe 100644
--- a/svtools/source/table/gridtablerenderer.cxx
+++ b/svtools/source/table/gridtablerenderer.cxx
@@ -198,12 +198,6 @@ namespace svt { namespace table
}
//------------------------------------------------------------------------------------------------------------------
- RowPos GridTableRenderer::getCurrentRow() const
- {
- return m_pImpl->nCurrentRow;
- }
-
- //------------------------------------------------------------------------------------------------------------------
bool GridTableRenderer::useGridLines() const
{
return m_pImpl->bUseGridLines;
diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx
index 6ec1ec5e7121..1e5c1b3d54d8 100644
--- a/svtools/source/table/tablecontrol.cxx
+++ b/svtools/source/table/tablecontrol.cxx
@@ -151,19 +151,6 @@ namespace svt { namespace table
}
// -----------------------------------------------------------------------------------------------------------------
- RowPos TableControl::GetTopRow() const
- {
- return m_pImpl->getTopRow();
- }
-
- // -----------------------------------------------------------------------------------------------------------------
- void TableControl::SetTopRow( RowPos _nRow )
- {
- OSL_ENSURE( false, "TableControl::SetTopRow: not implemented!" );
- OSL_UNUSED( _nRow );
- }
-
- // -----------------------------------------------------------------------------------------------------------------
sal_Int32 TableControl::GetCurrentRow() const
{
return m_pImpl->getCurrentRow();
@@ -594,19 +581,7 @@ namespace svt { namespace table
{
ImplCallEventListenersAndHandler( VCLEVENT_TABLEROW_SELECT, m_pImpl->getSelectHandler(), this );
}
-//........................................................................
- //------------------------------------------------------------------------------------------------------------------
- void TableControl::SetSelectHdl( const Link& i_selectHandler )
- {
- m_pImpl->setSelectHandler( i_selectHandler );
- }
-
- //------------------------------------------------------------------------------------------------------------------
- const Link& TableControl::GetSelectHdl() const
- {
- return m_pImpl->getSelectHandler();
- }
}} // namespace svt::table
//......................................................................................................................
diff --git a/svtools/source/table/tabledatawindow.cxx b/svtools/source/table/tabledatawindow.cxx
index 7c546421555d..910baa0bd5c4 100644
--- a/svtools/source/table/tabledatawindow.cxx
+++ b/svtools/source/table/tabledatawindow.cxx
@@ -83,11 +83,6 @@ namespace svt { namespace table
Window::SetControlBackground( rColor );
}
//------------------------------------------------------------------------------------------------------------------
- void TableDataWindow::SetBackground()
- {
- Window::SetBackground();
- }
- //------------------------------------------------------------------------------------------------------------------
void TableDataWindow::SetControlBackground()
{
Window::SetControlBackground();
diff --git a/svtools/source/table/tabledatawindow.hxx b/svtools/source/table/tabledatawindow.hxx
index c26cd6ccd596..96f178a62801 100644
--- a/svtools/source/table/tabledatawindow.hxx
+++ b/svtools/source/table/tabledatawindow.hxx
@@ -78,7 +78,6 @@ namespace svt { namespace table
virtual void RequestHelp( const HelpEvent& rHEvt );
void SetBackground(const Wallpaper& rColor);
- void SetBackground();
private:
void impl_hideTipWindow();
diff --git a/svtools/source/toolpanel/tablayouter.cxx b/svtools/source/toolpanel/tablayouter.cxx
index b9615dffc774..c6dd7621c985 100644
--- a/svtools/source/toolpanel/tablayouter.cxx
+++ b/svtools/source/toolpanel/tablayouter.cxx
@@ -128,46 +128,6 @@ namespace svt
}
//--------------------------------------------------------------------
- ::boost::optional< size_t > TabDeckLayouter::GetFocusedPanelItem() const
- {
- if ( lcl_checkDisposed( *m_pData ) )
- return ::boost::optional< size_t >();
- return m_pData->pTabBar->GetFocusedPanelItem();
- }
-
- //--------------------------------------------------------------------
- void TabDeckLayouter::FocusPanelItem( const size_t i_nItemPos )
- {
- if ( lcl_checkDisposed( *m_pData ) )
- return;
- m_pData->pTabBar->FocusPanelItem( i_nItemPos );
- }
-
- //--------------------------------------------------------------------
- bool TabDeckLayouter::IsPanelSelectorEnabled() const
- {
- if ( lcl_checkDisposed( *m_pData ) )
- return false;
- return m_pData->pTabBar->IsEnabled();
- }
-
- //--------------------------------------------------------------------
- bool TabDeckLayouter::IsPanelSelectorVisible() const
- {
- if ( lcl_checkDisposed( *m_pData ) )
- return false;
- return m_pData->pTabBar->IsVisible();
- }
-
- //--------------------------------------------------------------------
- Rectangle TabDeckLayouter::GetItemScreenRect( const size_t i_nItemPos ) const
- {
- if ( lcl_checkDisposed( *m_pData ) )
- return Rectangle();
- return m_pData->pTabBar->GetItemScreenRect( i_nItemPos );
- }
-
- //--------------------------------------------------------------------
Rectangle TabDeckLayouter::Layout( const Rectangle& i_rDeckPlayground )
{
if ( lcl_checkDisposed( *m_pData ) )
diff --git a/svtools/source/uno/contextmenuhelper.cxx b/svtools/source/uno/contextmenuhelper.cxx
index 82ae79fa2c92..5edce0ea7d95 100644
--- a/svtools/source/uno/contextmenuhelper.cxx
+++ b/svtools/source/uno/contextmenuhelper.cxx
@@ -307,23 +307,6 @@ ContextMenuHelper::completeAndExecute(
}
}
-uno::Reference< awt::XPopupMenu >
-ContextMenuHelper::create(
- const ::rtl::OUString& /*aPopupMenuResourceId*/ )
-{
- // NOT IMPLEMENTED YET!
- return uno::Reference< awt::XPopupMenu >();
-}
-
-bool
-ContextMenuHelper::createAndExecute(
- const Point& /*aPos*/,
- const ::rtl::OUString& /*aPopupMenuResourceId*/ )
-{
- // NOT IMPLEMENTED YET!
- return false;
-}
-
// private member
void
diff --git a/svtools/source/uno/framestatuslistener.cxx b/svtools/source/uno/framestatuslistener.cxx
index 2c228f28e5e6..a86fb21128f7 100644
--- a/svtools/source/uno/framestatuslistener.cxx
+++ b/svtools/source/uno/framestatuslistener.cxx
@@ -60,18 +60,6 @@ FrameStatusListener::~FrameStatusListener()
{
}
-Reference< XFrame > FrameStatusListener::getFrameInterface() const
-{
- SolarMutexGuard aSolarMutexGuard;
- return m_xFrame;
-}
-
-Reference< XMultiServiceFactory > FrameStatusListener::getServiceManager() const
-{
- SolarMutexGuard aSolarMutexGuard;
- return m_xServiceManager;
-}
-
// XInterface
Any SAL_CALL FrameStatusListener::queryInterface( const Type& rType )
throw ( RuntimeException )
@@ -172,13 +160,6 @@ throw ( RuntimeException )
m_xFrame.clear();
}
-// XStatusListener
-void SAL_CALL FrameStatusListener::statusChanged( const FeatureStateEvent& )
-throw ( RuntimeException )
-{
- // must be implemented by sub class
-}
-
void FrameStatusListener::frameAction( const FrameActionEvent& Action )
throw ( RuntimeException )
{
diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx
index 065c6207317a..5ba2ef2875c5 100644
--- a/svtools/source/uno/genericunodialog.cxx
+++ b/svtools/source/uno/genericunodialog.cxx
@@ -127,13 +127,6 @@ Sequence<Type> SAL_CALL OGenericUnoDialog::getTypes( ) throw(RuntimeException)
}
//-------------------------------------------------------------------------
-Sequence<sal_Int8> SAL_CALL OGenericUnoDialog::getImplementationId( ) throw(RuntimeException)
-{
- static ::cppu::OImplementationId aId;
- return aId.getImplementationId();
-}
-
-//-------------------------------------------------------------------------
sal_Bool SAL_CALL OGenericUnoDialog::supportsService(const ::rtl::OUString& ServiceName) throw(RuntimeException)
{
Sequence< ::rtl::OUString > aSupported(getSupportedServiceNames());
diff --git a/svtools/source/uno/statusbarcontroller.cxx b/svtools/source/uno/statusbarcontroller.cxx
index a64117823c60..3b1185a9d923 100644
--- a/svtools/source/uno/statusbarcontroller.cxx
+++ b/svtools/source/uno/statusbarcontroller.cxx
@@ -89,33 +89,6 @@ Reference< XFrame > StatusbarController::getFrameInterface() const
return m_xFrame;
}
-Reference< XMultiServiceFactory > StatusbarController::getServiceManager() const
-{
- SolarMutexGuard aSolarMutexGuard;
- return m_xServiceManager;
-}
-
-Reference< XLayoutManager > StatusbarController::getLayoutManager() const
-{
- SolarMutexGuard aSolarMutexGuard;
- Reference< XLayoutManager > xLayoutManager;
- Reference< XPropertySet > xPropSet( m_xFrame, UNO_QUERY );
- if ( xPropSet.is() )
- {
- try
- {
- Any a;
- a = xPropSet->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutManager" )));
- a >>= xLayoutManager;
- }
- catch ( Exception& )
- {
- }
- }
-
- return xLayoutManager;
-}
-
Reference< XURLTransformer > StatusbarController::getURLTransformer() const
{
SolarMutexGuard aSolarMutexGuard;
@@ -452,33 +425,6 @@ void StatusbarController::addStatusListener( const rtl::OUString& aCommandURL )
}
}
-void StatusbarController::removeStatusListener( const rtl::OUString& aCommandURL )
-{
- SolarMutexGuard aSolarMutexGuard;
-
- URLToDispatchMap::iterator pIter = m_aListenerMap.find( aCommandURL );
- if ( pIter != m_aListenerMap.end() )
- {
- Reference< XDispatch > xDispatch( pIter->second );
- Reference< XStatusListener > xStatusListener( static_cast< OWeakObject* >( this ), UNO_QUERY );
- m_aListenerMap.erase( pIter );
-
- try
- {
- Reference< XURLTransformer > xURLTransformer = getURLTransformer();
- com::sun::star::util::URL aTargetURL;
- aTargetURL.Complete = aCommandURL;
- xURLTransformer->parseStrict( aTargetURL );
-
- if ( xDispatch.is() && xStatusListener.is() )
- xDispatch->removeStatusListener( xStatusListener, aTargetURL );
- }
- catch ( Exception& )
- {
- }
- }
-}
-
void StatusbarController::bindListener()
{
std::vector< Listener > aDispatchVector;
@@ -572,105 +518,6 @@ void StatusbarController::bindListener()
}
}
-void StatusbarController::unbindListener()
-{
- SolarMutexGuard aSolarMutexGuard;
-
- if ( !m_bInitialized )
- return;
-
- // Collect all registered command URL's and store them temporary
- Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY );
- if ( m_xServiceManager.is() && xDispatchProvider.is() )
- {
- Reference< XStatusListener > xStatusListener( static_cast< OWeakObject* >( this ), UNO_QUERY );
- URLToDispatchMap::iterator pIter = m_aListenerMap.begin();
- while ( pIter != m_aListenerMap.end() )
- {
- Reference< XURLTransformer > xURLTransformer = getURLTransformer();
- com::sun::star::util::URL aTargetURL;
- aTargetURL.Complete = pIter->first;
- xURLTransformer->parseStrict( aTargetURL );
-
- Reference< XDispatch > xDispatch( pIter->second );
- if ( xDispatch.is() )
- {
- // We already have a dispatch object => we have to requery.
- // Release old dispatch object and remove it as listener
- try
- {
- xDispatch->removeStatusListener( xStatusListener, aTargetURL );
- }
- catch ( Exception& )
- {
- }
- }
- pIter->second.clear();
- ++pIter;
- }
- }
-}
-
-sal_Bool StatusbarController::isBound() const
-{
- SolarMutexGuard aSolarMutexGuard;
-
- if ( !m_bInitialized )
- return sal_False;
-
- URLToDispatchMap::const_iterator pIter = m_aListenerMap.find( m_aCommandURL );
- if ( pIter != m_aListenerMap.end() )
- return ( pIter->second.is() );
-
- return sal_False;
-}
-
-void StatusbarController::updateStatus()
-{
- bindListener();
-}
-
-void StatusbarController::updateStatus( const rtl::OUString aCommandURL )
-{
- Reference< XDispatch > xDispatch;
- Reference< XStatusListener > xStatusListener;
- com::sun::star::util::URL aTargetURL;
-
- {
- SolarMutexGuard aSolarMutexGuard;
-
- if ( !m_bInitialized )
- return;
-
- // Try to find a dispatch object for the requested command URL
- Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY );
- xStatusListener = Reference< XStatusListener >( static_cast< OWeakObject* >( this ), UNO_QUERY );
- if ( m_xServiceManager.is() && xDispatchProvider.is() )
- {
- Reference< XURLTransformer > xURLTransformer = getURLTransformer();
- aTargetURL.Complete = aCommandURL;
- xURLTransformer->parseStrict( aTargetURL );
- xDispatch = xDispatchProvider->queryDispatch( aTargetURL, rtl::OUString(), 0 );
- }
- }
-
- if ( xDispatch.is() && xStatusListener.is() )
- {
- // Catch exception as we release our mutex, it is possible that someone else
- // has already disposed this instance!
- // Add/remove status listener to get a update status information from the
- // requested command.
- try
- {
- xDispatch->addStatusListener( xStatusListener, aTargetURL );
- xDispatch->removeStatusListener( xStatusListener, aTargetURL );
- }
- catch ( Exception& )
- {
- }
- }
-}
-
::Rectangle StatusbarController::getControlRect() const
{
::Rectangle aRect;