summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source')
-rw-r--r--unotools/source/config/optionsdlg.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/unotools/source/config/optionsdlg.cxx b/unotools/source/config/optionsdlg.cxx
index 51295be81ec7..53e4eac8725e 100644
--- a/unotools/source/config/optionsdlg.cxx
+++ b/unotools/source/config/optionsdlg.cxx
@@ -261,22 +261,23 @@ SvtOptionsDialogOptions::~SvtOptionsDialogOptions()
{
if ( pOptions->IsModified() )
pOptions->Commit();
- DELETEZ( pOptions );
+ delete pOptions;
+ pOptions = NULL;
}
}
-sal_Bool SvtOptionsDialogOptions::IsGroupHidden( const String& _rGroup ) const
+sal_Bool SvtOptionsDialogOptions::IsGroupHidden( const rtl::OUString& _rGroup ) const
{
return m_pImp->IsGroupHidden( _rGroup );
}
-sal_Bool SvtOptionsDialogOptions::IsPageHidden( const String& _rPage, const String& _rGroup ) const
+sal_Bool SvtOptionsDialogOptions::IsPageHidden( const rtl::OUString& _rPage, const rtl::OUString& _rGroup ) const
{
return m_pImp->IsPageHidden( _rPage, _rGroup );
}
sal_Bool SvtOptionsDialogOptions::IsOptionHidden(
- const String& _rOption, const String& _rPage, const String& _rGroup ) const
+ const rtl::OUString& _rOption, const rtl::OUString& _rPage, const rtl::OUString& _rGroup ) const
{
return m_pImp->IsOptionHidden( _rOption, _rPage, _rGroup );
}