summaryrefslogtreecommitdiff
path: root/svx/source/dialog/srchdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/srchdlg.cxx')
-rw-r--r--svx/source/dialog/srchdlg.cxx36
1 files changed, 0 insertions, 36 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 64f037bf7a80..d0424bcf8b53 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -79,7 +79,6 @@ using namespace com::sun::star;
using namespace comphelper;
-
#define REMEMBER_SIZE 10
#define MODIFY_SEARCH 0x00000001
@@ -166,14 +165,12 @@ SearchAttrItemList::SearchAttrItemList( const SearchAttrItemList& rList ) :
}
-
SearchAttrItemList::~SearchAttrItemList()
{
Clear();
}
-
void SearchAttrItemList::Put( const SfxItemSet& rSet )
{
if ( !rSet.Count() )
@@ -209,7 +206,6 @@ void SearchAttrItemList::Put( const SfxItemSet& rSet )
}
-
SfxItemSet& SearchAttrItemList::Get( SfxItemSet& rSet )
{
SfxItemPool* pPool = rSet.GetPool();
@@ -223,7 +219,6 @@ SfxItemSet& SearchAttrItemList::Get( SfxItemSet& rSet )
}
-
void SearchAttrItemList::Clear()
{
for ( size_t i = 0; i < size(); ++i )
@@ -233,7 +228,6 @@ void SearchAttrItemList::Clear()
}
-
// Deletes the pointer to the items
void SearchAttrItemList::Remove(size_t nPos, size_t nLen)
{
@@ -343,7 +337,6 @@ SvxSearchDialog::SvxSearchDialog( vcl::Window* pParent, SfxChildWindow* pChildWi
}
-
SvxSearchDialog::~SvxSearchDialog()
{
disposeOnce();
@@ -545,7 +538,6 @@ void SvxSearchDialog::Construct_Impl()
}
-
bool SvxSearchDialog::Close()
{
// remember strings speichern
@@ -577,7 +569,6 @@ bool SvxSearchDialog::Close()
}
-
sal_Int32 SvxSearchDialog::GetTransliterationFlags() const
{
if (!m_pMatchCaseCB->IsChecked())
@@ -597,7 +588,6 @@ void SvxSearchDialog::SetSaveToModule(bool b)
}
-
void SvxSearchDialog::ApplyTransliterationFlags_Impl( sal_Int32 nSettings )
{
nTransliterationFlags = nSettings;
@@ -608,7 +598,6 @@ void SvxSearchDialog::ApplyTransliterationFlags_Impl( sal_Int32 nSettings )
}
-
void SvxSearchDialog::Activate()
{
// apply possible transliteration changes of the SvxSearchItem member
@@ -621,7 +610,6 @@ void SvxSearchDialog::Activate()
}
-
void SvxSearchDialog::InitControls_Impl()
{
// CaseSensitives AutoComplete
@@ -747,7 +735,6 @@ void SvxSearchDialog::ShowOptionalControls_Impl()
}
-
namespace {
class ToggleSaveToModule
@@ -1049,7 +1036,6 @@ void SvxSearchDialog::Init_Impl( bool bSearchPattern )
}
-
void SvxSearchDialog::InitAttrList_Impl( const SfxItemSet* pSSet,
const SfxItemSet* pRSet )
{
@@ -1109,7 +1095,6 @@ void SvxSearchDialog::InitAttrList_Impl( const SfxItemSet* pSSet,
}
-
IMPL_LINK_TYPED( SvxSearchDialog, LBSelectHdl_Impl, ListBox&, rCtrl, void )
{
ClickHdl_Impl(&rCtrl);
@@ -1238,7 +1223,6 @@ void SvxSearchDialog::ClickHdl_Impl(void* pCtrl)
}
-
IMPL_LINK_TYPED( SvxSearchDialog, CommandHdl_Impl, Button *, pBtn, void )
{
bool bInclusive = ( m_pLayoutBtn->GetText() == aLayoutStr );
@@ -1402,7 +1386,6 @@ IMPL_LINK_TYPED( SvxSearchDialog, CommandHdl_Impl, Button *, pBtn, void )
}
-
IMPL_LINK_TYPED( SvxSearchDialog, ModifyHdl_Impl, Edit&, rEd, void )
{
if ( !bSet )
@@ -1443,7 +1426,6 @@ IMPL_LINK_TYPED( SvxSearchDialog, ModifyHdl_Impl, Edit&, rEd, void )
}
-
IMPL_LINK_NOARG_TYPED(SvxSearchDialog, TemplateHdl_Impl, Button*, void)
{
if ( pImpl->bSaveToModule )
@@ -1530,7 +1512,6 @@ IMPL_LINK_NOARG_TYPED(SvxSearchDialog, TemplateHdl_Impl, Button*, void)
}
-
void SvxSearchDialog::Remember_Impl( const OUString &rStr, bool _bSearch )
{
if ( rStr.isEmpty() )
@@ -1559,7 +1540,6 @@ void SvxSearchDialog::Remember_Impl( const OUString &rStr, bool _bSearch )
}
-
void SvxSearchDialog::TemplatesChanged_Impl( SfxStyleSheetBasePool& rPool )
{
OUString aOldSrch( m_pSearchTmplLB->GetSelectEntry() );
@@ -1599,7 +1579,6 @@ void SvxSearchDialog::TemplatesChanged_Impl( SfxStyleSheetBasePool& rPool )
}
-
void SvxSearchDialog::EnableControls_Impl( const SearchOptionFlags nFlags )
{
if ( nFlags == nOptions )
@@ -1715,7 +1694,6 @@ void SvxSearchDialog::EnableControls_Impl( const SearchOptionFlags nFlags )
}
-
void SvxSearchDialog::EnableControl_Impl( Control* pCtrl )
{
if (m_pSearchBtn == pCtrl && ( SearchOptionFlags::SEARCH & nOptions ) )
@@ -1805,7 +1783,6 @@ void SvxSearchDialog::EnableControl_Impl( Control* pCtrl )
}
-
void SvxSearchDialog::SetItem_Impl( const SvxSearchItem* pItem )
{
if ( pItem )
@@ -1818,7 +1795,6 @@ void SvxSearchDialog::SetItem_Impl( const SvxSearchItem* pItem )
}
-
IMPL_LINK_TYPED( SvxSearchDialog, FocusHdl_Impl, Control&, rControl, void )
{
sal_Int32 nTxtLen = m_pSearchAttrText->GetText().getLength();
@@ -1878,14 +1854,12 @@ IMPL_LINK_TYPED( SvxSearchDialog, FocusHdl_Impl, Control&, rControl, void )
}
-
IMPL_LINK_NOARG_TYPED(SvxSearchDialog, LoseFocusHdl_Impl, Control&, void)
{
SaveToModule_Impl();
}
-
IMPL_LINK_NOARG_TYPED(SvxSearchDialog, FormatHdl_Impl, Button*, void)
{
SfxObjectShell* pSh = SfxObjectShell::Current();
@@ -1977,7 +1951,6 @@ IMPL_LINK_NOARG_TYPED(SvxSearchDialog, FormatHdl_Impl, Button*, void)
}
-
IMPL_LINK_NOARG_TYPED(SvxSearchDialog, NoFormatHdl_Impl, Button*, void)
{
SvtModuleOptions::EFactory eFactory = getModule(rBindings);
@@ -2017,7 +1990,6 @@ IMPL_LINK_NOARG_TYPED(SvxSearchDialog, NoFormatHdl_Impl, Button*, void)
}
-
IMPL_LINK_NOARG_TYPED(SvxSearchDialog, AttributeHdl_Impl, Button*, void)
{
if ( !pSearchList || !pImpl->pRanges )
@@ -2034,7 +2006,6 @@ IMPL_LINK_NOARG_TYPED(SvxSearchDialog, AttributeHdl_Impl, Button*, void)
}
-
IMPL_LINK_TYPED( SvxSearchDialog, TimeoutHdl_Impl, Timer *, pTimer, void )
{
SfxViewShell* pViewShell = SfxViewShell::Current();
@@ -2054,7 +2025,6 @@ IMPL_LINK_TYPED( SvxSearchDialog, TimeoutHdl_Impl, Timer *, pTimer, void )
}
-
OUString& SvxSearchDialog::BuildAttrText_Impl( OUString& rStr,
bool bSrchFlag ) const
{
@@ -2123,7 +2093,6 @@ OUString& SvxSearchDialog::BuildAttrText_Impl( OUString& rStr,
}
-
void SvxSearchDialog::PaintAttrText_Impl()
{
OUString aDesc;
@@ -2145,7 +2114,6 @@ void SvxSearchDialog::PaintAttrText_Impl()
}
-
void SvxSearchDialog::SetModifyFlag_Impl( const Control* pCtrl )
{
if ( m_pSearchLB == pCtrl )
@@ -2183,7 +2151,6 @@ void SvxSearchDialog::SetModifyFlag_Impl( const Control* pCtrl )
}
-
void SvxSearchDialog::SaveToModule_Impl()
{
if ( !pSearchItem )
@@ -2263,7 +2230,6 @@ css::uno::Reference< css::awt::XWindowPeer >
SFX_IMPL_CHILDWINDOW_WITHID(SvxSearchDialogWrapper, SID_SEARCH_DLG);
-
SvxSearchDialogWrapper::SvxSearchDialogWrapper( vcl::Window* _pParent, sal_uInt16 nId,
SfxBindings* pBindings,
SfxChildWinInfo* pInfo )
@@ -2285,8 +2251,6 @@ SvxSearchDialogWrapper::~SvxSearchDialogWrapper ()
}
-
-
SfxChildWinInfo SvxSearchDialogWrapper::GetInfo() const
{
SfxChildWinInfo aInfo = SfxChildWindow::GetInfo();