[Libreoffice-commits] core.git: accessibility/inc compilerplugins/clang framework/inc framework/source include/svtools svtools/inc svtools/source
Noel Grandin
noel at peralex.com
Tue Jul 14 03:22:21 PDT 2015
accessibility/inc/accessibility/extended/AccessibleGridControl.hxx | 18 -
compilerplugins/clang/unusedmethods.cxx | 2
framework/inc/uielement/fontmenucontroller.hxx | 1
framework/inc/uielement/fontsizemenucontroller.hxx | 1
framework/inc/uielement/headermenucontroller.hxx | 1
framework/inc/uielement/langselectionmenucontroller.hxx | 1
framework/inc/uielement/macrosmenucontroller.hxx | 1
framework/source/uielement/controlmenucontroller.cxx | 13 -
framework/source/uielement/fontmenucontroller.cxx | 8
framework/source/uielement/fontsizemenucontroller.cxx | 9
framework/source/uielement/headermenucontroller.cxx | 8
framework/source/uielement/langselectionmenucontroller.cxx | 32 ---
framework/source/uielement/macrosmenucontroller.cxx | 16 -
framework/source/uielement/objectmenucontroller.cxx | 10 -
include/svtools/accessibilityoptions.hxx | 2
include/svtools/accessibletable.hxx | 14 -
include/svtools/accessibletableprovider.hxx | 2
include/svtools/addresstemplate.hxx | 1
include/svtools/apearcfg.hxx | 1
include/svtools/asynclink.hxx | 2
include/svtools/brwbox.hxx | 10 -
include/svtools/calendar.hxx | 58 ------
include/svtools/ctrlbox.hxx | 43 +---
include/svtools/ctrltool.hxx | 2
include/svtools/dialogcontrolling.hxx | 1
include/svtools/editbrowsebox.hxx | 6
include/svtools/editimplementation.hxx | 7
include/svtools/filectrl.hxx | 15 -
include/svtools/fileview.hxx | 1
include/svtools/fmtfield.hxx | 4
include/svtools/framestatuslistener.hxx | 1
include/svtools/grfmgr.hxx | 3
include/svtools/headbar.hxx | 16 -
include/svtools/hyperlabel.hxx | 5
include/svtools/imapcirc.hxx | 3
include/svtools/imapobj.hxx | 20 --
include/svtools/imappoly.hxx | 5
include/svtools/imaprect.hxx | 3
include/svtools/inetimg.hxx | 12 -
include/svtools/ivctrl.hxx | 20 --
include/svtools/miscopt.hxx | 3
include/svtools/parhtml.hxx | 7
include/svtools/parrtf.hxx | 5
include/svtools/popupmenucontrollerbase.hxx | 1
include/svtools/prnsetup.hxx | 1
include/svtools/ruler.hxx | 21 --
include/svtools/simptabl.hxx | 9
include/svtools/stdmenu.hxx | 6
include/svtools/svlbitm.hxx | 8
include/svtools/svparser.hxx | 13 -
include/svtools/svtabbx.hxx | 1
include/svtools/tabbar.hxx | 16 -
include/svtools/table/tableinputhandler.hxx | 4
include/svtools/table/tablemodel.hxx | 77 --------
include/svtools/toolpanelopt.hxx | 2
include/svtools/transfer.hxx | 23 +-
include/svtools/treelist.hxx | 4
include/svtools/treelistbox.hxx | 10 -
include/svtools/treelistentry.hxx | 1
include/svtools/valueset.hxx | 51 +----
include/svtools/wizardmachine.hxx | 3
include/svtools/wizdlg.hxx | 7
include/svtools/xwindowitem.hxx | 1
svtools/inc/table/defaultinputhandler.hxx | 4
svtools/inc/table/tablecontrol.hxx | 28 ---
svtools/source/brwbox/brwbox2.cxx | 16 -
svtools/source/brwbox/brwbox3.cxx | 5
svtools/source/brwbox/datwin.hxx | 11 -
svtools/source/config/accessibilityoptions.cxx | 8
svtools/source/contnr/imivctl.hxx | 17 -
svtools/source/contnr/svtabbx.cxx | 5
svtools/source/control/toolbarmenuimp.hxx | 3
svtools/source/control/valueimp.hxx | 1
svtools/source/dialogs/mcvmath.hxx | 12 -
svtools/source/filter/exportdialog.hxx | 1
svtools/source/hatchwindow/ipwin.hxx | 24 --
svtools/source/inc/svimpbox.hxx | 2
svtools/source/misc/imap.cxx | 8
svtools/source/table/defaultinputhandler.cxx | 35 ---
svtools/source/table/tablecontrol.cxx | 14 -
svtools/source/table/tablecontrol_impl.cxx | 6
svtools/source/table/tablecontrol_impl.hxx | 3
svtools/source/table/tabledatawindow.hxx | 4
svtools/source/table/tablegeometry.hxx | 2
svtools/source/toolpanel/tabbargeometry.hxx | 3
svtools/source/uno/popupmenucontrollerbase.cxx | 8
svtools/source/uno/treecontrolpeer.hxx | 1
svtools/source/uno/unocontroltablemodel.cxx | 9
svtools/source/uno/unocontroltablemodel.hxx | 1
svtools/source/uno/unogridcolumnfacade.cxx | 93 ----------
svtools/source/uno/unogridcolumnfacade.hxx | 10 -
91 files changed, 34 insertions(+), 952 deletions(-)
New commits:
commit 06ea347b939895d3091ce747c26de58f4d4a766a
Author: Noel Grandin <noel at peralex.com>
Date: Tue Jul 14 11:27:52 2015 +0200
loplugin:unusedmethods svtools
Change-Id: I04ad31055c04a247faddf4311943ca769051473c
Reviewed-on: https://gerrit.libreoffice.org/17032
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx
index bf431f5..352afd4 100644
--- a/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx
@@ -227,24 +227,6 @@ protected:
{
return isContextAlive();
}
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
- getTableHeader( ::svt::table::AccessibleTableControlObjType _eObjType ) SAL_OVERRIDE
- {
- ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > xAccessible;
- AccessibleGridControl* pContext( getContext() );
- if ( pContext )
- xAccessible = pContext->getHeaderBar( _eObjType );
- return xAccessible;
- }
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
- getTable() SAL_OVERRIDE
- {
- ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > xAccessible;
- AccessibleGridControl* pContext( getContext() );
- if ( pContext )
- xAccessible = pContext->getTable();
- return xAccessible;
- }
virtual void commitCellEvent( sal_Int16 nEventId,
const ::com::sun::star::uno::Any& rNewValue, const ::com::sun::star::uno::Any& rOldValue ) SAL_OVERRIDE
{
diff --git a/compilerplugins/clang/unusedmethods.cxx b/compilerplugins/clang/unusedmethods.cxx
index 162bff0..782c1b3 100644
--- a/compilerplugins/clang/unusedmethods.cxx
+++ b/compilerplugins/clang/unusedmethods.cxx
@@ -44,7 +44,7 @@ TODO track instantiation of overridden methods when a template class is instanti
namespace {
-// try to limit the volumninous output a little
+// try to limit the voluminous output a little
static std::set<std::string> callSet;
static std::set<std::string> definitionSet;
diff --git a/framework/inc/uielement/fontmenucontroller.hxx b/framework/inc/uielement/fontmenucontroller.hxx
index c54c7f3..fc3dc43 100644
--- a/framework/inc/uielement/fontmenucontroller.hxx
+++ b/framework/inc/uielement/fontmenucontroller.hxx
@@ -64,7 +64,6 @@ namespace framework
private:
virtual void impl_setPopupMenu() SAL_OVERRIDE;
- virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL) SAL_OVERRIDE;
void fillPopupMenu( const com::sun::star::uno::Sequence< OUString >& rFontNameSeq, com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
OUString m_aFontFamilyName;
diff --git a/framework/inc/uielement/fontsizemenucontroller.hxx b/framework/inc/uielement/fontsizemenucontroller.hxx
index 30366e0..e59e47b 100644
--- a/framework/inc/uielement/fontsizemenucontroller.hxx
+++ b/framework/inc/uielement/fontsizemenucontroller.hxx
@@ -62,7 +62,6 @@ namespace framework
private:
virtual void impl_setPopupMenu() SAL_OVERRIDE;
- virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL) SAL_OVERRIDE;
void setCurHeight( long nHeight, com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
void fillPopupMenu( com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
OUString retrievePrinterName( com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& rFrame );
diff --git a/framework/inc/uielement/headermenucontroller.hxx b/framework/inc/uielement/headermenucontroller.hxx
index 6849e75..1fe1990 100644
--- a/framework/inc/uielement/headermenucontroller.hxx
+++ b/framework/inc/uielement/headermenucontroller.hxx
@@ -62,7 +62,6 @@ namespace framework
virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& Source ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
private:
- virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL) SAL_OVERRIDE;
void fillPopupMenu( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& rModel, com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > m_xModel;
diff --git a/framework/inc/uielement/langselectionmenucontroller.hxx b/framework/inc/uielement/langselectionmenucontroller.hxx
index 8a0f46b..e22f4de 100644
--- a/framework/inc/uielement/langselectionmenucontroller.hxx
+++ b/framework/inc/uielement/langselectionmenucontroller.hxx
@@ -67,7 +67,6 @@ namespace framework
private:
virtual void impl_setPopupMenu() SAL_OVERRIDE;
- virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL) SAL_OVERRIDE;
enum Mode
{
MODE_SetLanguageSelectionMenu,
diff --git a/framework/inc/uielement/macrosmenucontroller.hxx b/framework/inc/uielement/macrosmenucontroller.hxx
index 74f7865..d880397 100644
--- a/framework/inc/uielement/macrosmenucontroller.hxx
+++ b/framework/inc/uielement/macrosmenucontroller.hxx
@@ -70,7 +70,6 @@ namespace framework
virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& Source ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
private:
- virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL) SAL_OVERRIDE;
void fillPopupMenu( com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
OUString RetrieveLabelFromCommand(const OUString& rCmdURL);
void addScriptItems( PopupMenu* pPopupMenu, sal_uInt16 startItemId );
diff --git a/framework/source/uielement/controlmenucontroller.cxx b/framework/source/uielement/controlmenucontroller.cxx
index 5f222dd..f37038e 100644
--- a/framework/source/uielement/controlmenucontroller.cxx
+++ b/framework/source/uielement/controlmenucontroller.cxx
@@ -219,7 +219,6 @@ public:
private:
virtual void impl_setPopupMenu() SAL_OVERRIDE;
- virtual void impl_select(const uno::Reference< frame::XDispatch >& _xDispatch,const util::URL& aURL) SAL_OVERRIDE;
class UrlToDispatchMap : public std::unordered_map< OUString,
uno::Reference< frame::XDispatch >,
@@ -361,18 +360,6 @@ void SAL_CALL ControlMenuController::statusChanged( const FeatureStateEvent& Eve
}
// XMenuListener
-void ControlMenuController::impl_select(const Reference< XDispatch >& /*_xDispatch*/,const ::com::sun::star::util::URL& aURL)
-{
- UrlToDispatchMap::iterator pIter = m_aURLToDispatchMap.find( aURL.Complete );
- if ( pIter != m_aURLToDispatchMap.end() )
- {
- Sequence<PropertyValue> aArgs;
- Reference< XDispatch > xDispatch = pIter->second;
- if ( xDispatch.is() )
- xDispatch->dispatch( aURL, aArgs );
- }
-}
-
void SAL_CALL ControlMenuController::itemActivated( const css::awt::MenuEvent& ) throw (RuntimeException, std::exception)
{
osl::ResettableMutexGuard aLock( m_aMutex );
diff --git a/framework/source/uielement/fontmenucontroller.cxx b/framework/source/uielement/fontmenucontroller.cxx
index 41bf4ca..7117648 100644
--- a/framework/source/uielement/fontmenucontroller.cxx
+++ b/framework/source/uielement/fontmenucontroller.cxx
@@ -147,14 +147,6 @@ void SAL_CALL FontMenuController::statusChanged( const FeatureStateEvent& Event
}
// XMenuListener
-void FontMenuController::impl_select(const Reference< XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aTargetURL)
-{
- Sequence<PropertyValue> aArgs;
- OSL_ENSURE(_xDispatch.is(),"FontMenuController::impl_select: No dispatch");
- if ( _xDispatch.is() )
- _xDispatch->dispatch( aTargetURL, aArgs );
-}
-
void SAL_CALL FontMenuController::itemActivated( const css::awt::MenuEvent& ) throw (RuntimeException, std::exception)
{
osl::MutexGuard aLock( m_aMutex );
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index 97b2d1b..fa4b07b 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -278,15 +278,6 @@ void SAL_CALL FontSizeMenuController::statusChanged( const FeatureStateEvent& Ev
}
}
-// XMenuListener
-void FontSizeMenuController::impl_select(const Reference< XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aTargetURL)
-{
- Sequence<PropertyValue> aArgs;
- OSL_ENSURE(_xDispatch.is(),"FontSizeMenuController::impl_select: No dispatch");
- if ( _xDispatch.is() )
- _xDispatch->dispatch( aTargetURL, aArgs );
-}
-
// XPopupMenuController
void FontSizeMenuController::impl_setPopupMenu()
{
diff --git a/framework/source/uielement/headermenucontroller.cxx b/framework/source/uielement/headermenucontroller.cxx
index 7931af4..abbcac4 100644
--- a/framework/source/uielement/headermenucontroller.cxx
+++ b/framework/source/uielement/headermenucontroller.cxx
@@ -210,14 +210,6 @@ void SAL_CALL HeaderMenuController::statusChanged( const FeatureStateEvent& Even
}
// XMenuListener
-void HeaderMenuController::impl_select(const Reference< XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aTargetURL)
-{
- Sequence<PropertyValue> aArgs;
- OSL_ENSURE(_xDispatch.is(),"HeaderMenuController::impl_select: No dispatch");
- if ( _xDispatch.is() )
- _xDispatch->dispatch( aTargetURL, aArgs );
-}
-
void SAL_CALL HeaderMenuController::updatePopupMenu() throw (::com::sun::star::uno::RuntimeException, std::exception)
{
osl::ResettableMutexGuard aLock( m_aMutex );
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx
index 0cafd9a..17b689d 100644
--- a/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/framework/source/uielement/langselectionmenucontroller.cxx
@@ -128,38 +128,6 @@ void SAL_CALL LanguageSelectionMenuController::statusChanged( const FeatureState
}
}
-// XMenuListener
-void LanguageSelectionMenuController::impl_select(const Reference< XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aTargetURL)
-{
- Reference< XDispatch > xDispatch = _xDispatch;
-
- if ( aTargetURL.Complete == m_aMenuCommandURL_Font )
- { //open format/character dialog for current selection
- xDispatch = m_xMenuDispatch_Font;
- }
- else if ( aTargetURL.Complete == m_aMenuCommandURL_Lang )
- { //open language tab-page in tools/options dialog
- xDispatch = m_xMenuDispatch_Lang;
- }
- else if ( aTargetURL.Complete == m_aMenuCommandURL_CharDlgForParagraph )
- { //open format/character dialog for current selection
- xDispatch = m_xMenuDispatch_CharDlgForParagraph;
- }
-
- if ( !xDispatch.is() )
- {
- Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY );
- if ( xDispatchProvider.is() )
- xDispatch = xDispatchProvider->queryDispatch( aTargetURL, OUString(), 0 );
- }
-
- if ( xDispatch.is() )
- {
- Sequence<PropertyValue> aArgs;
- xDispatch->dispatch( aTargetURL, aArgs );
- }
-}
-
// XPopupMenuController
void LanguageSelectionMenuController::impl_setPopupMenu()
{
diff --git a/framework/source/uielement/macrosmenucontroller.cxx b/framework/source/uielement/macrosmenucontroller.cxx
index cd0703f..adc215e 100644
--- a/framework/source/uielement/macrosmenucontroller.cxx
+++ b/framework/source/uielement/macrosmenucontroller.cxx
@@ -122,22 +122,6 @@ void SAL_CALL MacrosMenuController::statusChanged( const FeatureStateEvent& ) th
}
}
-// XMenuListener
-void MacrosMenuController::impl_select(const Reference< XDispatch >& /*_xDispatch*/,const ::com::sun::star::util::URL& aTargetURL)
-{
- // need to requery, since we handle more than one type of Command
- // if we don't do this only .uno:ScriptOrganizer commands are executed
- Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY );
- Reference< XDispatch > xDispatch = xDispatchProvider->queryDispatch( aTargetURL, OUString(), 0 );
- if( xDispatch.is() )
- {
- ExecuteInfo* pExecuteInfo = new ExecuteInfo;
- pExecuteInfo->xDispatch = xDispatch;
- pExecuteInfo->aTargetURL = aTargetURL;
- Application::PostUserEvent( LINK(0, MacrosMenuController , ExecuteHdl_Impl), pExecuteInfo );
- }
-}
-
IMPL_STATIC_LINK( MacrosMenuController, ExecuteHdl_Impl, ExecuteInfo*, pExecuteInfo )
{
try
diff --git a/framework/source/uielement/objectmenucontroller.cxx b/framework/source/uielement/objectmenucontroller.cxx
index a3842ee..ef7968e 100644
--- a/framework/source/uielement/objectmenucontroller.cxx
+++ b/framework/source/uielement/objectmenucontroller.cxx
@@ -88,7 +88,6 @@ public:
private:
void fillPopupMenu( const css::uno::Sequence< css::embed::VerbDescriptor >& rVerbCommandSeq, css::uno::Reference< css::awt::XPopupMenu >& rPopupMenu );
- virtual void impl_select(const css::uno::Reference< css::frame::XDispatch >& _xDispatch,const css::util::URL& aURL) SAL_OVERRIDE;
css::uno::Reference< css::frame::XDispatch > m_xObjectUpdateDispatch;
};
@@ -161,15 +160,6 @@ void SAL_CALL ObjectMenuController::statusChanged( const FeatureStateEvent& Even
}
}
-// XMenuListener
-void ObjectMenuController::impl_select(const Reference< XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aTargetURL)
-{
- Sequence<PropertyValue> aArgs;
- OSL_ENSURE(_xDispatch.is(),"ObjectMenuController::impl_select: No dispatch");
- if ( _xDispatch.is() )
- _xDispatch->dispatch( aTargetURL, aArgs );
-}
-
}
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
diff --git a/include/svtools/accessibilityoptions.hxx b/include/svtools/accessibilityoptions.hxx
index 017094c..66ddf49 100644
--- a/include/svtools/accessibilityoptions.hxx
+++ b/include/svtools/accessibilityoptions.hxx
@@ -56,8 +56,6 @@ public:
void SetSelectionInReadonly(bool bSet);
void SetAutoDetectSystemHC(bool bSet);
- bool IsModified() const;
-
//SfxListener:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) SAL_OVERRIDE;
void SetVCLSettings();
diff --git a/include/svtools/accessibletable.hxx b/include/svtools/accessibletable.hxx
index 6b85734..d5d838f 100644
--- a/include/svtools/accessibletable.hxx
+++ b/include/svtools/accessibletable.hxx
@@ -62,8 +62,6 @@ public:
virtual sal_Int32 GetCurrentRow() const = 0;
/** @return The position of the current column. */
virtual sal_Int32 GetCurrentColumn() const = 0;
- /** Creates and returns the accessible object of the whole GridControl. */
- virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible()= 0;
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleControl( sal_Int32 _nIndex )= 0;
virtual OUString GetAccessibleObjectName(AccessibleTableControlObjType eObjType, sal_Int32 _nRow, sal_Int32 _nCol) const= 0;
virtual bool GoToCell( sal_Int32 _nColumnPos, sal_Int32 _nRow )= 0;
@@ -95,7 +93,6 @@ public:
virtual bool ConvertPointToControlIndex( sal_Int32& _rnIndex, const Point& _rPoint )= 0;
virtual long GetRowCount() const= 0;
virtual long GetColumnCount() const= 0;
- virtual bool HasRowHeader() const= 0;
virtual bool ConvertPointToCellAddress( sal_Int32& _rnRow, sal_Int32& _rnColPos, const Point& _rPoint )= 0;
virtual Rectangle calcHeaderRect( bool _bIsColumnBar, bool _bOnScreen = true ) = 0;
virtual Rectangle calcHeaderCellRect( bool _bColHeader, sal_Int32 _nPos ) = 0;
@@ -108,7 +105,6 @@ public:
virtual OUString GetRowName(sal_Int32 _nIndex) const = 0;
virtual OUString GetColumnDescription( sal_uInt16 _nColumnPos ) const = 0;
virtual OUString GetColumnName( sal_Int32 _nIndex ) const = 0;
- virtual css::uno::Any GetCellContent( sal_Int32 _nRowPos, sal_Int32 _nColPos) const = 0;
virtual OUString GetAccessibleCellText(sal_Int32 _nRowPos, sal_Int32 _nColPos) const = 0;
virtual sal_Int32 GetSelectedRowCount() const = 0;
@@ -146,16 +142,6 @@ public:
*/
virtual bool isAlive() const = 0;
- /** returns the accessible object for the row or the column header bar
- */
- virtual css::uno::Reference< css::accessibility::XAccessible >
- getTableHeader( ::svt::table::AccessibleTableControlObjType _eObjType ) = 0;
-
- /** returns the accessible object for the table representation
- */
- virtual css::uno::Reference< css::accessibility::XAccessible >
- getTable() = 0;
-
/** commits the event at all listeners of the cell
@param nEventId
the event id
diff --git a/include/svtools/accessibletableprovider.hxx b/include/svtools/accessibletableprovider.hxx
index 2454989..6e460ec 100644
--- a/include/svtools/accessibletableprovider.hxx
+++ b/include/svtools/accessibletableprovider.hxx
@@ -69,8 +69,6 @@ public:
/** @return <TRUE/>, if the object has a row header. */
virtual bool HasRowHeader() const = 0; //GetColumnId
- /** @return <TRUE/>, if the object can focus a cell. */
- virtual bool IsCellFocusable() const = 0;
virtual bool GoToCell( sal_Int32 _nRow, sal_uInt16 _nColumnPos ) = 0;
virtual void SetNoSelection() = 0;
diff --git a/include/svtools/addresstemplate.hxx b/include/svtools/addresstemplate.hxx
index 33bbeb6..815d57d 100644
--- a/include/svtools/addresstemplate.hxx
+++ b/include/svtools/addresstemplate.hxx
@@ -116,7 +116,6 @@ namespace svt
void implScrollFields(sal_Int32 _nPos, bool _bAdjustFocus, bool _bAdjustScrollbar);
static void implSelectField(ListBox* _pBox, const OUString& _rText);
- void initalizeListBox(ListBox* _pList);
void resetTables();
void resetFields();
diff --git a/include/svtools/apearcfg.hxx b/include/svtools/apearcfg.hxx
index 26a4413..ae32a48 100644
--- a/include/svtools/apearcfg.hxx
+++ b/include/svtools/apearcfg.hxx
@@ -77,7 +77,6 @@ public:
void SetApplicationDefaults ( Application* pApp );
- void SetMenuMouseFollow(bool bSet) {bMenuMouseFollow = bSet; SetModified();}
bool IsMenuMouseFollow() const{return bMenuMouseFollow;}
#if defined( UNX )
diff --git a/include/svtools/asynclink.hxx b/include/svtools/asynclink.hxx
index 449a4db..862bd3f 100644
--- a/include/svtools/asynclink.hxx
+++ b/include/svtools/asynclink.hxx
@@ -68,8 +68,6 @@ public:
void operator=( const Link<>& rLink ) { _aLink = rLink; }
void Call( void* pObj, bool bAllowDoubles = false, bool bUseTimer = false );
void ClearPendingCall( );
- bool IsSet() const { return _aLink.IsSet(); }
- Link<> GetLink() const { return _aLink; }
};
}
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx
index 610eb57..ca356d45 100644
--- a/include/svtools/brwbox.hxx
+++ b/include/svtools/brwbox.hxx
@@ -402,10 +402,8 @@ protected:
GetDataFlavors() const;
bool IsDropFormatSupported( SotClipboardFormatId nFormat ); // need this because the base class' IsDropFormatSupported is not const ...
- bool IsDropFormatSupported( SotClipboardFormatId nFormat ) const;
bool IsDropFormatSupported( const css::datatransfer::DataFlavor& _rFlavor ); // need this because the base class' IsDropFormatSupported is not const ...
- bool IsDropFormatSupported( const css::datatransfer::DataFlavor& _rFlavor ) const;
private:
void* implGetDataFlavors() const;
@@ -471,11 +469,9 @@ public:
const vcl::Font& GetFont() const { return pDataWin->GetFont(); }
void SetTitleFont( const vcl::Font& rNewFont )
{ Control::SetFont( rNewFont ); }
- const vcl::Font& GetTitleFont() const { return Control::GetFont(); }
// color for line painting
void SetGridLineColor(const Color& rColor) {aGridLineColor = rColor;}
- const Color& GetGridLineColor() const {return aGridLineColor;}
// inserting, changing, removing and freezing of columns
void InsertHandleColumn( sal_uLong nWidth );
@@ -486,7 +482,6 @@ public:
void SetColumnWidth( sal_uInt16 nColumnId, sal_uLong nWidth );
void SetColumnPos( sal_uInt16 nColumnId, sal_uInt16 nPos );
void FreezeColumn( sal_uInt16 nColumnId, bool bFreeze = true );
- void UnfreezeColumns();
void RemoveColumn( sal_uInt16 nColumnId );
void RemoveColumns();
@@ -494,7 +489,6 @@ public:
void SetDataRowHeight( long nPixel );
long GetDataRowHeight() const;
void SetTitleLines( sal_uInt16 nLines );
- sal_uInt16 GetTitleLines() const { return nTitleLines; }
long GetTitleHeight() const;
// access to dynamic values of cursor row
@@ -506,7 +500,6 @@ public:
bool IsFrozen( sal_uInt16 nColumnId ) const;
// movement of visible area
- void ResetScroll();
long ScrollColumns( long nColumns );
long ScrollRows( long nRows );
bool MakeFieldVisible( long nRow, sal_uInt16 nColId, bool bComplete = false );
@@ -569,8 +562,6 @@ public:
BrowserMode GetMode( ) const { return m_nCurrentMode; }
void SetCursorColor(const Color& _rCol);
- Color GetCursorColor() const { return m_aCursorColor; }
- void ResetSelecting() { bSelecting = false; }
/** specifies that the user is allowed to interactively change the height of a row,
by simply dragging an arbitrary row separator.
@@ -799,7 +790,6 @@ public:
virtual sal_Int32 GetCurrRow() const SAL_OVERRIDE;
virtual sal_uInt16 GetCurrColumn() const SAL_OVERRIDE;
virtual bool HasRowHeader() const SAL_OVERRIDE;
- virtual bool IsCellFocusable() const SAL_OVERRIDE;
virtual bool GoToCell( sal_Int32 _nRow, sal_uInt16 _nColumn ) SAL_OVERRIDE;
virtual void SelectColumn( sal_uInt16 _nColumn, bool _bSelect = true ) SAL_OVERRIDE;
virtual bool IsColumnSelected( long _nColumn ) const SAL_OVERRIDE;
diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx
index 4bc14ad..c1b391c 100644
--- a/include/svtools/calendar.hxx
+++ b/include/svtools/calendar.hxx
@@ -283,80 +283,33 @@ public:
void DoubleClick();
void Select();
- const CalendarWrapper& GetCalendarWrapper() const { return maCalendarWrapper; }
-
void SelectDate( const Date& rDate, bool bSelect = true );
void SetNoSelection();
bool IsDateSelected( const Date& rDate ) const;
Date GetFirstSelectedDate() const;
void EnableCallEverySelect( bool bEvery = true ) { mbAllSel = bEvery; }
- bool IsCallEverySelectEnabled() const { return mbAllSel; }
- sal_uInt16 GetRequestYear() const { return mnRequestYear; }
void SetCurDate( const Date& rNewDate );
- Date GetCurDate() const { return maCurDate; }
void SetFirstDate( const Date& rNewFirstDate );
Date GetFirstDate() const { return maFirstDate; }
Date GetLastDate() const { return GetFirstDate() + mnDayCount; }
- sal_uLong GetDayCount() const { return mnDayCount; }
Date GetFirstMonth() const;
Date GetLastMonth() const;
sal_uInt16 GetMonthCount() const;
bool GetDate( const Point& rPos, Date& rDate ) const;
Rectangle GetDateRect( const Date& rDate ) const;
- long GetCurMonthPerLine() const { return mnMonthPerLine; }
- long GetCurLines() const { return mnLines; }
-
- const Color& GetStandardColor() const;
- const Color& GetSaturdayColor() const;
- const Color& GetSundayColor() const;
-
void StartSelection();
void EndSelection();
bool IsTravelSelect() const { return mbTravelSelect; }
- bool IsScrollDateRangeChanged() const { return mbScrollDateRange; }
- bool IsSelectLeft() const { return mbSelLeft; }
Size CalcWindowSizePixel( long nCalcMonthPerLine = 1,
long nCalcLines = 1 ) const;
- void SetSelectionChangingHdl( const Link<>& rLink ) { maSelectionChangingHdl = rLink; }
- const Link<>& GetSelectionChangingHdl() const { return maSelectionChangingHdl; }
- void SetDateRangeChangedHdl( const Link<>& rLink ) { maDateRangeChangedHdl = rLink; }
- const Link<>& GetDateRangeChangedHdl() const { return maDateRangeChangedHdl; }
- void SetRequestDateInfoHdl( const Link<>& rLink ) { maRequestDateInfoHdl = rLink; }
- const Link<>& GetRequestDateInfoHdl() const { return maRequestDateInfoHdl; }
- void SetDoubleClickHdl( const Link<>& rLink ) { maDoubleClickHdl = rLink; }
- const Link<>& GetDoubleClickHdl() const { return maDoubleClickHdl; }
void SetSelectHdl( const Link<>& rLink ) { maSelectHdl = rLink; }
- const Link<>& GetSelectHdl() const { return maSelectHdl; }
};
-inline const Color& Calendar::GetStandardColor() const
-{
- if ( mpStandardColor )
- return *mpStandardColor;
- else
- return GetFont().GetColor();
-}
-
-inline const Color& Calendar::GetSaturdayColor() const
-{
- if ( mpSaturdayColor )
- return *mpSaturdayColor;
- else
- return GetFont().GetColor();
-}
-
-inline const Color& Calendar::GetSundayColor() const
-{
- if ( mpSundayColor )
- return *mpSundayColor;
- else
- return GetFont().GetColor();
-}
/*************************************************************************
@@ -428,19 +381,8 @@ public:
VclPtr<Calendar> CreateCalendar( vcl::Window* pParent );
Calendar* GetCalendar();
- void SetDefaultDate( const Date& rDate ) { maDefaultDate = rDate; }
- Date GetDefaultDate() const { return maDefaultDate; }
-
void EnableToday( bool bToday = true ) { mbToday = bToday; }
- bool IsTodayEnabled() const { return mbToday; }
void EnableNone( bool bNone = true ) { mbNone = bNone; }
- bool IsNoneEnabled() const { return mbNone; }
-
- void SetCalendarStyle( WinBits nStyle ) { mnCalendarStyle = nStyle; }
- WinBits GetCalendarStyle() const { return mnCalendarStyle; }
-
- void SetSelectHdl( const Link<>& rLink ) { maSelectHdl = rLink; }
- const Link<>& GetSelectHdl() const { return maSelectHdl; }
protected:
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index a38f009..5782394 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -160,21 +160,20 @@ public:
virtual void UserDraw( const UserDrawEvent& rUDEvt ) SAL_OVERRIDE;
using ListBox::InsertEntry;
- sal_Int32 InsertEntry( const OUString& rStr,
+ sal_Int32 InsertEntry( const OUString& rStr,
sal_Int32 nPos = LISTBOX_APPEND );
- sal_Int32 InsertEntry( const Color& rColor, const OUString& rStr,
+ sal_Int32 InsertEntry( const Color& rColor, const OUString& rStr,
sal_Int32 nPos = LISTBOX_APPEND );
void InsertAutomaticEntryColor(const Color &rAutoColorValue);
bool IsAutomaticSelected() { return !GetSelectEntryPos(); }
using ListBox::RemoveEntry;
- void RemoveEntry( sal_Int32 nPos );
- void Clear();
+ void RemoveEntry( sal_Int32 nPos );
+ void Clear();
void CopyEntries( const ColorListBox& rBox );
using ListBox::GetEntryPos;
- sal_Int32 GetEntryPos( const Color& rColor ) const;
- Color GetEntryColor( sal_Int32 nPos ) const;
- Size GetImageSize() const { return aImageSize; }
+ sal_Int32 GetEntryPos( const Color& rColor ) const;
+ Color GetEntryColor( sal_Int32 nPos ) const;
void SelectEntry( const OUString& rStr, bool bSelect = true )
{ ListBox::SelectEntry( rStr, bSelect ); }
@@ -197,9 +196,6 @@ public:
private:
ColorListBox( const ColorListBox& ) SAL_DELETED_FUNCTION;
ColorListBox& operator =( const ColorListBox& ) SAL_DELETED_FUNCTION;
-
- void SetEntryData( sal_Int32 nPos, void* pNewData );
- void* GetEntryData( sal_Int32 nPos ) const;
};
inline void ColorListBox::SelectEntry( const Color& rColor, bool bSelect )
@@ -328,29 +324,15 @@ public:
ColorDistFunc pColorDistFn = &sameDistColor);
using ListBox::GetEntryPos;
- sal_Int32 GetEntryPos( sal_uInt16 nStyle = com::sun::star::table::BorderLineStyle::SOLID ) const;
- sal_uInt16 GetEntryStyle( sal_Int32 nPos ) const;
+ sal_Int32 GetEntryPos( sal_uInt16 nStyle = com::sun::star::table::BorderLineStyle::SOLID ) const;
+ sal_uInt16 GetEntryStyle( sal_Int32 nPos ) const;
- void SelectEntry( const OUString& rStr, bool bSelect = true ) { ListBox::SelectEntry( rStr, bSelect ); }
- void SelectEntry( sal_uInt16 nStyle = com::sun::star::table::BorderLineStyle::SOLID, bool bSelect = true );
- sal_uInt16 GetSelectEntryStyle( sal_Int32 nSelIndex = 0 ) const;
- bool IsEntrySelected(const OUString& rStr) const
- {
- return ListBox::IsEntrySelected(rStr);
- }
- bool IsEntrySelected( sal_uInt16 nStyle = com::sun::star::table::BorderLineStyle::SOLID ) const
- {
- sal_Int32 nPos = GetEntryPos( nStyle );
- if ( nPos != LISTBOX_ENTRY_NOTFOUND )
- return IsEntryPosSelected( nPos );
- else
- return false;
- }
+ void SelectEntry( sal_uInt16 nStyle = com::sun::star::table::BorderLineStyle::SOLID, bool bSelect = true );
+ sal_uInt16 GetSelectEntryStyle( sal_Int32 nSelIndex = 0 ) const;
inline void SetUnit( FieldUnit eNewUnit ) { eUnit = eNewUnit; }
- inline FieldUnit GetUnit() const { return eUnit; }
+
inline void SetSourceUnit( FieldUnit eNewUnit ) { eSourceUnit = eNewUnit; }
- inline FieldUnit GetSourceUnit() const { return eSourceUnit; }
void SetColor( const Color& rColor );
Color GetColor() const { return aColor; }
@@ -365,8 +347,6 @@ protected:
private:
LineListBox( const LineListBox& ) SAL_DELETED_FUNCTION;
LineListBox& operator =( const LineListBox& ) SAL_DELETED_FUNCTION;
- void SetEntryData( sal_Int32 nPos, void* pNewData );
- void* GetEntryData( sal_Int32 nPos ) const;
};
inline void LineListBox::SetColor( const Color& rColor )
@@ -417,7 +397,6 @@ public:
void Fill( const FontList* pList );
void EnableWYSIWYG( bool bEnable = true );
- bool IsWYSIWYGEnabled() const { return mbWYSIWYG; }
private:
void InitFontMRUEntriesFile();
diff --git a/include/svtools/ctrltool.hxx b/include/svtools/ctrltool.hxx
index c6be1c4..edda87f 100644
--- a/include/svtools/ctrltool.hxx
+++ b/include/svtools/ctrltool.hxx
@@ -164,8 +164,6 @@ public:
FontList* Clone() const;
- OutputDevice* GetDevice() const { return mpDev; }
- OutputDevice* GetDevice2() const { return mpDev2; }
OUString GetFontMapText( const vcl::FontInfo& rInfo ) const;
const OUString& GetNormalStr() const { return maNormal; }
diff --git a/include/svtools/dialogcontrolling.hxx b/include/svtools/dialogcontrolling.hxx
index c46f674..c0841f1 100644
--- a/include/svtools/dialogcontrolling.hxx
+++ b/include/svtools/dialogcontrolling.hxx
@@ -112,7 +112,6 @@ namespace svt
void reset();
private:
- void impl_Init();
void impl_updateAll( const VclWindowEvent& _rTriggerEvent );
void impl_update( const VclWindowEvent& _rTriggerEvent, vcl::Window& _rWindow );
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index 16338a8..d2294f4 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -140,7 +140,6 @@ namespace svt
virtual void SetSelection( const Selection& _rSelection ) = 0;
virtual void ReplaceSelected( const OUString& _rStr ) = 0;
- virtual void DeleteSelected() = 0;
virtual OUString GetSelected( LineEnd aSeparator ) const = 0;
virtual void SetModified() = 0;
@@ -176,7 +175,6 @@ namespace svt
virtual void SetSelection( const Selection& _rSelection ) SAL_OVERRIDE;
virtual void ReplaceSelected( const OUString& _rStr ) SAL_OVERRIDE;
- virtual void DeleteSelected() SAL_OVERRIDE;
virtual OUString GetSelected( LineEnd aSeparator ) const SAL_OVERRIDE;
virtual void SetModified() SAL_OVERRIDE;
@@ -297,10 +295,8 @@ namespace svt
virtual void Resize() SAL_OVERRIDE;
void SetClickHdl(const Link<>& rHdl) {m_aClickLink = rHdl;}
- const Link<>& GetClickHdl() const {return m_aClickLink;}
void SetModifyHdl(const Link<>& rHdl) {m_aModifyLink = rHdl;}
- const Link<>& GetModifyHdl() const {return m_aModifyLink;}
CheckBox& GetBox() {return *pBox;};
@@ -501,9 +497,7 @@ namespace svt
protected:
VclPtr<BrowserHeader> pHeader;
- bool isGetCellFocusPending() const { return nStartEvent != 0; }
void cancelGetCellFocus() { if (nStartEvent) Application::RemoveUserEvent(nStartEvent); nStartEvent = 0; }
- void forceGetCellFocus() { cancelGetCellFocus(); LINK(this, EditBrowseBox, StartEditHdl).Call(nullptr); }
BrowserMouseEventPtr& getMouseEvent() { return aMouseEvent; }
diff --git a/include/svtools/editimplementation.hxx b/include/svtools/editimplementation.hxx
index 4140388..f6a98a6 100644
--- a/include/svtools/editimplementation.hxx
+++ b/include/svtools/editimplementation.hxx
@@ -87,13 +87,6 @@ void GenericEditImplementation< EDIT >::ReplaceSelected( const OUString& _rStr )
template <class EDIT>
-void GenericEditImplementation< EDIT >::DeleteSelected()
-{
- m_rEdit.DeleteSelected();
-}
-
-
-template <class EDIT>
OUString GenericEditImplementation< EDIT >::GetSelected( LineEnd ) const
{
return m_rEdit.GetSelected( );
diff --git a/include/svtools/filectrl.hxx b/include/svtools/filectrl.hxx
index a0340b8..8038b78 100644
--- a/include/svtools/filectrl.hxx
+++ b/include/svtools/filectrl.hxx
@@ -85,23 +85,8 @@ public:
void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, DrawFlags nFlags ) SAL_OVERRIDE;
- void SetOpenDialog( bool bOpen ) { mbOpenDlg = bOpen; }
- bool IsOpenDialog() const { return mbOpenDlg; }
-
void SetText( const OUString& rStr ) SAL_OVERRIDE;
OUString GetText() const SAL_OVERRIDE;
- OUString GetSelectedText() const { return maEdit->GetSelected(); }
-
- void SetSelection( const Selection& rSelection ) { maEdit->SetSelection( rSelection ); }
- Selection GetSelection() const { return maEdit->GetSelection(); }
-
- void SetReadOnly( bool bReadOnly = true ) { maEdit->SetReadOnly( bReadOnly ); }
- bool IsReadOnly() const { return maEdit->IsReadOnly(); }
-
-
- //use this to manipulate the dialog bevore executing it:
- void SetDialogCreatedHdl( const Link<>& rLink ) { maDialogCreatedHdl = rLink; }
- const Link<>& GetDialogCreatedHdl() const { return maDialogCreatedHdl; }
void SetEditModifyHdl( const Link<>& rLink );
};
diff --git a/include/svtools/fileview.hxx b/include/svtools/fileview.hxx
index 09affbe..6bb6415 100644
--- a/include/svtools/fileview.hxx
+++ b/include/svtools/fileview.hxx
@@ -92,7 +92,6 @@ public:
void SetSizePixel( const Size& rNewSize ) SAL_OVERRIDE;
virtual void SetPosSizePixel( const Point& rNewPos, const Size& rNewSize ) SAL_OVERRIDE;
void SetSortColumn( bool bValue ) { bSortColumn = bValue; }
- bool GetSortColumn() { return bSortColumn; }
/** initialize the view with the content of a folder given by URL, and apply an immediate filter
diff --git a/include/svtools/fmtfield.hxx b/include/svtools/fmtfield.hxx
index 562cf5c..ce5e154 100644
--- a/include/svtools/fmtfield.hxx
+++ b/include/svtools/fmtfield.hxx
@@ -112,8 +112,6 @@ public:
double GetValue();
// The default implementation uses a formatter, if available
- void GetColor() const;
-
void SetTextValue(const OUString& rText);
// The String is transformed to a double (with a formatter) and SetValue is called afterwards
@@ -202,7 +200,6 @@ public:
// red), the text is painted with that color automatically.
// The color used is the same as returned by GetLastOutputColor()
void SetAutoColor(bool _bAutomatic);
- bool GetAutoColor() const { return m_bAutoColor; }
/** enables handling of not-a-number value.
@@ -219,7 +216,6 @@ public:
return NaN in subsequent calls.
*/
void EnableNotANumber( bool _bEnable );
- bool IsNotANumberEnabled( ) const { return m_bEnableNaN; }
/** When being set to true, the strings in the field are formatted using the
InputLine format. That's also what you get in Calc when you edit a cell
diff --git a/include/svtools/framestatuslistener.hxx b/include/svtools/framestatuslistener.hxx
index d585ec4..dee8a52 100644
--- a/include/svtools/framestatuslistener.hxx
+++ b/include/svtools/framestatuslistener.hxx
@@ -51,7 +51,6 @@ class SVT_DLLPUBLIC FrameStatusListener : public ::com::sun::star::frame::XStatu
void addStatusListener( const OUString& aCommandURL );
void bindListener();
void unbindListener();
- bool isBound() const;
// XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx
index 4aca5db..70f635f 100644
--- a/include/svtools/grfmgr.hxx
+++ b/include/svtools/grfmgr.hxx
@@ -209,7 +209,6 @@ private:
const GraphicObject* pCopyObj = NULL
);
void SVT_DLLPRIVATE ImplAutoSwapIn();
- bool SVT_DLLPRIVATE ImplIsAutoSwapped() const { return mbAutoSwapped; }
bool SVT_DLLPRIVATE ImplGetCropParams(
OutputDevice* pOut,
Point& rPt,
@@ -343,7 +342,6 @@ public:
bool HasSwapStreamHdl() const { return( mpSwapStreamHdl != NULL && mpSwapStreamHdl->IsSet() ); }
void SetSwapStreamHdl();
void SetSwapStreamHdl(const Link<>& rHdl);
- sal_uLong GetSwapOutTimeout() const { return( mpSwapOutTimer ? mpSwapOutTimer->GetTimeout() : 0 ); }
void FireSwapInRequest();
void FireSwapOutRequest();
@@ -414,7 +412,6 @@ public:
const MapMode& GetPrefMapMode() const { return maPrefMapMode; }
sal_uLong GetSizeBytes() const { return mnSizeBytes; }
bool IsTransparent() const { return mbTransparent; }
- bool IsAlpha() const { return mbAlpha; }
bool IsAnimated() const { return mbAnimated; }
bool IsEPS() const { return mbEPS; }
diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx
index cbf057b..b7a7504 100644
--- a/include/svtools/headbar.hxx
+++ b/include/svtools/headbar.hxx
@@ -313,9 +313,7 @@ public:
void Clear();
void SetOffset( long nNewOffset = 0 );
- long GetOffset() const { return mnOffset; }
inline void SetDragSize( long nNewSize = 0 ) { mnDragSize = nNewSize; }
- long GetDragSize() const { return mnDragSize; }
sal_uInt16 GetItemCount() const;
sal_uInt16 GetItemPos( sal_uInt16 nItemId ) const;
@@ -324,9 +322,7 @@ public:
Rectangle GetItemRect( sal_uInt16 nItemId ) const;
sal_uInt16 GetCurItemId() const { return mnCurItemId; }
long GetDragPos() const { return mnDragPos; }
- sal_uInt16 GetItemDragPos() const { return mnItemDragPos; }
bool IsItemMode() const { return mbItemMode; }
- bool IsItemDrag() const { return mbItemDrag; }
void SetItemSize( sal_uInt16 nItemId, long nNewSize );
long GetItemSize( sal_uInt16 nItemId ) const;
@@ -341,23 +337,15 @@ public:
Size CalcWindowSizePixel() const;
- inline void SetHelpText( const OUString& rText ) { Window::SetHelpText( rText ); }
- inline const OUString& GetHelpText() const { return Window::GetHelpText(); }
- inline void SetHelpId( const OString& rId ) { Window::SetHelpId( rId ); }
- inline const OString& GetHelpId() const { return Window::GetHelpId(); }
+ inline void SetHelpId( const OString& rId ) { Window::SetHelpId( rId ); }
+
inline void SetStartDragHdl( const Link<>& rLink ) { maStartDragHdl = rLink; }
- inline const Link<>& GetStartDragHdl() const { return maStartDragHdl; }
inline void SetDragHdl( const Link<>& rLink ) { maDragHdl = rLink; }
- inline const Link<>& GetDragHdl() const { return maDragHdl; }
inline void SetEndDragHdl( const Link<>& rLink ) { maEndDragHdl = rLink; }
- inline const Link<>& GetEndDragHdl() const { return maEndDragHdl; }
inline void SetSelectHdl( const Link<>& rLink ) { maSelectHdl = rLink; }
- inline const Link<>& GetSelectHdl() const { return maSelectHdl; }
inline void SetDoubleClickHdl( const Link<>& rLink ) { maDoubleClickHdl = rLink; }
- inline const Link<>& GetDoubleClickHdl() const { return maDoubleClickHdl; }
inline void SetCreateAccessibleHdl( const Link<>& rLink ) { maCreateAccessibleHdl = rLink; }
- inline const Link<>& GetCreateAccessibleHdl() const { return maCreateAccessibleHdl; }
inline bool IsDragable() const { return mbDragable; }
diff --git a/include/svtools/hyperlabel.hxx b/include/svtools/hyperlabel.hxx
index 2ee4248..ad61c58 100644
--- a/include/svtools/hyperlabel.hxx
+++ b/include/svtools/hyperlabel.hxx
@@ -70,15 +70,10 @@ namespace svt
void SetInteractive( bool _bInteractive );
void SetClickHdl( const Link<>& rLink ) { maClickHdl = rLink; }
- const Link<>& GetClickHdl() const { return maClickHdl; }
Size CalcMinimumSize( long nMaxWidth = 0 ) const;
private:
-
- DECL_LINK(ImplClickHdl, HyperLabel*);
-
- private:
using FixedText::CalcMinimumSize;
};
}
diff --git a/include/svtools/imapcirc.hxx b/include/svtools/imapcirc.hxx
index 8b6b194..92a28d7 100644
--- a/include/svtools/imapcirc.hxx
+++ b/include/svtools/imapcirc.hxx
@@ -57,9 +57,6 @@ public:
Point GetCenter( bool bPixelCoords = true ) const;
sal_uLong GetRadius( bool bPixelCoords = true ) const;
- // returns the BoundRect of the circle object in 1/100mm
- virtual Rectangle GetBoundRect() const SAL_OVERRIDE;
-
void Scale( const Fraction& rFractX, const Fraction& rFracY );
using IMapObject::IsEqual;
diff --git a/include/svtools/imapobj.hxx b/include/svtools/imapobj.hxx
index 5fcd543..f604b86 100644
--- a/include/svtools/imapobj.hxx
+++ b/include/svtools/imapobj.hxx
@@ -95,8 +95,6 @@ public:
void Write ( SvStream& rOStm, const OUString& rBaseURL ) const;
void Read( SvStream& rIStm, const OUString& rBaseURL );
- virtual Rectangle GetBoundRect() const = 0;
-
const OUString& GetURL() const { return aURL; }
void SetURL( const OUString& rURL ) { aURL = rURL; }
@@ -120,26 +118,8 @@ public:
// IMap-Events
inline const SvxMacroTableDtor& GetMacroTable() const { return aEventList;}
inline void SetMacroTable( const SvxMacroTableDtor& rTbl ) { aEventList = rTbl; }
-
- inline const SvxMacro& GetEvent( sal_uInt16 nEvent ) const;
- inline bool HasEvent( sal_uInt16 nEvent ) const;
- void SetEvent( sal_uInt16 nEvent, const SvxMacro& );
- inline bool DelEvent( sal_uInt16 nEvent );
};
-inline bool IMapObject::HasEvent( sal_uInt16 nEvent ) const
-{
- return aEventList.IsKeyValid( nEvent );
-}
-inline const SvxMacro& IMapObject::GetEvent( sal_uInt16 nEvent ) const
-{
- return *(aEventList.Get( nEvent ));
-}
-inline bool IMapObject::DelEvent( sal_uInt16 nEvent )
-{
- return aEventList.Erase( nEvent );
-}
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svtools/imappoly.hxx b/include/svtools/imappoly.hxx
index 79ca52a..547b386 100644
--- a/include/svtools/imappoly.hxx
+++ b/include/svtools/imappoly.hxx
@@ -40,8 +40,6 @@ protected:
virtual void WriteIMapObject( SvStream& rOStm ) const SAL_OVERRIDE;
virtual void ReadIMapObject( SvStream& rIStm ) SAL_OVERRIDE;
- bool ReadPreProLine( SvStream& rIStm, OUString& rStr );
-
public:
IMapPolygonObject() : bEllipse(false) {}
IMapPolygonObject( const Polygon& rPoly,
@@ -59,9 +57,6 @@ public:
Polygon GetPolygon( bool bPixelCoords = true ) const;
- // liefert das BoundRect des Polygon-Objektes in 1/100mm
- virtual Rectangle GetBoundRect() const SAL_OVERRIDE { return aPoly.GetBoundRect(); }
-
bool HasExtraEllipse() const { return bEllipse; }
const Rectangle& GetExtraEllipse() const { return aEllipse; }
void SetExtraEllipse( const Rectangle& rEllipse );
diff --git a/include/svtools/imaprect.hxx b/include/svtools/imaprect.hxx
index 632d38e..3b3f332 100644
--- a/include/svtools/imaprect.hxx
+++ b/include/svtools/imaprect.hxx
@@ -55,9 +55,6 @@ public:
Rectangle GetRectangle( bool bPixelCoords = true ) const;
- // returns the BoundRect of the rectangle object in 1/100mm
- virtual Rectangle GetBoundRect() const SAL_OVERRIDE { return aRect; }
-
void Scale( const Fraction& rFractX, const Fraction& rFracY );
using IMapObject::IsEqual;
diff --git a/include/svtools/inetimg.hxx b/include/svtools/inetimg.hxx
index 22a4f56..db061d6 100644
--- a/include/svtools/inetimg.hxx
+++ b/include/svtools/inetimg.hxx
@@ -35,16 +35,6 @@ class INetImage
OUString aAlternateText;
Size aSizePixel;
-protected:
- OUString CopyExchange() const;
- void PasteExchange( const OUString& rString );
-
- void SetImageURL( const OUString& rS ) { aImageURL = rS; }
- void SetTargetURL( const OUString& rS ) { aTargetURL = rS; }
- void SetTargetFrame( const OUString& rS ) { aTargetFrame = rS; }
- void SetAlternateText( const OUString& rS ){ aAlternateText = rS; }
- void SetSizePixel( const Size& rSize ) { aSizePixel = rSize; }
-
public:
INetImage(
const OUString& rImageURL,
@@ -64,8 +54,6 @@ public:
const OUString& GetImageURL() const { return aImageURL; }
const OUString& GetTargetURL() const { return aTargetURL; }
const OUString& GetTargetFrame() const { return aTargetFrame; }
- const OUString& GetAlternateText() const { return aAlternateText; }
- const Size& GetSizePixel() const { return aSizePixel; }
// Im-/Export
bool Write( SvStream& rOStm, SotClipboardFormatId nFormat ) const;
diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index 1fc1c97..136be94 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -121,7 +121,6 @@ public:
SvxIconChoiceCtrlEntry( const OUString& rText, const Image& rImage, SvxIconViewFlags nFlags = SvxIconViewFlags::NONE );
~SvxIconChoiceCtrlEntry () {}
- void SetImage ( const Image& rImage ) { aImage = rImage; }
Image GetImage () const { return aImage; }
void SetText ( const OUString& rText ) { aText = rText; }
OUString GetText () const { return aText; }
@@ -131,23 +130,14 @@ public:
void SetUserData ( void* _pUserData ) { pUserData = _pUserData; }
void* GetUserData () { return pUserData; }
- const Rectangle & GetBoundRect() const { return aRect; }
-
- void SetFocus ( bool bSet )
- { nFlags = ( bSet ? nFlags | SvxIconViewFlags::FOCUSED : nFlags & ~SvxIconViewFlags::FOCUSED ); }
-
SvxIconChoiceCtrlTextMode GetTextMode() const { return eTextMode; }
SvxIconViewFlags GetFlags() const { return nFlags; }
bool IsSelected() const { return bool(nFlags & SvxIconViewFlags::SELECTED); }
bool IsFocused() const { return bool(nFlags & SvxIconViewFlags::FOCUSED); }
- bool IsInUse() const { return bool(nFlags & SvxIconViewFlags::IN_USE); }
bool IsCursored() const { return bool(nFlags & SvxIconViewFlags::CURSORED); }
bool IsDropTarget() const { return bool(nFlags & SvxIconViewFlags::DROP_TARGET); }
bool IsBlockingEmphasis() const { return bool(nFlags & SvxIconViewFlags::BLOCK_EMPHASIS); }
bool IsPosLocked() const { return bool(nFlags & SvxIconViewFlags::POS_LOCKED); }
- // Only set at AutoArrange. The head of the list is accessible via SvxIconChoiceCtrl::GetPredecessorHead
- SvxIconChoiceCtrlEntry* GetSuccessor() const { return pflink; }
- SvxIconChoiceCtrlEntry* GetPredecessor() const { return pblink; }
};
enum SvxIconChoiceCtrlColumnAlign
@@ -171,17 +161,8 @@ public:
nWidth( nWd ), eAlignment( eAlign ), nSubItem( nSub ) {}
SvxIconChoiceCtrlColumnInfo( const SvxIconChoiceCtrlColumnInfo& );
- void SetText( const OUString& rText ) { aColText = rText; }
- void SetImage( const Image& rImg ) { aColImage = rImg; }
void SetWidth( long nWd ) { nWidth = nWd; }
- void SetAlignment( SvxIconChoiceCtrlColumnAlign eAlign ) { eAlignment = eAlign; }
- void SetSubItem( sal_uInt16 nSub) { nSubItem = nSub; }
-
- const OUString& GetText() const { return aColText; }
- const Image& GetImage() const { return aColImage; }
long GetWidth() const { return nWidth; }
- SvxIconChoiceCtrlColumnAlign GetAlignment() const { return eAlignment; }
- sal_uInt16 GetSubItem() const { return nSubItem; }
};
@@ -326,7 +307,6 @@ public:
void SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry = 0 );
#endif
- void SetFontColorToBackground ( bool bDo = true ) { _bAutoFontColor = bDo; }
bool AutoFontColor () { return _bAutoFontColor; }
Point GetPixelPos( const Point& rPosLogic ) const;
diff --git a/include/svtools/miscopt.hxx b/include/svtools/miscopt.hxx
index 6e321d2..7c660e6 100644
--- a/include/svtools/miscopt.hxx
+++ b/include/svtools/miscopt.hxx
@@ -83,9 +83,6 @@ class SVT_DLLPUBLIC SvtMiscOptions: public utl::detail::Options
sal_Int16 GetToolboxStyle() const;
void SetToolboxStyle( sal_Int16 nStyle );
- bool IsModifyByPrinting() const;
- void SetModifyByPrinting(bool bSet );
-
bool UseSystemPrintDialog() const;
void SetUseSystemPrintDialog( bool bSet );
diff --git a/include/svtools/parhtml.hxx b/include/svtools/parhtml.hxx
index 8195bea..ee5c419 100644
--- a/include/svtools/parhtml.hxx
+++ b/include/svtools/parhtml.hxx
@@ -167,15 +167,12 @@ public:
bool IsNewDoc() const { return bNewDoc; }
bool IsInHeader() const { return bIsInHeader; }
- bool IsInBody() const { return bIsInBody; }
bool IsReadListing() const { return bReadListing; }
bool IsReadXMP() const { return bReadXMP; }
bool IsReadPRE() const { return bReadPRE; }
bool IsReadScript() const { return bReadScript; }
bool IsReadStyle() const { return bReadStyle; }
- void SetReadNextChar() { bReadNextChar = true; }
-
// start PRE-/LISTING or XMP mode or filter tags respectively
inline void StartPRE( bool bRestart=false );
void FinishPRE() { bReadPRE = false; }
@@ -200,10 +197,6 @@ public:
// NextToken yourself, you should call this method beforehand.
int FilterToken( int nToken );
- // end scanning of a script (should only be called right after
- // reading of a <SCRIPT>)
- void EndScanScript() { bReadScript = false; }
-
void ReadRawData( const OUString &rEndToken ) { aEndToken = rEndToken; }
// Token without \-sequences
diff --git a/include/svtools/parrtf.hxx b/include/svtools/parrtf.hxx
index 7a78c12..6eb58d9 100644
--- a/include/svtools/parrtf.hxx
+++ b/include/svtools/parrtf.hxx
@@ -64,16 +64,11 @@ protected:
rtl_TextEncoding GetCodeSet() const { return eCodeSet; }
void SetEncoding( rtl_TextEncoding eEnc );
- rtl_TextEncoding GetUNICodeSet() const { return eUNICodeSet; }
- void SetUNICodeSet( rtl_TextEncoding eSet ) { eUNICodeSet = eSet; }
-
public:
SvRTFParser( SvStream& rIn, sal_uInt8 nStackSize = 3 );
virtual SvParserState CallParser() SAL_OVERRIDE; // Aufruf des Parsers
- int GetOpenBrakets() const { return nOpenBrakets; }
-
// fuers asynchrone lesen aus dem SvStream
virtual void Continue( int nToken ) SAL_OVERRIDE;
};
diff --git a/include/svtools/popupmenucontrollerbase.hxx b/include/svtools/popupmenucontrollerbase.hxx
index 60dd065..c800470 100644
--- a/include/svtools/popupmenucontrollerbase.hxx
+++ b/include/svtools/popupmenucontrollerbase.hxx
@@ -109,7 +109,6 @@ namespace svt
static void resetPopupMenu( com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
virtual void impl_setPopupMenu();
- virtual void impl_select(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >& _xDispatch,const ::com::sun::star::util::URL& aURL);
static OUString determineBaseURL( const OUString& aURL );
DECL_STATIC_LINK( PopupMenuControllerBase, ExecuteHdl_Impl, PopupMenuControllerBaseDispatchInfo* );
diff --git a/include/svtools/prnsetup.hxx b/include/svtools/prnsetup.hxx
index 34c081b..e1ca5db 100644
--- a/include/svtools/prnsetup.hxx
+++ b/include/svtools/prnsetup.hxx
@@ -54,7 +54,6 @@ private:
SVT_DLLPRIVATE void ImplSetInfo();
DECL_DLLPRIVATE_LINK( ImplPropertiesHdl, void* );
- DECL_DLLPRIVATE_LINK( ImplOptionsHdl, void* );
DECL_DLLPRIVATE_LINK( ImplChangePrinterHdl, void* );
DECL_DLLPRIVATE_LINK_TYPED( ImplStatusHdl, Timer*, void );
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx
index 27b1380..87908e1 100644
--- a/include/svtools/ruler.hxx
+++ b/include/svtools/ruler.hxx
@@ -733,11 +733,9 @@ public:
void Activate() SAL_OVERRIDE;
void Deactivate() SAL_OVERRIDE;
- bool IsActive() const { return mbActive; }
void SetWinPos( long nOff = 0, long nWidth = 0 );
long GetWinOffset() const { return mnWinOff; }
- long GetWinWidth() const { return mnWinWidth; }
void SetPagePos( long nOff = 0, long nWidth = 0 );
long GetPageOffset() const;
void SetBorderPos( long nOff = 0 );
@@ -747,16 +745,10 @@ public:
void SetUnit( FieldUnit eNewUnit );
FieldUnit GetUnit() const { return meUnit; }
void SetZoom( const Fraction& rNewZoom );
- Fraction GetZoom() const { return maZoom; }
void SetSourceUnit( MapUnit eNewUnit ) { meSourceUnit = eNewUnit; }
- MapUnit GetSourceUnit() const { return meSourceUnit; }
void SetExtraType( RulerExtra eNewExtraType, sal_uInt16 nStyle = 0 );
- RulerExtra GetExtraType() const { return meExtraType; }
- sal_uInt16 GetExtraStyle() const { return mnExtraStyle; }
- sal_uInt16 GetExtraClicks() const { return mnExtraClicks; }
- sal_uInt16 GetExtraModifier() const { return mnExtraModifier; }
bool StartDocDrag( const MouseEvent& rMEvt,
RulerType eDragType = RULER_TYPE_DONTKNOW );
@@ -771,7 +763,6 @@ public:
void CancelDrag();
long GetClickPos() const { return mnDragPos; }
RulerType GetClickType() const { return meDragType; }
- sal_uInt16 GetClickAryPos() const { return mnDragAryPos; }
RulerSelection GetHoverSelection() const { return maHoverSelection; }
@@ -794,8 +785,6 @@ public:
void SetIndents( sal_uInt32 n = 0, const RulerIndent* pIndentAry = NULL );
void SetTabs( sal_uInt32 n = 0, const RulerTab* pTabAry = NULL );
- sal_uInt32 GetTabCount() const;
- const RulerTab* GetTabs() const;
static void DrawTab(vcl::RenderContext& rRenderContext, const Color &rFillColor,
const Point& rPos, sal_uInt16 nStyle);
@@ -803,18 +792,8 @@ public:
void SetStyle( WinBits nStyle );
WinBits GetStyle() const { return mnWinStyle; }
- void SetStartDragHdl( const Link<>& rLink ) { maStartDragHdl = rLink; }
const Link<>& GetStartDragHdl() const { return maStartDragHdl; }
- void SetDragHdl( const Link<>& rLink ) { maDragHdl = rLink; }
- const Link<>& GetDragHdl() const { return maDragHdl; }
- void SetEndDragHdl( const Link<>& rLink ) { maEndDragHdl = rLink; }
- const Link<>& GetEndDragHdl() const { return maEndDragHdl; }
- void SetClickHdl( const Link<>& rLink ) { maClickHdl = rLink; }
- const Link<>& GetClickHdl() const { return maClickHdl; }
void SetDoubleClickHdl( const Link<>& rLink ) { maDoubleClickHdl = rLink; }
- const Link<>& GetDoubleClickHdl() const { return maDoubleClickHdl; }
- void SetExtraDownHdl( const Link<>& rLink ) { maExtraDownHdl = rLink; }
- const Link<>& GetExtraDownHdl() const { return maExtraDownHdl; }
void SetTextRTL(bool bRTL);
bool GetTextRTL();
diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx
index 90346fb..0914396 100644
--- a/include/svtools/simptabl.hxx
+++ b/include/svtools/simptabl.hxx
@@ -119,18 +119,9 @@ public:
CommandEvent GetCommandEvent()const { return aCEvt;}
inline bool IsFocusOnCellEnabled() const { return IsCellFocusEnabled(); }
-
void SetCommandHdl( const Link<>& rLink ) { aCommandLink = rLink; }
- const Link<>& GetCommandHdl() const { return aCommandLink; }
void SetHeaderBarClickHdl( const Link<>& rLink ) { aHeaderBarClickLink = rLink; }
- const Link<>& GetHeaderBarClickHdl() const { return aHeaderBarClickLink; }
-
- void SetHeaderBarDblClickHdl( const Link<>& rLink ) { aHeaderBarDblClickLink = rLink; }
- const Link<>& GetHeaderBarDblClickHdl() const { return aHeaderBarDblClickLink; }
-
- void SetHeaderBarHelpId(const OString& rHelpId) { aHeaderBar->SetHelpId(rHelpId); }
-
HeaderBar& GetTheHeaderBar() { return *aHeaderBar.get(); }
};
diff --git a/include/svtools/stdmenu.hxx b/include/svtools/stdmenu.hxx
index 8628411..4e9c0fb 100644
--- a/include/svtools/stdmenu.hxx
+++ b/include/svtools/stdmenu.hxx
@@ -117,9 +117,6 @@ public:
const OUString& GetCurName() const { return maCurName; }
void SetSelectHdl( const Link<>& rLink ) { maSelectHdl = rLink; }
- const Link<>& GetSelectHdl() const { return maSelectHdl; }
- void SetHighlightHdl( const Link<>& rLink ) { maHighlightHdl = rLink; }
- const Link<>& GetHighlightHdl() const { return maHighlightHdl; }
};
class SVT_DLLPUBLIC FontSizeMenu : public PopupMenu
@@ -143,9 +140,6 @@ public:
long GetCurHeight() const { return mnCurHeight; }
void SetSelectHdl( const Link<>& rLink ) { maSelectHdl = rLink; }
- const Link<>& GetSelectHdl() const { return maSelectHdl; }
- void SetHighlightHdl( const Link<>& rLink ) { maHighlightHdl = rLink; }
- const Link<>& GetHighlightHdl() const { return maHighlightHdl; }
};
#endif // INCLUDED_SVTOOLS_STDMENU_HXX
diff --git a/include/svtools/svlbitm.hxx b/include/svtools/svlbitm.hxx
index 5811b1a..2aa8e63 100644
--- a/include/svtools/svlbitm.hxx
+++ b/include/svtools/svlbitm.hxx
@@ -81,7 +81,6 @@ public:
long Width();
long Height();
void SetLink( const Link<>& rLink) { aLink=rLink; }
- const Link<>& GetLink() const { return aLink; }
bool IsRadio();
// as buttons are not derived from LinkHdl
void CallLink();
@@ -89,8 +88,6 @@ public:
void StoreButtonState( SvTreeListEntry* pEntry, SvItemStateFlags nItemFlags );
static SvButtonState ConvertToButtonState( SvItemStateFlags nItemFlags );
- SvButtonState GetActButtonState() const { return eState; }
-
SvTreeListEntry* GetActEntry() const;
void SetImage(SvBmp nIndex, const Image& aImage) { aBmps[(int)nIndex] = aImage; }
@@ -217,10 +214,6 @@ public:
// Check whether this button can be modified via UI
bool CheckModification() const;
- SvLBoxButtonData* GetButtonData() const
- {
- return pData;
- }
};
inline void SvLBoxButton::SetStateChecked()
@@ -276,7 +269,6 @@ public:
bool SetModeImages(const Image& rBitmap1, const Image& rBitmap2);
- void GetModeImages(Image& rBitmap1, Image& rBitmap2) const;
inline void SetBitmap1(const Image& rImage);
inline void SetBitmap2(const Image& rImage);
diff --git a/include/svtools/svparser.hxx b/include/svtools/svparser.hxx
index 75ab3be..b15580e 100644
--- a/include/svtools/svparser.hxx
+++ b/include/svtools/svparser.hxx
@@ -95,7 +95,6 @@ protected:
// methods for Token stack
int SkipToken( short nCnt = -1 ); // "skip" n Tokens back
TokenStackType* GetStackPtr( short nCnt );
- inline sal_uInt8 GetStackPos() const;
// scan the next token:
// work off Token stack and call _GetNextToken() if necessary.
@@ -138,14 +137,11 @@ public:
Link<> GetAsynchCallLink() const
{ return LINK( const_cast<SvParser*>(this), SvParser, NewDataRead ); }
- long CallAsyncCallLink() { return NewDataRead( 0 ); }
-
// for asynchronous reading from the SvStream
void SaveState( int nToken );
void RestoreState();
virtual void Continue( int nToken );
- inline void SetDownloadingFile( bool bSet ) { bDownloadingFile = bSet; }
inline bool IsDownloadingFile() const { return bDownloadingFile; }
// Set/get source encoding. The UCS2BEncoding flag is valid if source
@@ -153,9 +149,6 @@ public:
void SetSrcEncoding( rtl_TextEncoding eSrcEnc );
rtl_TextEncoding GetSrcEncoding() const { return eSrcEnc; }
- void SetSrcUCS2BEncoding( bool bSet ) { bUCS2BSrcEnc = bSet; }
- bool IsSrcUCS2BEncoding() const { return bUCS2BSrcEnc; }
-
// May the character set be switched to UCS/2, if a BOM
// is in the first two characters of the stream?
void SetSwitchToUCS2( bool bSet ) { bSwitchToUCS2 = bSet; }
@@ -186,9 +179,6 @@ inline sal_uLong SvParser::SetLineNr( sal_uLong nlNum )
inline sal_uLong SvParser::SetLinePos( sal_uLong nlPos )
{ sal_uLong nlOld = nlLinePos; nlLinePos = nlPos; return nlOld; }
-inline sal_uInt8 SvParser::GetStackPos() const
-{ return nTokenStackPos; }
-
inline sal_uInt16 SvParser::GetCharSize() const
{
return (RTL_TEXTENCODING_UCS2 == eSrcEnc) ? 2 : 1;
@@ -235,9 +225,6 @@ public:
*/
const OUString& GetKey() const { return m_aKey; }
const OUString& GetValue() const { return m_aValue; }
-
- void SetKey (const OUString &rKey ) { m_aKey = rKey; }
- void SetValue (const OUString &rValue) { m_aValue = rValue; }
};
/*========================================================================
diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx
index 0ec02ed..519196c 100644
--- a/include/svtools/svtabbx.hxx
+++ b/include/svtools/svtabbx.hxx
@@ -186,7 +186,6 @@ public:
/** @return <TRUE/>, if the object has a row header. */
virtual bool HasRowHeader() const SAL_OVERRIDE; //GetColumnId
/** @return <TRUE/>, if the object can focus a cell. */
- virtual bool IsCellFocusable() const SAL_OVERRIDE;
virtual bool GoToCell( sal_Int32 _nRow, sal_uInt16 _nColumn ) SAL_OVERRIDE;
virtual void SetNoSelection() SAL_OVERRIDE;
diff --git a/include/svtools/tabbar.hxx b/include/svtools/tabbar.hxx
index 9d0ee92..664738f 100644
--- a/include/svtools/tabbar.hxx
+++ b/include/svtools/tabbar.hxx
@@ -315,8 +315,6 @@ class SVT_DLLPUBLIC TabBar : public vcl::Window
private:
std::unique_ptr<TabBar_Impl> mpImpl;
- ImplTabBarList* mpItemList;
-
OUString maEditText;
Color maSelColor;
Color maSelTextColor;
@@ -419,7 +417,6 @@ public:
Color GetTabBgColor( sal_uInt16 nPageId ) const;
void SetTabBgColor( sal_uInt16 nPageId, const Color& aTabBgColor );
- bool IsDefaultTabBgColor( sal_uInt16 nPageId );
void Clear();
@@ -440,22 +437,15 @@ public:
sal_uInt16 GetCurPageId() const { return mnCurPageId; }
void SetFirstPageId( sal_uInt16 nPageId );
- sal_uInt16 GetFirstPageId() const { return GetPageId( mnFirstPos ); }
void MakeVisible( sal_uInt16 nPageId );
void SelectPage( sal_uInt16 nPageId, bool bSelect = true );
sal_uInt16 GetSelectPageCount() const;
bool IsPageSelected( sal_uInt16 nPageId ) const;
- void EnableAutoMaxPageWidth( bool bEnable = true ) { mbAutoMaxWidth = bEnable; }
- bool IsAutoMaxPageWidthEnabled() const { return mbAutoMaxWidth; }
void SetMaxPageWidth( long nMaxWidth );
- long GetMaxPageWidth() const { return mnMaxPageWidth; }
- void ResetMaxPageWidth() { SetMaxPageWidth( 0 ); }
- bool IsMaxPageWidth() const { return mnMaxPageWidth != 0; }
void EnableEditMode( bool bEnable = true ) { mbAutoEditMode = bEnable; }
- bool IsEditModeEnabled() const { return mbAutoEditMode; }
bool StartEditMode( sal_uInt16 nPageId );
void EndEditMode( bool bCancel = false );
void SetEditText( const OUString& rText ) { maEditText = rText; }
@@ -485,12 +475,6 @@ public:
void HideDropPos();
bool SwitchPage( const Point& rPos );
void EndSwitchPage();
- bool IsInSwitching() { return mbInSwitching; }
-
- const Color& GetSelectColor() const { return maSelColor; }
- bool IsSelectColor() const { return mbSelColor; }
- const Color& GetSelectTextColor() const { return maSelTextColor; }
- bool IsSelectTextColor() const { return mbSelTextColor; }
void SetPageText( sal_uInt16 nPageId, const OUString& rText );
OUString GetPageText( sal_uInt16 nPageId ) const;
diff --git a/include/svtools/table/tableinputhandler.hxx b/include/svtools/table/tableinputhandler.hxx
index bfcc817..70bfe39 100644
--- a/include/svtools/table/tableinputhandler.hxx
+++ b/include/svtools/table/tableinputhandler.hxx
@@ -55,10 +55,6 @@ namespace svt { namespace table
virtual bool KeyInput ( ITableControl& _rControl, const KeyEvent& rKEvt ) = 0;
virtual bool GetFocus ( ITableControl& _rControl ) = 0;
virtual bool LoseFocus ( ITableControl& _rControl ) = 0;
- virtual bool RequestHelp ( ITableControl& _rControl, const HelpEvent& rHEvt ) = 0;
- virtual bool Command ( ITableControl& _rControl, const CommandEvent& rCEvt ) = 0;
- virtual bool PreNotify ( ITableControl& _rControl, NotifyEvent& rNEvt ) = 0;
- virtual bool Notify ( ITableControl& _rControl, NotifyEvent& rNEvt ) = 0;
virtual ~ITableInputHandler() { }
};
diff --git a/include/svtools/table/tablemodel.hxx b/include/svtools/table/tablemodel.hxx
index 136feac..563ff88 100644
--- a/include/svtools/table/tablemodel.hxx
+++ b/include/svtools/table/tablemodel.hxx
@@ -165,32 +165,6 @@ namespace svt { namespace table
class SAL_NO_VTABLE IColumnModel
{
public:
- /** retrieves the ID of the column
-
- The semantics of a column id is not defined. It's up to the
- implementor of the ->IColumnModel, respectively the ->ITableModel
- which provides the column models, to define such a semantics.
-
- @return
- the ID of the column. May be 0 if the table which the column
- belongs to does not need and support column ids.
-
- @see setID
- */
- virtual ::com::sun::star::uno::Any
- getID() const = 0;
-
- /** sets a new column ID
-
- @return
- <TRUE/> if setting the new ID was successful. A possible error
- conditions is if you try to set an ID which is already used
- by another column within the same table.
-
- @see getID
- */
- virtual void setID( const ::com::sun::star::uno::Any& _nID ) = 0;
-
/** returns the name of the column
Column names should be human-readable, but not necessarily unique
@@ -200,20 +174,10 @@ namespace svt { namespace table
*/
virtual OUString getName() const = 0;
- /** sets a new name for the column
-
- @see getName
- */
- virtual void setName( const OUString& _rName ) = 0;
-
/** retrieves the help text to be displayed for the column.
*/
virtual OUString getHelpText() const = 0;
- /** sets a new the help text to be displayed for the column.
- */
- virtual void setHelpText( const OUString& i_helpText ) = 0;
-
/** determines whether the column can be interactively resized
@see getMinWidth
@@ -222,14 +186,6 @@ namespace svt { namespace table
*/
virtual bool isResizable() const = 0;
- /** declares the column as resizable or fixed in width
-
- @see getMinWidth
- @see getMaxWidth
- @see getWidth
- */
- virtual void setResizable( bool _bResizable ) = 0;
-
/** denotes the relative flexibility of the column
This flexibility is taken into account when a table control auto-resizes its columns, because the available
@@ -239,12 +195,6 @@ namespace svt { namespace table
*/
virtual sal_Int32 getFlexibility() const = 0;
- /** sets a new flexibility value for the column
-
- @see getFlexibility
- */
- virtual void setFlexibility( sal_Int32 const i_flexibility ) = 0;
-
/** returns the width of the column, in app-font units
The returned value must be a positive ->TableMetrics value.
@@ -273,14 +223,6 @@ namespace svt { namespace table
*/
virtual TableMetrics getMinWidth() const = 0;
- /** sets the minimum width of the column, in app-font units
-
- @see getMinWidth
- @see setMaxWidth
- @see setWidth
- */
- virtual void setMinWidth( TableMetrics _nMinWidth ) = 0;
-
/** returns the maximum width of the column, in app-font units, or 0 if the column
does not have a minimal width
@@ -290,22 +232,10 @@ namespace svt { namespace table
*/
virtual TableMetrics getMaxWidth() const = 0;
- /** sets the maximum width of the column, in app-font units
-
- @see getMaxWidth
- @see setMinWidth
- @see setWidth
- */
- virtual void setMaxWidth( TableMetrics _nMaxWidth ) = 0;
-
/** retrieves the horizontal alignment to be used for content in this cell
*/
virtual ::com::sun::star::style::HorizontalAlignment getHorizontalAlign() = 0;
- /** sets a new the horizontal alignment to be used for content in this cell
- */
- virtual void setHorizontalAlign(::com::sun::star::style::HorizontalAlignment _xAlign) = 0;
-
/// deletes the column model instance
virtual ~IColumnModel() { }
};
@@ -345,13 +275,6 @@ namespace svt { namespace table
*/
virtual bool hasRowHeaders() const = 0;
- /** determines whether the given cell is editable
-
- @see ICellEditor
- @todo
- */
- virtual bool isCellEditable( ColPos col, RowPos row ) const = 0;
-
/** returns a model for a certain column
@param column
diff --git a/include/svtools/toolpanelopt.hxx b/include/svtools/toolpanelopt.hxx
index 5074195..b6bc252 100644
--- a/include/svtools/toolpanelopt.hxx
+++ b/include/svtools/toolpanelopt.hxx
@@ -65,8 +65,6 @@ class SVT_DLLPUBLIC SvtToolPanelOptions: public utl::detail::Options
void SetVisibleHandoutView( bool bVisible );
bool GetVisibleSlideSorterView() const;
void SetVisibleSlideSorterView( bool bVisible );
- bool GetVisibleDrawView() const;
- void SetVisibleDrawView( bool bVisible );
private:
diff --git a/include/svtools/transfer.hxx b/include/svtools/transfer.hxx
index c58e6b3..c19f403 100644
--- a/include/svtools/transfer.hxx
+++ b/include/svtools/transfer.hxx
@@ -225,19 +225,18 @@ protected:
void RemoveFormat( SotClipboardFormatId nFormat );
void RemoveFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
bool HasFormat( SotClipboardFormatId nFormat );
- inline bool HasFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) { return isDataFlavorSupported( rFlavor ); }
void ClearFormats();
- bool SetAny( const ::com::sun::star::uno::Any& rAny, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- bool SetString( const OUString& rString, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- bool SetBitmapEx( const BitmapEx& rBitmap, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- bool SetGDIMetaFile( const GDIMetaFile& rMtf, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- bool SetGraphic( const Graphic& rGraphic, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- bool SetImageMap( const ImageMap& rIMap, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- bool SetTransferableObjectDescriptor( const TransferableObjectDescriptor& rDesc, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- bool SetINetBookmark( const INetBookmark& rBmk, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- bool SetINetImage( const INetImage& rINtImg, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- bool SetObject( void* pUserObject, SotClipboardFormatId nUserObjectId, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetAny( const ::com::sun::star::uno::Any& rAny, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetString( const OUString& rString, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetBitmapEx( const BitmapEx& rBitmap, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetGDIMetaFile( const GDIMetaFile& rMtf, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetGraphic( const Graphic& rGraphic, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetImageMap( const ImageMap& rIMap, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetTransferableObjectDescriptor( const TransferableObjectDescriptor& rDesc, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetINetBookmark( const INetBookmark& rBmk, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetINetImage( const INetImage& rINtImg, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ bool SetObject( void* pUserObject, SotClipboardFormatId nUserObjectId, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
protected:
@@ -365,8 +364,6 @@ public:
css::uno::Reference<css::io::XInputStream> GetInputStream( SotClipboardFormatId nFormat, const OUString& rDestDoc );
css::uno::Reference<css::io::XInputStream> GetInputStream( const css::datatransfer::DataFlavor& rFlavor, const OUString& rDestDoc );
- bool GetInterface( const ::com::sun::star::datatransfer::DataFlavor& rFlavor, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rIf );
-
public:
static TransferableDataHelper CreateFromSystemClipboard( vcl::Window * pWindow );
diff --git a/include/svtools/treelist.hxx b/include/svtools/treelist.hxx
index 6092bcc..c12cf85 100644
--- a/include/svtools/treelist.hxx
+++ b/include/svtools/treelist.hxx
@@ -140,8 +140,6 @@ public:
void InsertView( SvListView* );
void RemoveView( SvListView* );
- sal_uLong GetViewCount() const
- { return aViewList.size(); }
SvListView* GetView( sal_uLong nPos ) const
{ return ( nPos < aViewList.size() ) ? aViewList[ nPos ] : NULL; }
@@ -180,7 +178,6 @@ public:
// Creates ChildList if needed
sal_uLong Move( SvTreeListEntry* pSource, SvTreeListEntry* pTargetParent, sal_uLong nListPos);
- void Copy( SvTreeListEntry* pSource, SvTreeListEntry* pTarget );
sal_uLong Copy( SvTreeListEntry* pSource, SvTreeListEntry* pTargetParent, sal_uLong nListPos);
bool Remove( const SvTreeListEntry* pEntry );
@@ -233,7 +230,6 @@ public:
SvSortMode GetSortMode() const { return eSortMode; }
sal_Int32 Compare(const SvTreeListEntry* pLeft, const SvTreeListEntry* pRight) const;
void SetCompareHdl( const Link<>& rLink ) { aCompareLink = rLink; }
- const Link<>& GetCompareHdl() const { return aCompareLink; }
void Resort();
void Reverse();
};
diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx
index f0d112d..1c89cec 100644
--- a/include/svtools/treelistbox.hxx
+++ b/include/svtools/treelistbox.hxx
@@ -144,13 +144,11 @@ public:
SvLBoxTabFlags nFlags;
void SetUserData( void* pPtr ) { pUserData = pPtr; }
- void* GetUserData() const { return pUserData; }
bool IsDynamic() const { return bool(nFlags & SvLBoxTabFlags::DYNAMIC); }
void SetPos( long nNewPos) { nPos = nNewPos; }
long GetPos() const { return nPos; }
long CalcOffset( long nItemLength, long nTabWidth );
bool IsEditable() const { return bool(nFlags & SvLBoxTabFlags::EDITABLE); }
- bool IsPushable() const { return bool(nFlags & SvLBoxTabFlags::PUSHABLE); }
};
// *********************************************************************
@@ -330,7 +328,6 @@ protected:
SvInplaceEdit2* pEdCtrl;
void EditText( const OUString&, const Rectangle&,const Selection&);
void EditText( const OUString&, const Rectangle&,const Selection&, bool bMulti);
- void EditTextMultiLine( const OUString&, const Rectangle&,const Selection&);
void CancelTextEditing();
bool EditingCanceled() const;
bool IsEmptyTextAllowed() const;
@@ -485,16 +482,13 @@ public:
const Link<>& GetDoubleClickHdl() const { return aDoubleClickHdl; }
void SetExpandingHdl(const Link<>& rNewHdl){aExpandingHdl=rNewHdl;}
void SetExpandedHdl(const Link<>& rNewHdl){aExpandedHdl=rNewHdl;}
- const Link<>& GetExpandingHdl() const { return aExpandingHdl; }
virtual void ExpandedHdl();
virtual bool ExpandingHdl();
virtual void SelectHdl();
virtual void DeselectHdl();
virtual bool DoubleClickHdl();
- bool IsTravelSelect() const { return bool(nImpFlags&SvTreeListBoxFlags::IS_TRAVELSELECT);}
SvTreeListEntry* GetHdlEntry() const { return pHdlEntry; }
- SvLBoxItem* GetHdlItem() const;
// Is called for an Entry that gets expanded with the Flag
// ENTRYFLAG_CHILDREN_ON_DEMAND set.
@@ -511,7 +505,6 @@ public:
virtual bool NotifyAcceptDrop( SvTreeListEntry* );
void SetDragOptions( sal_Int8 nOptions ) { nDragOptions = nOptions; }
- sal_Int8 GetDragOptions() const { return nDragOptions; }
static SvTreeListBox* GetSourceView();
@@ -595,7 +588,6 @@ protected:
// Recalculate all tabs depending on TreeListStyle and Bitmap sizes
// Is called automatically when inserting/changing Bitmaps, changing the Model etc.
virtual void SetTabs();
- void SetTabs_Impl();
void AddTab( long nPos, SvLBoxTabFlags nFlags=SvLBoxTabFlags::ADJUST_LEFT,
void* pUserData = 0 );
sal_uInt16 TabCount() const { return aTabs.size(); }
@@ -611,7 +603,6 @@ protected:
virtual void NotifyEndScroll();
virtual void NotifyScrolled();
void SetScrolledHdl( const Link<>& rLink ) { aScrolledHdl = rLink; }
- const Link<>& GetScrolledHdl() const { return aScrolledHdl; }
long GetXOffset() const { return GetMapMode().GetOrigin().X(); }
virtual void Command( const CommandEvent& rCEvt ) SAL_OVERRIDE;
@@ -814,7 +805,6 @@ public:
virtual Size GetOptimalSize() const SAL_OVERRIDE;
void SetAlternatingRowColors( const bool bEnable );
- bool IsAlternatingRowColors() const { return mbAlternatingRowColors; }
};
#define SV_LBOX_DD_FORMAT "SV_LBOX_DD_FORMAT"
diff --git a/include/svtools/treelistentry.hxx b/include/svtools/treelistentry.hxx
index 530dab1..839ffd3 100644
--- a/include/svtools/treelistentry.hxx
+++ b/include/svtools/treelistentry.hxx
@@ -107,7 +107,6 @@ public:
SvTLEntryFlags GetFlags() const { return nEntryFlags;}
void SetFlags( SvTLEntryFlags nFlags );
- bool GetIsMarked() const { return bIsMarked; }
void SetMarked( bool IsMarked ) { bIsMarked = IsMarked; }
void SetBackColor( const Color& aColor ) { maBackColor = aColor; }
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index 8c2cd2a..7b4684c 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -320,42 +320,27 @@ public:
size_t GetItemCount() const;
size_t GetItemPos( sal_uInt16 nItemId ) const;
- sal_uInt16 GetItemId( size_t nPos ) const;
- sal_uInt16 GetItemId( const Point& rPos ) const;
+ sal_uInt16 GetItemId( size_t nPos ) const;
+ sal_uInt16 GetItemId( const Point& rPos ) const;
Rectangle GetItemRect( sal_uInt16 nItemId ) const;
-
void EnableFullItemMode( bool bFullMode = true );
- bool IsFullItemModeEnabled() const
- {
- return mbFullMode;
- }
+
void SetColCount( sal_uInt16 nNewCols = 1 );
- sal_uInt16 GetColCount() const
+ sal_uInt16 GetColCount() const
{
return mnUserCols;
}
void SetLineCount( sal_uInt16 nNewLines = 0 );
- sal_uInt16 GetLineCount() const
+ sal_uInt16 GetLineCount() const
{
return mnUserVisLines;
}
- void SetItemWidth( long nItemWidth = 0 );
- long GetItemWidth() const
- {
- return mnUserItemWidth;
- }
- void SetItemHeight( long nLineHeight = 0 );
- long GetItemHeight() const
- {
- return mnUserItemHeight;
- }
- sal_uInt16 GetFirstLine() const
- {
- return mnFirstLine;
- }
+ void SetItemWidth( long nItemWidth = 0 );
- void SelectItem( sal_uInt16 nItemId );
- sal_uInt16 GetSelectItemId() const
+ void SetItemHeight( long nLineHeight = 0 );
+
+ void SelectItem( sal_uInt16 nItemId );
+ sal_uInt16 GetSelectItemId() const
{
return mnSelItemId;
}
@@ -382,20 +367,12 @@ public:
{
SetColor(Color(COL_TRANSPARENT));
}
- Color GetColor() const
- {
- return maColor;
- }
bool IsColor() const
{
return maColor.GetTransparency() == 0;
}
void SetExtraSpacing( sal_uInt16 nNewSpacing );
- sal_uInt16 GetExtraSpacing()
- {
- return mnSpacing;
- }
void Format(vcl::RenderContext& rRenderContext);
void SetFormat(bool bFormat = true);
@@ -413,18 +390,10 @@ public:
{
maSelectHdl = rLink;
}
- const Link<>& GetSelectHdl() const
- {
- return maSelectHdl;
- }
void SetDoubleClickHdl(const Link<>& rLink)
{
maDoubleClickHdl = rLink;
}
- const Link<>& GetDoubleClickHdl() const
- {
- return maDoubleClickHdl;
- }
void SetHighlightHdl(const Link<>& rLink);
diff --git a/include/svtools/wizardmachine.hxx b/include/svtools/wizardmachine.hxx
index a1281b4..673f3f8 100644
--- a/include/svtools/wizardmachine.hxx
+++ b/include/svtools/wizardmachine.hxx
@@ -151,7 +151,6 @@ namespace svt
private:
// restrict access to some aspects of our base class
SVT_DLLPRIVATE void AddPage( TabPage* pPage ) { WizardDialog::AddPage(pPage); }
- SVT_DLLPRIVATE void RemovePage( TabPage* pPage ) { WizardDialog::RemovePage(pPage); }
SVT_DLLPRIVATE void SetPage( sal_uInt16 nLevel, TabPage* pPage ) { WizardDialog::SetPage(nLevel, pPage); }
// TabPage* GetPage( sal_uInt16 nLevel ) const { return WizardDialog::GetPage(nLevel); }
// TODO: probably the complete page handling (next, previous etc.) should be prohibited ...
@@ -172,8 +171,6 @@ namespace svt
// hold members in this structure to allow keeping compatible when members are added
WizardMachineImplData* m_pImpl;
- SVT_DLLPRIVATE void addButtons(vcl::Window* _pParent, sal_uInt32 _nButtonFlags);
-
public:
OWizardMachine(vcl::Window* _pParent, const WinBits i_nStyle, WizardButtonFlags _nButtonFlags );
OWizardMachine(vcl::Window* _pParent, WizardButtonFlags _nButtonFlags );
diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx
index 70d7cb1..6ae5c03 100644
--- a/include/svtools/wizdlg.hxx
+++ b/include/svtools/wizdlg.hxx
@@ -268,22 +268,15 @@ public:
void RemoveButton( Button* pButton );
void SetPrevButton( PushButton* pButton ) { mpPrevBtn = pButton; }
- PushButton* GetPrevButton() const { return mpPrevBtn; }
void SetNextButton( PushButton* pButton ) { mpNextBtn = pButton; }
- PushButton* GetNextButton() const { return mpNextBtn; }
void SetViewWindow( vcl::Window* pWindow ) { mpViewWindow = pWindow; }
- vcl::Window* GetViewWindow() const { return mpViewWindow; }
void SetViewAlign( WindowAlign eAlign ) { meViewAlign = eAlign; }
- WindowAlign GetViewAlign() const { return meViewAlign; }
void SetPageSizePixel( const Size& rSize ) { maPageSize = rSize; }
const Size& GetPageSizePixel() const { return maPageSize; }
void SetActivatePageHdl( const Link<>& rLink ) { maActivateHdl = rLink; }
- const Link<>& GetActivatePageHdl() const { return maActivateHdl; }
- void SetDeactivatePageHdl( const Link<>& rLink ) { maDeactivateHdl = rLink; }
- const Link<>& GetDeactivatePageHdl() const { return maDeactivateHdl; }
};
#endif // INCLUDED_SVTOOLS_WIZDLG_HXX
diff --git a/include/svtools/xwindowitem.hxx b/include/svtools/xwindowitem.hxx
index a6117ba..921ab11 100644
--- a/include/svtools/xwindowitem.hxx
+++ b/include/svtools/xwindowitem.hxx
@@ -47,7 +47,6 @@ public:
virtual bool operator == ( const SfxPoolItem& rAttr ) const SAL_OVERRIDE;
vcl::Window * GetWindowPtr() const { return VCLUnoHelper::GetWindow( m_xWin ); }
- com::sun::star::uno::Reference< com::sun::star::awt::XWindow > GetXWindow() const { return m_xWin; }
};
diff --git a/svtools/inc/table/defaultinputhandler.hxx b/svtools/inc/table/defaultinputhandler.hxx
index 58aa55e..af4f668 100644
--- a/svtools/inc/table/defaultinputhandler.hxx
+++ b/svtools/inc/table/defaultinputhandler.hxx
@@ -50,10 +50,6 @@ namespace svt { namespace table
virtual bool KeyInput ( ITableControl& _rControl, const KeyEvent& rKEvt ) SAL_OVERRIDE;
virtual bool GetFocus ( ITableControl& _rControl ) SAL_OVERRIDE;
virtual bool LoseFocus ( ITableControl& _rControl ) SAL_OVERRIDE;
- virtual bool RequestHelp ( ITableControl& _rControl, const HelpEvent& rHEvt ) SAL_OVERRIDE;
- virtual bool Command ( ITableControl& _rControl, const CommandEvent& rCEvt ) SAL_OVERRIDE;
- virtual bool PreNotify ( ITableControl& _rControl, NotifyEvent& rNEvt ) SAL_OVERRIDE;
- virtual bool Notify ( ITableControl& _rControl, NotifyEvent& rNEvt ) SAL_OVERRIDE;
};
diff --git a/svtools/inc/table/tablecontrol.hxx b/svtools/inc/table/tablecontrol.hxx
index 22242ef..6fe21b3 100644
--- a/svtools/inc/table/tablecontrol.hxx
+++ b/svtools/inc/table/tablecontrol.hxx
@@ -106,32 +106,6 @@ namespace svt { namespace table
*/
bool GoTo( ColPos _nColumnPos, RowPos _nRow);
- /** moves the active cell to the given column, by keeping the active row
-
- @return
- <sal_True/> if the move was successful, <FALSE/> otherwise. Usual
- failure conditions include some other instance vetoing the move,
- or impossibility to execute the move at all (for instance because
- of invalid coordinates).
- */
- inline bool GoToColumn( ColPos _nColumn )
- {
- return GoTo( _nColumn, GetCurrentRow() );
- }
-
- /** moves the active cell to the given row, by keeping the active column
-
- @return
- <sal_True/> if the move was successful, <FALSE/> otherwise. Usual
- failure conditions include some other instance vetoing the move,
- or impossibility to execute the move at all (for instance because
- of invalid coordinates).
- */
- bool GoToRow( RowPos _nRow )
- {
- return GoTo( GetCurrentColumn(), _nRow );
- }
-
SVT_DLLPRIVATE virtual void Resize() SAL_OVERRIDE;
void Select();
@@ -173,7 +147,6 @@ namespace svt { namespace table
virtual bool ConvertPointToControlIndex( sal_Int32& _rnIndex, const Point& _rPoint ) SAL_OVERRIDE;
virtual long GetRowCount() const SAL_OVERRIDE;
virtual long GetColumnCount() const SAL_OVERRIDE;
- virtual bool HasRowHeader() const SAL_OVERRIDE;
virtual bool ConvertPointToCellAddress( sal_Int32& _rnRow, sal_Int32& _rnColPos, const Point& _rPoint ) SAL_OVERRIDE;
virtual Rectangle calcHeaderRect( bool _bIsColumnBar, bool _bOnScreen = true ) SAL_OVERRIDE;
virtual Rectangle calcHeaderCellRect( bool _bIsColumnBar, sal_Int32 nPos) SAL_OVERRIDE;
@@ -186,7 +159,6 @@ namespace svt { namespace table
virtual OUString GetRowName(sal_Int32 _nIndex) const SAL_OVERRIDE;
virtual OUString GetColumnDescription( sal_uInt16 _nColumnPos ) const SAL_OVERRIDE;
virtual OUString GetColumnName( sal_Int32 _nIndex ) const SAL_OVERRIDE;
- virtual css::uno::Any GetCellContent( sal_Int32 _nRowPos, sal_Int32 _nColPos) const SAL_OVERRIDE;
virtual bool HasRowHeader() SAL_OVERRIDE;
virtual bool HasColHeader() SAL_OVERRIDE;
virtual OUString GetAccessibleCellText(sal_Int32 _nRowPos, sal_Int32 _nColPos) const SAL_OVERRIDE;
diff --git a/svtools/source/brwbox/brwbox2.cxx b/svtools/source/brwbox/brwbox2.cxx
index 52e6dc6..3b7fd2a 100644
--- a/svtools/source/brwbox/brwbox2.cxx
+++ b/svtools/source/brwbox/brwbox2.cxx
@@ -95,14 +95,6 @@ bool BrowseBox::IsDropFormatSupported( SotClipboardFormatId _nFormat )
}
-
-bool BrowseBox::IsDropFormatSupported( SotClipboardFormatId _nFormat ) const
-{
- return const_cast< BrowseBox* >( this )->IsDropFormatSupported( _nFormat );
-}
-
-
-
bool BrowseBox::IsDropFormatSupported( const DataFlavor& _rFlavor )
{
if ( static_cast< BrowserDataWin* >( pDataWin.get() )->bCallingDropCallback )
@@ -112,14 +104,6 @@ bool BrowseBox::IsDropFormatSupported( const DataFlavor& _rFlavor )
}
-
-bool BrowseBox::IsDropFormatSupported( const DataFlavor& _rFlavor ) const
-{
- return const_cast< BrowseBox* >( this )->IsDropFormatSupported( _rFlavor );
-}
-
-
-
void BrowseBox::Command( const CommandEvent& rEvt )
{
if ( !getDataWindow()->bInCommand )
diff --git a/svtools/source/brwbox/brwbox3.cxx b/svtools/source/brwbox/brwbox3.cxx
index bae84d2..d600235 100644
--- a/svtools/source/brwbox/brwbox3.cxx
+++ b/svtools/source/brwbox/brwbox3.cxx
@@ -455,11 +455,6 @@ bool BrowseBox::HasRowHeader() const
return ( GetColumnId( 0 ) == HandleColumnId ); // HandleColumn == RowHeader
}
-bool BrowseBox::IsCellFocusable() const
-{
- return true;
-}
-
bool BrowseBox::GoToCell( sal_Int32 _nRow, sal_uInt16 _nColumn )
{
return GoToRowColumnId( _nRow, GetColumnId( _nColumn ) );
diff --git a/svtools/source/brwbox/datwin.hxx b/svtools/source/brwbox/datwin.hxx
index 5260355a..e88f85b 100644
--- a/svtools/source/brwbox/datwin.hxx
+++ b/svtools/source/brwbox/datwin.hxx
@@ -82,7 +82,6 @@ public:
sal_uInt16 GetId() const { return _nId; }
sal_uLong Width() { return _nWidth; }
- Image& GetImage() { return _aImage; }
OUString& Title() { return _aTitle; }
bool IsFrozen() const { return _bFrozen; }
@@ -161,7 +160,6 @@ public:
BrowseEvent CreateBrowseEvent( const Point& rPosPixel );
- void Repaint();
BrowseBox* GetParent() const
{ return static_cast<BrowseBox*>( Window::GetParent() ); }
const OUString& GetRealRowCount() const { return aRealRowCount; }
@@ -184,15 +182,6 @@ protected:
-inline void BrowserDataWin::Repaint()
-{
- if ( GetUpdateMode() )
- Update();
- Invalidate(Rectangle(Point(), GetOutputSizePixel()));
-}
-
-
-
class BrowserScrollBar: public ScrollBar
{
sal_uLong _nTip;
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx
index de2eb97..30e5658 100644
--- a/svtools/source/config/accessibilityoptions.cxx
+++ b/svtools/source/config/accessibilityoptions.cxx
@@ -95,8 +95,6 @@ public:
void SetIsAutomaticFontColor(bool bSet);
void SetHelpTipSeconds(sal_Int16 nSet);
void SetSelectionInReadonly(bool bSet);
-
- bool IsModified() const { return bIsModified; };
};
// initialization of static members --------------------------------------
@@ -614,12 +612,6 @@ void SvtAccessibilityOptions::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
-
-bool SvtAccessibilityOptions::IsModified() const
-{
- return sm_pSingleImplConfig->IsModified();
-}
-
bool SvtAccessibilityOptions::GetAutoDetectSystemHC() const
{
return sm_pSingleImplConfig->GetAutoDetectSystemHC();
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list