summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/inc/editeng/editview.hxx3
-rw-r--r--editeng/source/editeng/editdoc.cxx8
-rw-r--r--editeng/source/editeng/editdoc.hxx1
-rw-r--r--editeng/source/editeng/editview.cxx19
-rw-r--r--filter/inc/filter/msfilter/msdffimp.hxx1
-rw-r--r--filter/source/msfilter/msdffimp.cxx10
-rw-r--r--linguistic/source/lngsvcmgr.cxx15
-rw-r--r--linguistic/source/lngsvcmgr.hxx3
-rw-r--r--svtools/inc/svtools/ctrlbox.hxx1
-rw-r--r--svtools/inc/svtools/filectrl.hxx1
-rw-r--r--svtools/source/control/ctrlbox.cxx22
-rw-r--r--svtools/source/control/filectrl.cxx9
-rw-r--r--sw/source/filter/ww8/ww8par.hxx1
-rw-r--r--sw/source/filter/ww8/ww8par5.cxx5
-rwxr-xr-xunusedcode.easy10
-rw-r--r--vcl/inc/vcl/metric.hxx1
-rw-r--r--vcl/source/gdi/metric.cxx7
17 files changed, 0 insertions, 117 deletions
diff --git a/editeng/inc/editeng/editview.hxx b/editeng/inc/editeng/editview.hxx
index ef02fa98bcba..7f3dd4c4ef47 100644
--- a/editeng/inc/editeng/editview.hxx
+++ b/editeng/inc/editeng/editview.hxx
@@ -103,7 +103,6 @@ public:
void ShowCursor( sal_Bool bGotoCursor = sal_True, sal_Bool bForceVisCursor = sal_True );
void HideCursor();
- EESelectionMode GetSelectionMode() const;
void SetSelectionMode( EESelectionMode eMode );
void SetReadOnly( sal_Bool bReadOnly );
@@ -133,10 +132,8 @@ public:
void SetVisArea( const Rectangle& rRec );
const Rectangle& GetVisArea() const;
- void SetPointer( const Pointer& rPointer );
const Pointer& GetPointer() const;
- void SetCursor( const Cursor& rCursor );
Cursor* GetCursor() const;
void InsertText( const String& rNew, sal_Bool bSelect = sal_False );
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 0161eaa01310..50f96a28167b 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -1169,14 +1169,6 @@ ItemList::ItemList() : CurrentItem( 0 )
{
}
-const SfxPoolItem* ItemList::FindAttrib( sal_uInt16 nWhich )
-{
- for ( size_t i = 0, n = aItemPool.size(); i < n; ++i )
- if ( aItemPool[ i ]->Which() == nWhich )
- return aItemPool[ i ];
- return NULL;
-}
-
const SfxPoolItem* ItemList::First()
{
CurrentItem = 0;
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index 2b35c3e13801..32bfb246fd22 100644
--- a/editeng/source/editeng/editdoc.hxx
+++ b/editeng/source/editeng/editdoc.hxx
@@ -187,7 +187,6 @@ private:
public:
ItemList();
- const SfxPoolItem* FindAttrib( sal_uInt16 nWhich );
const SfxPoolItem* First();
const SfxPoolItem* Next();
size_t Count() { return aItemPool.size(); };
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index ee9f749bcbad..bff5f04f4af1 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -362,25 +362,12 @@ const Rectangle& EditView::GetOutputArea() const
return pImpEditView->GetOutputArea();
}
-void EditView::SetPointer( const Pointer& rPointer )
-{
- DBG_CHKTHIS( EditView, 0 );
- pImpEditView->SetPointer( rPointer );
-}
-
const Pointer& EditView::GetPointer() const
{
DBG_CHKTHIS( EditView, 0 );
return pImpEditView->GetPointer();
}
-void EditView::SetCursor( const Cursor& rCursor )
-{
- DBG_CHKTHIS( EditView, 0 );
- delete pImpEditView->pCursor;
- pImpEditView->pCursor = new Cursor( rCursor );
-}
-
Cursor* EditView::GetCursor() const
{
DBG_CHKTHIS( EditView, 0 );
@@ -629,12 +616,6 @@ Point EditView::GetWindowPosTopLeft( sal_uInt16 nParagraph )
return pImpEditView->GetWindowPos( aDocPos );
}
-EESelectionMode EditView::GetSelectionMode() const
-{
- DBG_CHKTHIS( EditView, 0 );
- return pImpEditView->GetSelectionMode();
-}
-
void EditView::SetSelectionMode( EESelectionMode eMode )
{
DBG_CHKTHIS( EditView, 0 );
diff --git a/filter/inc/filter/msfilter/msdffimp.hxx b/filter/inc/filter/msfilter/msdffimp.hxx
index 88a009ea260b..e2d6ced95ed9 100644
--- a/filter/inc/filter/msfilter/msdffimp.hxx
+++ b/filter/inc/filter/msfilter/msdffimp.hxx
@@ -129,7 +129,6 @@ public:
bool GetPropertyBool( sal_uInt32 nId, bool bDefault = false ) const;
/** Returns a string property. */
::rtl::OUString GetPropertyString( sal_uInt32 nId, SvStream& rStrm ) const;
- void SetPropertyValue( sal_uInt32 nId, sal_uInt32 nValue ) const;
sal_Bool SeekToContent( sal_uInt32 nRecType, SvStream& rSt ) const;
void Merge( DffPropSet& rMasterPropSet ) const;
void InitializePropSet() const;
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index aee3bd9c46f4..da90330a47e3 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -518,16 +518,6 @@ bool DffPropSet::GetPropertyBool( sal_uInt32 nId, bool bDefault ) const
return aBuffer.makeStringAndClear();
}
-void DffPropSet::SetPropertyValue( sal_uInt32 nId, sal_uInt32 nValue ) const
-{
- if ( !mpFlags[ nId ].bSet )
- {
- ( (DffPropSet*) this )->Insert( nId, (void*)(sal_uIntPtr)nValue );
- ( (DffPropSet*) this )->mpFlags[ nId ].bSet = sal_True;
- }
- ( (DffPropSet*) this )->mpContents[ nId ] = nValue;
-};
-
sal_Bool DffPropSet::SeekToContent( sal_uInt32 nRecType, SvStream& rStrm ) const
{
nRecType &= 0x3ff;
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 00acac2346b6..797361122eac 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -1762,21 +1762,6 @@ sal_Bool LngSvcMgr::AddLngSvcEvtBroadcaster(
}
-sal_Bool LngSvcMgr::RemoveLngSvcEvtBroadcaster(
- const uno::Reference< linguistic2::XLinguServiceEventBroadcaster > &rxBroadcaster )
-{
- sal_Bool bRes = sal_False;
- if (rxBroadcaster.is())
- {
- DBG_ASSERT( pListenerHelper, "pListenerHelper non existent" );
- if (!pListenerHelper)
- GetListenerHelper_Impl();
- bRes = pListenerHelper->RemoveLngSvcEvtBroadcaster( rxBroadcaster );
- }
- return bRes;
-}
-
-
OUString SAL_CALL
LngSvcMgr::getImplementationName()
throw(uno::RuntimeException)
diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx
index 635a85318364..0e27a705e56e 100644
--- a/linguistic/source/lngsvcmgr.hxx
+++ b/linguistic/source/lngsvcmgr.hxx
@@ -174,9 +174,6 @@ public:
sal_Bool AddLngSvcEvtBroadcaster(
const ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XLinguServiceEventBroadcaster > &rxBroadcaster );
- sal_Bool RemoveLngSvcEvtBroadcaster(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic2::XLinguServiceEventBroadcaster > &rxBroadcaster );
};
diff --git a/svtools/inc/svtools/ctrlbox.hxx b/svtools/inc/svtools/ctrlbox.hxx
index 3828cf7f7d06..7143d3c7e765 100644
--- a/svtools/inc/svtools/ctrlbox.hxx
+++ b/svtools/inc/svtools/ctrlbox.hxx
@@ -560,7 +560,6 @@ public:
virtual void SetValue( sal_Int64 nNewValue );
virtual sal_Int64 GetValue( FieldUnit eOutUnit ) const;
virtual sal_Int64 GetValue() const;
- void SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit );
void SetUserValue( sal_Int64 nNewValue ) { SetUserValue( nNewValue, FUNIT_NONE ); }
private:
diff --git a/svtools/inc/svtools/filectrl.hxx b/svtools/inc/svtools/filectrl.hxx
index 7a0f54666023..9e5b3dc69592 100644
--- a/svtools/inc/svtools/filectrl.hxx
+++ b/svtools/inc/svtools/filectrl.hxx
@@ -97,7 +97,6 @@ public:
//------
//manipulate the Button-Text:
XubString GetButtonText() const { return maButtonText; }
- void SetButtonText( const XubString& rStr );
//------
//use this to manipulate the dialog bevore executing it:
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 00cd75fc676f..deb207b2b84e 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -2005,26 +2005,4 @@ sal_Int64 FontSizeBox::GetValue() const
return GetValue( FUNIT_NONE );
}
-// -----------------------------------------------------------------------
-
-void FontSizeBox::SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit )
-{
- if ( !bRelative )
- {
- sal_Int64 nTempValue = MetricField::ConvertValue( nNewValue, GetBaseValue(), GetDecimalDigits(), eInUnit, GetUnit() );
- FontSizeNames aFontSizeNames( GetSettings().GetUILanguage() );
- // conversion loses precision
- // however font sizes should never have a problem with that
- String aName = aFontSizeNames.Size2Name( static_cast<long>(nTempValue) );
- if ( aName.Len() && (GetEntryPos( aName ) != LISTBOX_ENTRY_NOTFOUND) )
- {
- mnLastValue = nTempValue;
- SetText( aName );
- return;
- }
- }
-
- MetricBox::SetUserValue( nNewValue, eInUnit );
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx
index 9372cd82b5f3..d3ec1770d4a8 100644
--- a/svtools/source/control/filectrl.cxx
+++ b/svtools/source/control/filectrl.cxx
@@ -208,13 +208,4 @@ void FileControl::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize
GetEdit().SetStyle( nOldEditStyle );
}
-// -----------------------------------------------------------------------
-
-void FileControl::SetButtonText( const XubString& rStr )
-{
- mnInternalFlags &= ~FILECTRL_ORIGINALBUTTONTEXT;
- maButtonText = rStr;
- Resize();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx
index 98bd41092fc7..af9e089fd320 100644
--- a/sw/source/filter/ww8/ww8par.hxx
+++ b/sw/source/filter/ww8/ww8par.hxx
@@ -507,7 +507,6 @@ class FieldEntry
xub_StrLen GetPtCntnt() { return maStartPos.GetPtCntnt(); };
::rtl::OUString GetBookmarkName();
- ::rtl::OUString GetBookmarkType();
::rtl::OUString GetBookmarkCode();
void SetBookmarkName(::rtl::OUString bookmarkName);
void SetBookmarkType(::rtl::OUString bookmarkType);
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index e6b1de43892d..b5fcd5694cfc 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -855,11 +855,6 @@ FieldEntry &FieldEntry::operator=(const FieldEntry &rOther) throw()
return msBookmarkName;
}
-::rtl::OUString FieldEntry::GetBookmarkType()
-{
- return msMarkType;
-}
-
::rtl::OUString FieldEntry::GetBookmarkCode()
{
return msMarkCode;
diff --git a/unusedcode.easy b/unusedcode.easy
index 72523288754a..4661170dd87f 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -22,16 +22,10 @@ CharPosArray::Insert(CharPosArray const*, unsigned short, unsigned short, unsign
CharPosArray::Replace(int const&, unsigned short)
CharPosArray::Replace(int const*, unsigned short, unsigned short)
CharPosArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(int const&, void*), void*)
-DffPropSet::SetPropertyValue(unsigned int, unsigned int) const
Dialog::Dialog(Window*, ResId const&)
DirEntry::SetBase(String const&, char)
-EditView::GetSelectionMode() const
-EditView::SetCursor(Cursor const&)
-EditView::SetPointer(Pointer const&)
Export::GetNativeFile(rtl::OString const&)
Export::getCurrentDir(std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)
-FieldEntry::GetBookmarkType()
-FileControl::SetButtonText(String const&)
FileStream::FileStream(rtl::OString const&, FileAccessMode)
FmEntryDataArray::DeleteAndDestroy(unsigned short, unsigned short)
FmEntryDataArray::Insert(FmEntryData* const&, unsigned short&)
@@ -41,9 +35,7 @@ FmEntryDataArray::Remove(FmEntryData* const&, unsigned short)
FmFieldWinMgr::GetChildWindowId()
FmFormObj::getType() const
FmPropBrwMgr::GetChildWindowId()
-FontCharMap::GetLastChar() const
FontSelectPattern::FontSelectPattern(ImplFontData const&, Size const&, float, int, bool)
-FontSizeBox::SetUserValue(long, FieldUnit)
FontStyleBox::FontStyleBox(Window*, long)
FormattedField::SetValidateText(String const&, String const*)
FuncData::FuncData(rtl::OUString const&)
@@ -67,9 +59,7 @@ InsCapOptArr::Insert(InsCaptionOpt* const&, unsigned short&)
InsCapOptArr::Insert(InsCaptionOpt* const*, unsigned short)
InsCapOptArr::Remove(InsCaptionOpt* const&, unsigned short)
InsCapOptArr::Remove(unsigned short, unsigned short)
-ItemList::FindAttrib(unsigned short)
KeyboardSettings::CopyData()
-LngSvcMgr::RemoveLngSvcEvtBroadcaster(com::sun::star::uno::Reference<com::sun::star::linguistic2::XLinguServiceEventBroadcaster> const&)
MSDffImportRecords::Insert(MSDffImportRecords const*, unsigned short, unsigned short)
MSDffImportRecords::Insert(SvxMSDffImportRec* const&, unsigned short&)
MSDffImportRecords::Insert(SvxMSDffImportRec* const*, unsigned short)
diff --git a/vcl/inc/vcl/metric.hxx b/vcl/inc/vcl/metric.hxx
index a23a95bff6a9..e140b3f81aeb 100644
--- a/vcl/inc/vcl/metric.hxx
+++ b/vcl/inc/vcl/metric.hxx
@@ -104,7 +104,6 @@ public:
int GetCharCount() const;
sal_uInt32 GetFirstChar() const;
- sal_uInt32 GetLastChar() const;
sal_uInt32 GetNextChar( sal_uInt32 ) const;
sal_uInt32 GetPrevChar( sal_uInt32 ) const;
diff --git a/vcl/source/gdi/metric.cxx b/vcl/source/gdi/metric.cxx
index d0ad6e984419..a523b414ee89 100644
--- a/vcl/source/gdi/metric.cxx
+++ b/vcl/source/gdi/metric.cxx
@@ -859,13 +859,6 @@ sal_uInt32 FontCharMap::GetFirstChar() const
// -----------------------------------------------------------------------
-sal_uInt32 FontCharMap::GetLastChar() const
-{
- return mpImpl->GetLastChar();
-}
-
-// -----------------------------------------------------------------------
-
sal_uInt32 FontCharMap::GetNextChar( sal_uInt32 cChar ) const
{
return mpImpl->GetNextChar( cChar );