summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/dbmgr.hxx9
-rw-r--r--sw/inc/docary.hxx1
-rw-r--r--sw/inc/index.hxx20
-rw-r--r--sw/inc/swrect.hxx16
4 files changed, 0 insertions, 46 deletions
diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index b923c71ab17b..cf52569a6215 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -236,15 +236,6 @@ friend class SwConnectionDisposedListener_Impl;
GetRowSet(css::uno::Reference< css::sdbc::XConnection>,
const OUString& rTableOrQuery, SwDBSelect eTableOrQuery);
- SAL_DLLPRIVATE static css::uno::Reference< css::beans::XPropertySet>
- GetRowSupplier(css::uno::Reference< css::sdbc::XConnection> xConnection,
- const OUString& rTableOrQuery, SwDBSelect eTableOrQuery)
- {
- css::uno::Reference<css::sdbc::XRowSet> xRowSet = GetRowSet(xConnection, rTableOrQuery, eTableOrQuery);
-
- return css::uno::Reference<css::beans::XPropertySet>( xRowSet, css::uno::UNO_QUERY );
- }
-
SAL_DLLPRIVATE void CreateDumpDocs(sal_Int32 &nMaxDumpDocs);
SAL_DLLPRIVATE void SetSourceProp(SwDocShell* pSourceDocSh);
diff --git a/sw/inc/docary.hxx b/sw/inc/docary.hxx
index 37c5201905e4..305bcb383574 100644
--- a/sw/inc/docary.hxx
+++ b/sw/inc/docary.hxx
@@ -253,7 +253,6 @@ public:
sal_uInt16 GetSize() const { return m_aExtraRedlines.size(); }
SwExtraRedline* GetRedline( sal_uInt16 uIndex ) const { return m_aExtraRedlines.operator[]( uIndex ); }
- bool IsEmpty() const { return m_aExtraRedlines.empty(); }
SW_DLLPUBLIC bool DeleteAllTableRedlines( SwDoc* pDoc, const SwTable& rTable, bool bSaveInUndo, sal_uInt16 nRedlineTypeToDelete );
bool DeleteTableRowRedline ( SwDoc* pDoc, const SwTableLine& rTableLine, bool bSaveInUndo, sal_uInt16 nRedlineTypeToDelete );
diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx
index a1400553c73e..fecfa983b6b9 100644
--- a/sw/inc/index.hxx
+++ b/sw/inc/index.hxx
@@ -63,13 +63,10 @@ public:
sal_Int32 operator++();
sal_Int32 operator--();
- sal_Int32 operator++(int);
sal_Int32 operator--(int);
sal_Int32 operator+=( sal_Int32 const );
sal_Int32 operator-=( sal_Int32 const );
- sal_Int32 operator+=( const SwIndex& );
- sal_Int32 operator-=( const SwIndex& );
bool operator< ( const SwIndex& ) const;
bool operator<=( const SwIndex& ) const;
@@ -144,13 +141,6 @@ inline sal_Int32 SwIndex::operator--()
return ChgValue( *this, m_nIndex-1 ).m_nIndex;
}
-inline sal_Int32 SwIndex::operator++(int)
-{
- sal_Int32 const nOldIndex = m_nIndex;
- ChgValue( *this, m_nIndex+1 );
- return nOldIndex;
-}
-
inline sal_Int32 SwIndex::operator--(int)
{
sal_Int32 const nOldIndex = m_nIndex;
@@ -168,16 +158,6 @@ inline sal_Int32 SwIndex::operator-=( sal_Int32 const nVal )
return ChgValue( *this, m_nIndex - nVal ).m_nIndex;
}
-inline sal_Int32 SwIndex::operator+=( const SwIndex& rIndex )
-{
- return ChgValue( *this, m_nIndex + rIndex.m_nIndex ).m_nIndex;
-}
-
-inline sal_Int32 SwIndex::operator-=( const SwIndex& rIndex )
-{
- return ChgValue( *this, m_nIndex - rIndex.m_nIndex ).m_nIndex;
-}
-
inline bool SwIndex::operator< ( const SwIndex& rIndex ) const
{
return m_nIndex < rIndex.m_nIndex;
diff --git a/sw/inc/swrect.hxx b/sw/inc/swrect.hxx
index 4f9f317881a4..c2f245df71fa 100644
--- a/sw/inc/swrect.hxx
+++ b/sw/inc/swrect.hxx
@@ -94,9 +94,6 @@ public:
inline SwRect &operator+=( const Point &rPt );
inline SwRect &operator-=( const Point &rPt );
- inline SwRect &operator+=( const Size &rSz );
- inline SwRect &operator-=( const Size &rSz );
-
//SV-SS e.g. pWin->DrawRect( aSwRect.SVRect() );
inline Rectangle SVRect() const;
@@ -274,19 +271,6 @@ inline SwRect &SwRect::operator-=( const Point &rPt )
return *this;
}
-inline SwRect &SwRect::operator+=( const Size &rSz )
-{
- m_Size.Width() += rSz.Width();
- m_Size.Height() += rSz.Height();
- return *this;
-}
-inline SwRect &SwRect::operator-=( const Size &rSz )
-{
- m_Size.Width() -= rSz.Width();
- m_Size.Height() -= rSz.Height();
- return *this;
-}
-
// other
inline Rectangle SwRect::SVRect() const
{