summaryrefslogtreecommitdiff
path: root/framework/source/classes
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-02-08 07:44:04 +0100
committerDavid Tardon <dtardon@redhat.com>2011-02-08 07:44:04 +0100
commitc5731aeeeef41c7aab64820ad0986f80705f780a (patch)
tree7bb406dc395dca8cf7fc6fa1daef863676fb08a8 /framework/source/classes
parent7dc6676f4b700b955d9216763f6aa47db56d9542 (diff)
this doesn't feel right
Diffstat (limited to 'framework/source/classes')
-rw-r--r--framework/source/classes/sfxhelperfunctions.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/classes/sfxhelperfunctions.cxx b/framework/source/classes/sfxhelperfunctions.cxx
index d47050d831cf..ca08db178add 100644
--- a/framework/source/classes/sfxhelperfunctions.cxx
+++ b/framework/source/classes/sfxhelperfunctions.cxx
@@ -153,8 +153,8 @@ bool SAL_CALL IsDockingWindowVisible( const ::com::sun::star::uno::Reference< ::
pCall = pIsDockingWindowVisible;
}
- if ( pIsDockingWindowVisible )
- return (*pIsDockingWindowVisible)( rFrame, rResourceURL );
+ if ( pCall )
+ return (*pCall)( rFrame, rResourceURL );
else
return false;
}