diff options
author | David Tardon <dtardon@redhat.com> | 2011-02-08 07:44:04 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-02-08 07:44:04 +0100 |
commit | c5731aeeeef41c7aab64820ad0986f80705f780a (patch) | |
tree | 7bb406dc395dca8cf7fc6fa1daef863676fb08a8 /framework/source/classes | |
parent | 7dc6676f4b700b955d9216763f6aa47db56d9542 (diff) |
this doesn't feel right
Diffstat (limited to 'framework/source/classes')
-rw-r--r-- | framework/source/classes/sfxhelperfunctions.cxx | 4 |
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; } |