summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-27 20:21:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-27 20:22:03 +0200
commit6671fa81db0ecea4ada005bb79f55f08fb440ad4 (patch)
tree85ad806ece8d60736b6b01310b04b053dc2f8179 /toolkit
parentb6d8251eee90b7e24ebb3f8452eff36a507e6d91 (diff)
Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/helper/property.cxx4
-rw-r--r--toolkit/source/layout/vcl/wrapper.cxx2
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 ();