summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-11-21 23:03:29 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-11-22 09:47:51 +0900
commit20553c9a932804b4759d0a5eda009e74cf538fde (patch)
tree90106ce902e39e75e7d8fa1c667e53bbf64b61fc /sw
parent9300ec6ebf852c962b1cde32026dab11091c852c (diff)
Remove unused code
Change-Id: I21800d9da3f31f3a53298e824f0f70b9cf8c0431
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/draw/dview.cxx21
-rw-r--r--sw/source/core/edit/autofmt.cxx6
2 files changed, 0 insertions, 27 deletions
diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx
index b4a8058794da..829ad2527dbf 100644
--- a/sw/source/core/draw/dview.cxx
+++ b/sw/source/core/draw/dview.cxx
@@ -354,27 +354,6 @@ SdrObject* SwDrawView::GetMaxToBtmObj(SdrObject* pObj) const
|*
*************************************************************************/
-static inline sal_Bool lcl_IsChild( SdrObject *pParent, SdrObject *pChild )
-{
- if ( pParent->ISA(SwVirtFlyDrawObj) )
- {
- const SwFrm *pAnch = lcl_FindAnchor( pChild, sal_False );
- if ( pAnch && ((SwVirtFlyDrawObj*)pParent)->GetFlyFrm()->IsAnLower( pAnch ))
- {
- return sal_True;
- }
- }
- return sal_False;
-}
-
-static inline SdrObject *lcl_FindParent( SdrObject *pObj )
-{
- const SwFrm *pAnch = lcl_FindAnchor( pObj, sal_False );
- if ( pAnch && pAnch->IsInFly() )
- return (SdrObject*)pAnch->FindFlyFrm()->GetVirtDrawObj();
- return 0;
-}
-
/** determine maximal order number for a 'child' object of given 'parent' object
@author OD
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 9364a1ce670e..cd33e464e6ee 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -147,9 +147,6 @@ class SwAutoFormat
sal_Bool bEmptyLine : 1;
sal_Bool bMoreLines : 1;
- static sal_Bool m_bAskForCancelUndoWhileBufferOverflow;
- static short m_nActionWhileAutoformatUndoBufferOverflow;
-
// ------------- private methods -----------------------------
void _GetCharClass( LanguageType eLang );
@@ -250,9 +247,6 @@ public:
}
};
-sal_Bool SwAutoFormat::m_bAskForCancelUndoWhileBufferOverflow = sal_True;
-short SwAutoFormat::m_nActionWhileAutoformatUndoBufferOverflow = RET_YES;
-
const sal_Unicode* StrChr( const sal_Unicode* pSrc, sal_Unicode c )
{
while( *pSrc && *pSrc != c )