summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-08 18:09:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-10 09:28:16 +0000
commitd0b590fe19b45e2248adff22c6fe61a4049a7db8 (patch)
tree36ff9d9f0a7799595062d70c262395abea2400c5 /sc
parent993dae8a904b07b6db2b8854feae353f42836c5a (diff)
callcatcher: remove unused rtf filter and associated methods
update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/fieldwnd.cxx12
-rw-r--r--sc/source/ui/inc/fieldwnd.hxx1
-rw-r--r--sc/source/ui/vba/vbaworkbook.cxx10
-rw-r--r--sc/source/ui/vba/vbaworkbook.hxx3
4 files changed, 0 insertions, 26 deletions
diff --git a/sc/source/ui/dbgui/fieldwnd.cxx b/sc/source/ui/dbgui/fieldwnd.cxx
index a77313e3e728..9cd31f63c7e4 100644
--- a/sc/source/ui/dbgui/fieldwnd.cxx
+++ b/sc/source/ui/dbgui/fieldwnd.cxx
@@ -531,18 +531,6 @@ void ScDPFieldControlBase::FieldFocusChanged(size_t nOldSelected, size_t nFieldS
xRef->FieldFocusChange(nOldSelected, nFieldSelected);
}
-void ScDPFieldControlBase::AccessibleSetFocus(bool bOn)
-{
- AccessRef xRef( mxAccessible );
- if ( !xRef.is() )
- return;
-
- if (bOn)
- xRef->GotFocus();
- else
- xRef->LostFocus();
-}
-
void ScDPFieldControlBase::UpdateStyle()
{
WinBits nMask = ~(WB_TABSTOP | WB_NOTABSTOP);
diff --git a/sc/source/ui/inc/fieldwnd.hxx b/sc/source/ui/inc/fieldwnd.hxx
index 0e7d42e2d0d1..589650d8d733 100644
--- a/sc/source/ui/inc/fieldwnd.hxx
+++ b/sc/source/ui/inc/fieldwnd.hxx
@@ -173,7 +173,6 @@ protected:
::com::sun::star::accessibility::XAccessible > CreateAccessible();
void FieldFocusChanged(size_t nOldSelected, size_t nFieldSelected);
- void AccessibleSetFocus(bool bOn);
/** Updates the tab stop style bits. */
void UpdateStyle();
diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx
index 71b98c5ab9e1..2a87035ad301 100644
--- a/sc/source/ui/vba/vbaworkbook.cxx
+++ b/sc/source/ui/vba/vbaworkbook.cxx
@@ -160,16 +160,6 @@ ScVbaWorkbook::init()
if ( !ColorData.getLength() )
ResetColors();
}
-ScVbaWorkbook::ScVbaWorkbook( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext) :ScVbaWorkbook_BASE( xParent, xContext )
-{
- //#FIXME this persists the color data per office instance and
- // not per workbook instance, need to hook the data into XModel
- // ( e.g. we already store the imported palette in there )
- // so we should,
- // a) make the class that does that a service
- // b) make that service implement XIndexContainer
- init();
-}
ScVbaWorkbook::ScVbaWorkbook( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, css::uno::Reference< css::frame::XModel > xModel ) : ScVbaWorkbook_BASE( xParent, xContext, xModel )
{
diff --git a/sc/source/ui/vba/vbaworkbook.hxx b/sc/source/ui/vba/vbaworkbook.hxx
index f17ef3c67e93..6a8f02c596ce 100644
--- a/sc/source/ui/vba/vbaworkbook.hxx
+++ b/sc/source/ui/vba/vbaworkbook.hxx
@@ -32,9 +32,6 @@ class ScVbaWorkbook : public ScVbaWorkbook_BASE
void initColorData( const css::uno::Sequence< sal_Int32 >& sColors );
void init();
-protected:
-
- ScVbaWorkbook( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext);
public:
ScVbaWorkbook( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext,
css::uno::Reference< css::frame::XModel > xModel );