summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbawindows.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-01-29 07:03:06 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-01-29 07:03:06 +0000
commit5712faf5ed93965b8ab42790e4705f70e9f1dde3 (patch)
treea9a3018757b813c4db38cdce9545395c143890bf /sc/source/ui/vba/vbawindows.cxx
parenta9d9e33d51931944464269f06b0e475b974d3b81 (diff)
INTEGRATION: CWS kohei01 (1.3.8); FILE MERGED
2007/12/17 16:38:07 kohei 1.3.8.1: Issue number: i84602 i84604 i84605 Submitted by: erack Reviewed by: npower
Diffstat (limited to 'sc/source/ui/vba/vbawindows.cxx')
-rw-r--r--sc/source/ui/vba/vbawindows.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbawindows.cxx b/sc/source/ui/vba/vbawindows.cxx
index f6e59ac20c81..d4e309aee25a 100644
--- a/sc/source/ui/vba/vbawindows.cxx
+++ b/sc/source/ui/vba/vbawindows.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: vbawindows.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: vg $ $Date: 2007-12-07 11:05:39 $
+ * last change: $Author: vg $ $Date: 2008-01-29 08:03:06 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -142,7 +142,8 @@ public:
{
m_windows.push_back( xNext );
uno::Reference< frame::XModel > xModel( xNext, uno::UNO_QUERY_THROW ); // that the spreadsheetdocument is a xmodel is a given
- ScVbaWindow window( uno::Reference< vba::XHelperInterface >(), m_xContext, xModel );
+ uno::Reference< vba::XHelperInterface > xTemp; // temporary needed for g++ 3.3.5
+ ScVbaWindow window( xTemp, m_xContext, xModel );
rtl::OUString sCaption;
window.getCaption() >>= sCaption;
namesToIndices[ sCaption ] = nIndex++;