diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/helper/property.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/layout/vcl/wrapper.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/helper/property.cxx b/toolkit/source/helper/property.cxx index 50358d779877..dc2ad1227945 100644 --- a/toolkit/source/helper/property.cxx +++ b/toolkit/source/helper/property.cxx @@ -84,9 +84,9 @@ struct ImplPropertyInfo bDependsOnOthers = sal_False; } - ImplPropertyInfo( const sal_Unicode* pName, sal_uInt16 nId, const ::com::sun::star::uno::Type& rType, + ImplPropertyInfo( rtl::OUString const & theName, sal_uInt16 nId, const ::com::sun::star::uno::Type& rType, sal_Int16 nAttrs, sal_Bool bDepends = sal_False ) - : aName( pName ) + : aName( theName ) { nPropId = nId; aType = rType; diff --git a/toolkit/source/layout/vcl/wrapper.cxx b/toolkit/source/layout/vcl/wrapper.cxx index d78bb28dff07..9713e04b3e40 100644 --- a/toolkit/source/layout/vcl/wrapper.cxx +++ b/toolkit/source/layout/vcl/wrapper.cxx @@ -770,7 +770,7 @@ void MessageBox::init (OUString const& message, OUString const& yes, OUString co else noButton.Hide (); } - if (help_id) + if (help_id.getLength() != 0) SetHelpId (help_id); else helpButton.Hide (); |