[Libreoffice-commits] .: framework/source
David Tardon
dtardon at kemper.freedesktop.org
Mon Feb 7 22:44:54 PST 2011
framework/source/classes/sfxhelperfunctions.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 40537c0613431e76d3ccaff23218caa78b6c18cf
Author: David Tardon <dtardon at redhat.com>
Date: Tue Feb 8 07:44:04 2011 +0100
this doesn't feel right
diff --git a/framework/source/classes/sfxhelperfunctions.cxx b/framework/source/classes/sfxhelperfunctions.cxx
index 65cdb7e..ae39a9c 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;
}
More information about the Libreoffice-commits
mailing list