svx: prefix members of SvxSearchDialogWrapper

See tdf#94879 for motivation.

Change-Id: I8c07b640e3b0d799c3f7a6b7cfb49f19f1e2c25b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/202410
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Miklos Vajna
2026-03-23 14:12:05 +01:00
parent 55c62bf611
commit 0186a604d2
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -96,13 +96,13 @@ enum class SearchLabel
class SvxSearchDialog;
class SVX_DLLPUBLIC SvxSearchDialogWrapper final : public SfxChildWindow
{
std::shared_ptr<SvxSearchDialog> dialog;
std::shared_ptr<SvxSearchDialog> m_dialog;
public:
SvxSearchDialogWrapper( vcl::Window*pParent, sal_uInt16 nId,
SfxBindings* pBindings, SfxChildWinInfo const * pInfo );
virtual ~SvxSearchDialogWrapper () override;
SvxSearchDialog *getDialog () { return dialog.get();}
SvxSearchDialog *getDialog () { return m_dialog.get();}
static void SetSearchLabel(const SearchLabel& rSL);
static void SetSearchLabel(const OUString& sStr);
static OUString GetSearchLabel();
+4 -4
View File
@@ -2356,16 +2356,16 @@ SvxSearchDialogWrapper::SvxSearchDialogWrapper( vcl::Window* _pParent, sal_uInt1
SfxBindings* pBindings,
SfxChildWinInfo const * pInfo )
: SfxChildWindow( _pParent, nId )
, dialog(std::make_shared<SvxSearchDialog>(_pParent->GetFrameWeld(), this, *pBindings))
, m_dialog(std::make_shared<SvxSearchDialog>(_pParent->GetFrameWeld(), this, *pBindings))
{
SetController(dialog);
dialog->Initialize( pInfo );
SetController(m_dialog);
m_dialog->Initialize( pInfo );
pBindings->Update( SID_SEARCH_ITEM );
pBindings->Update( SID_SEARCH_OPTIONS );
pBindings->Update( SID_SEARCH_SEARCHSET );
pBindings->Update( SID_SEARCH_REPLACESET );
dialog->m_bConstruct = false;
m_dialog->m_bConstruct = false;
}
SvxSearchDialogWrapper::~SvxSearchDialogWrapper ()