diff options
author | Oliver Specht <os@openoffice.org> | 2002-10-29 11:15:48 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-10-29 11:15:48 +0000 |
commit | 7c6b58e4b457f419e04b12cb367b25c1a0cb3eff (patch) | |
tree | 5e711c6a6b379b1cceed0484c50b1b76631eb6f8 /sfx2/source/appl/helpinterceptor.cxx | |
parent | 281766e9933e07475b91574f00c402369b40631b (diff) |
#93478# syntax error Solaris corrected
Diffstat (limited to 'sfx2/source/appl/helpinterceptor.cxx')
-rw-r--r-- | sfx2/source/appl/helpinterceptor.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sfx2/source/appl/helpinterceptor.cxx b/sfx2/source/appl/helpinterceptor.cxx index e0d560780d8c..b94012487f47 100644 --- a/sfx2/source/appl/helpinterceptor.cxx +++ b/sfx2/source/appl/helpinterceptor.cxx @@ -2,9 +2,9 @@ * * $RCSfile: helpinterceptor.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: os $ $Date: 2002-10-24 10:04:32 $ + * last change: $Author: os $ $Date: 2002-10-29 12:15:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -140,7 +140,9 @@ void HelpInterceptor_Impl::addURL( const String& rURL ) delete m_pHistory->Remove(i); } Reference<XFrame> xFrame(m_xIntercepted, UNO_QUERY); - Reference<XController> xController = xFrame.is() ? xFrame->getController() : 0; + Reference<XController> xController; + if(xFrame.is()) + xController = xFrame->getController(); Any aViewData; if(xController.is() && m_pHistory->Count()) { |