summaryrefslogtreecommitdiffstats
path: root/canvas/source/tools/propertysethelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/tools/propertysethelper.cxx')
-rw-r--r--canvas/source/tools/propertysethelper.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/canvas/source/tools/propertysethelper.cxx b/canvas/source/tools/propertysethelper.cxx
index 7fdc153bb5cd..35b67e03e3f0 100644
--- a/canvas/source/tools/propertysethelper.cxx
+++ b/canvas/source/tools/propertysethelper.cxx
@@ -86,7 +86,7 @@ namespace canvas
bool PropertySetHelper::isPropertyName( const OUString& aPropertyName ) const
{
- if( !mpMap.get() )
+ if (!mpMap)
return false;
Callbacks aDummy;
@@ -104,9 +104,7 @@ namespace canvas
const uno::Any& aValue )
{
Callbacks aCallbacks;
- if( !mpMap.get() ||
- !mpMap->lookup( aPropertyName,
- aCallbacks ) )
+ if (!mpMap || !mpMap->lookup(aPropertyName, aCallbacks))
{
throwUnknown( aPropertyName );
}
@@ -120,9 +118,7 @@ namespace canvas
uno::Any PropertySetHelper::getPropertyValue( const OUString& aPropertyName ) const
{
Callbacks aCallbacks;
- if( !mpMap.get() ||
- !mpMap->lookup( aPropertyName,
- aCallbacks ) )
+ if (!mpMap || !mpMap->lookup(aPropertyName, aCallbacks))
{
throwUnknown( aPropertyName );
}