summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-06-22 10:52:19 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-06-22 11:05:01 +0200
commit69419bcab3839ab22bf429d25eed836221130121 (patch)
treefe5b0035a3c7f050cd79110149e9728edabdf74e /sw
parentde48c99f7eefbf8910ca4835a6980f4ba532b2c0 (diff)
Remove empty or non-called methods
empty: ClearTip implOnShapeInserted ImpCopyMarkedPoints ImpMakeDragAttr ImpCopyMarkedPoints ImpMakeDragAttr ImpDelDragAttr ImpMakeCreateAttr Is1stLessThan2nd LinkToListTemplate NewCoreSelection ScrollStart ScrollEnd SetNoOutlineNum non-called: NewCoreSelection Change-Id: Ief273b741aaf49ff66c0dac898686e4def4de0c1
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/crsrsh.hxx4
-rw-r--r--sw/inc/shellio.hxx1
-rw-r--r--sw/source/core/crsr/crsrsh.cxx5
-rw-r--r--sw/source/filter/ascii/parasc.cxx5
-rw-r--r--sw/source/filter/basflt/shellio.cxx6
-rw-r--r--sw/source/filter/html/swhtml.cxx1
-rw-r--r--sw/source/filter/rtf/swparrtf.cxx5
-rw-r--r--sw/source/filter/ww8/ww8par.cxx3
-rw-r--r--sw/source/ui/docvw/edtwin.cxx4
-rw-r--r--sw/source/ui/inc/edtwin.hxx3
-rw-r--r--sw/source/ui/inc/wrtsh.hxx3
-rw-r--r--sw/source/ui/uiview/viewport.cxx2
-rw-r--r--sw/source/ui/vba/vbastyle.cxx5
-rw-r--r--sw/source/ui/vba/vbastyle.hxx1
-rw-r--r--sw/source/ui/wrtsh/wrtsh1.cxx6
15 files changed, 0 insertions, 54 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx
index fa2b287750be..b3efdfcb69ba 100644
--- a/sw/inc/crsrsh.hxx
+++ b/sw/inc/crsrsh.hxx
@@ -798,10 +798,6 @@ public:
void ClearTblBoxCntnt();
sal_Bool EndAllTblBoxEdit();
- // gets called when a table selection gets created in UpdateCrsr without
- // the UI knowing of it
- virtual void NewCoreSelection();
-
void SetSelTblCells( sal_Bool bFlag ) { bSelTblCells = bFlag; }
sal_Bool IsSelTblCells() const { return bSelTblCells; }
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 751f63840c8a..5bfbb721cac2 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -240,7 +240,6 @@ public:
SwgReaderOption& GetReaderOpt() { return aOpt; }
virtual void SetFltName( const String& rFltNm );
- static void SetNoOutlineNum( SwDoc& rDoc );
// Adapt item-set of a Frm-Format to the old format.
static void ResetFrmFmtAttrs( SfxItemSet &rFrmSet );
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index dfd80d97e6db..310e27185a80 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -2911,11 +2911,6 @@ sal_Bool SwCrsrShell::FindValidCntntNode( sal_Bool bOnlyText )
}
-void SwCrsrShell::NewCoreSelection()
-{
-}
-
-
sal_Bool SwCrsrShell::IsCrsrReadonly() const
{
if ( GetViewOptions()->IsReadonly() ||
diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx
index ce04e49a3417..1dea0d1b18f1 100644
--- a/sw/source/filter/ascii/parasc.cxx
+++ b/sw/source/filter/ascii/parasc.cxx
@@ -86,11 +86,6 @@ sal_uLong AsciiReader::Read( SwDoc &rDoc, const String&, SwPaM &rPam, const Stri
return ERR_SWG_READ_ERROR;
}
- // All headers normally do not have a chapter number.
- // We explicitly disable them here, because the default is set back to on.
- if( !bInsertMode )
- Reader::SetNoOutlineNum( rDoc );
-
SwASCIIParser* pParser = new SwASCIIParser( &rDoc, rPam, *pStrm,
!bInsertMode, aOpt.GetASCIIOpts() );
sal_uLong nRet = pParser->CallParser();
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx
index 72eeeb3bc2c1..c6132fd677f0 100644
--- a/sw/source/filter/basflt/shellio.cxx
+++ b/sw/source/filter/basflt/shellio.cxx
@@ -640,12 +640,6 @@ void Reader::SetFltName( const String& )
}
-void Reader::SetNoOutlineNum( SwDoc& /*rDoc*/ )
-{
- // jetzt wieder keine Nummerierung in den Vorlagen
-}
-
-
void Reader::ResetFrmFmtAttrs( SfxItemSet &rFrmSet )
{
rFrmSet.Put( SvxLRSpaceItem(RES_LR_SPACE) );
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 166ad70f8347..a21d97616808 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -213,7 +213,6 @@ sal_uLong HTMLReader::Read( SwDoc &rDoc, const String& rBaseURL, SwPaM &rPam, co
if( !bInsertMode )
{
- Reader::SetNoOutlineNum( rDoc );
Reader::ResetFrmFmts( rDoc );
// Die HTML-Seitenvorlage setzen, wenn des kein HTML-Dokument ist,
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx
index 5c76ed20333b..9404a101ca79 100644
--- a/sw/source/filter/rtf/swparrtf.cxx
+++ b/sw/source/filter/rtf/swparrtf.cxx
@@ -179,13 +179,8 @@ sal_uLong RtfReader::Read( SwDoc &rDoc, const String& rBaseURL, SwPaM &rPam, con
return ERR_SWG_READ_ERROR;
}
- // Alle Ueberschriften sind normalerweise ohne
- // Kapitelnummer. Darum hier explizit abschalten
- // weil das Default jetzt wieder auf AN ist.
if( !bInsertMode )
{
- Reader::SetNoOutlineNum( rDoc );
-
// MIB 27.09.96: Umrandung uns Abstaende aus Frm-Vorlagen entf.
Reader::ResetFrmFmts( rDoc );
}
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index bb4a8d47800d..fd22df1efccc 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -5524,11 +5524,8 @@ sal_uLong WW8Reader::Read(SwDoc &rDoc, const String& rBaseURL, SwPaM &rPam, cons
if( !nRet )
{
- // Alle Ueberschriften sind normalerweise ohne Kapitelnummer.
- // Darum hier explizit abschalten weil das Default jetzt wieder auf AN ist.
if (bNew)
{
- Reader::SetNoOutlineNum( rDoc );
// MIB 27.09.96: Umrandung uns Abstaende aus Frm-Vorlagen entf.
Reader::ResetFrmFmts( rDoc );
}
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 9f6d2f229f25..f2d1f47325df 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -5396,10 +5396,6 @@ SfxShell* lcl_GetShellFromDispatcher( SwView& rView, TypeId nType )
return pShell;
}
-void SwEditWin::ClearTip()
-{
-}
-
IMPL_LINK_NOARG(SwEditWin, KeyInputFlushHandler)
{
FlushInBuffer();
diff --git a/sw/source/ui/inc/edtwin.hxx b/sw/source/ui/inc/edtwin.hxx
index ac78de99a8f2..90a1c3ab7257 100644
--- a/sw/source/ui/inc/edtwin.hxx
+++ b/sw/source/ui/inc/edtwin.hxx
@@ -293,9 +293,6 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible();
- // delete tip window
- static void ClearTip();
-
static inline long GetDDStartPosX() { return nDDStartPosX; }
static inline long GetDDStartPosY() { return nDDStartPosY; }
diff --git a/sw/source/ui/inc/wrtsh.hxx b/sw/source/ui/inc/wrtsh.hxx
index d6a238347c9a..59431b4ab662 100644
--- a/sw/source/ui/inc/wrtsh.hxx
+++ b/sw/source/ui/inc/wrtsh.hxx
@@ -444,9 +444,6 @@ typedef sal_Bool (SwWrtShell:: *FNSimpleMove)();
void NavigatorPaste( const NaviContentBookmark& rBkmk,
const sal_uInt16 nAction );
- // Core creates a selection, SttSelect has to be called
- virtual void NewCoreSelection();
-
virtual void ApplyViewOptions( const SwViewOption &rOpt );
virtual void SetReadonlyOption( sal_Bool bSet );
diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx
index 7acaa98250e1..5505c5ff832c 100644
--- a/sw/source/ui/uiview/viewport.cxx
+++ b/sw/source/ui/uiview/viewport.cxx
@@ -297,8 +297,6 @@ void SwView::SetVisArea( const Rectangle &rRect, sal_Bool bUpdateScrollbar )
InvalidateRulerPos();
- SwEditWin::ClearTip();
-
if ( bOuterResize && !bInOuterResizePixel && !bInInnerResizePixel)
OuterResizePixel( Point(),
GetViewFrame()->GetWindow().GetOutputSizePixel() );
diff --git a/sw/source/ui/vba/vbastyle.cxx b/sw/source/ui/vba/vbastyle.cxx
index f591a6e1a5d1..a951e4ca707b 100644
--- a/sw/source/ui/vba/vbastyle.cxx
+++ b/sw/source/ui/vba/vbastyle.cxx
@@ -100,11 +100,6 @@ SwVbaStyle::getFont() throw ( uno::RuntimeException )
return new SwVbaFont( mxParent, mxContext, aColors.getPalette(), mxStyleProps );
}
-
-void SAL_CALL SwVbaStyle::LinkToListTemplate( const uno::Reference< word::XListTemplate >& /*ListTemplate*/, const uno::Any& /*ListLevelNumber*/ ) throw (uno::RuntimeException)
-{
-}
-
void SwVbaStyle::setStyle( const uno::Reference< beans::XPropertySet >& xParaProps, const uno::Any& rStyle )throw (uno::RuntimeException)
{
rtl::OUString sStyle;
diff --git a/sw/source/ui/vba/vbastyle.hxx b/sw/source/ui/vba/vbastyle.hxx
index 7343a4c70c13..e98f2b1bbe00 100644
--- a/sw/source/ui/vba/vbastyle.hxx
+++ b/sw/source/ui/vba/vbastyle.hxx
@@ -60,7 +60,6 @@ public:
virtual void SAL_CALL setLanguageID( ::sal_Int32 _languageid ) throw (css::uno::RuntimeException);
virtual ::sal_Int32 SAL_CALL getType() throw (css::uno::RuntimeException);
virtual css::uno::Reference< ooo::vba::word::XFont > SAL_CALL getFont() throw (css::uno::RuntimeException);
- virtual void SAL_CALL LinkToListTemplate( const css::uno::Reference< ooo::vba::word::XListTemplate >& ListTemplate, const css::uno::Any& ListLevelNumber ) throw (css::uno::RuntimeException);
virtual ::rtl::OUString SAL_CALL getNameLocal() throw (css::uno::RuntimeException);
virtual void SAL_CALL setNameLocal( const ::rtl::OUString& _namelocal ) throw (css::uno::RuntimeException);
virtual css::uno::Reference< ::ooo::vba::word::XParagraphFormat > SAL_CALL getParagraphFormat() throw (css::uno::RuntimeException);
diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx
index efd9930b78f0..1f2073bf3274 100644
--- a/sw/source/ui/wrtsh/wrtsh1.cxx
+++ b/sw/source/ui/wrtsh/wrtsh1.cxx
@@ -1759,12 +1759,6 @@ sal_Bool SwWrtShell::CanInsert()
return (!(IsSelFrmMode() | IsObjSelected() | (GetView().GetDrawFuncPtr() != NULL) | (GetView().GetPostItMgr()->GetActiveSidebarWin()!= NULL)));
}
-// die Core erzeugt eine Selektion, das SttSelect muss gerufen werden
-void SwWrtShell::NewCoreSelection()
-{
- SttSelect();
-}
-
// --------------
void SwWrtShell::ChgDBData(const SwDBData& aDBData)
{