merge the formfield patch from ooo-build
[ooovba.git] / applied_patches / 0327-cws-vbasupportdev300-wae.diff
blob4a0738b04470bc373600af903ca79abed1d838bb
1 Index: sc/source/ui/vba/vbafont.cxx
2 ===================================================================
3 --- sc/source/ui/vba/vbafont.cxx (revision 276354)
4 +++ sc/source/ui/vba/vbafont.cxx (working copy)
5 @@ -250,7 +250,6 @@
6 uno::Any SAL_CALL
7 ScVbaFont::getColorIndex() throw ( uno::RuntimeException )
9 - sal_Int32 nColor = 0;
10 if ( GetDataSet() )
11 if ( GetDataSet()->GetItemState( ATTR_FONT_COLOR, TRUE, NULL) == SFX_ITEM_DONTCARE )
12 return aNULL();
13 Index: basic/source/classes/sbxmod.cxx
14 ===================================================================
15 --- basic/source/classes/sbxmod.cxx (revision 276381)
16 +++ basic/source/classes/sbxmod.cxx (working copy)
17 @@ -113,7 +113,7 @@
18 DECL_LINK( OnAsyncQuit, void* );
21 -IMPL_LINK( AsyncQuitHandler, OnAsyncQuit, void*, pNull )
22 +IMPL_LINK( AsyncQuitHandler, OnAsyncQuit, void*, /*pNull*/ )
24 QuitApplication();
25 return 0L;
26 Index: sw/source/ui/vba/vbaselection.cxx
27 ===================================================================
28 --- sw/source/ui/vba/vbaselection.cxx (revision 276294)
29 +++ sw/source/ui/vba/vbaselection.cxx (working copy)
30 @@ -188,7 +188,7 @@
33 void SAL_CALL
34 -SwVbaSelection::Delete( const uno::Any& _unit, const uno::Any& _count ) throw ( uno::RuntimeException )
35 +SwVbaSelection::Delete( const uno::Any& /*_unit*/, const uno::Any& /*_count*/ ) throw ( uno::RuntimeException )
37 // FIXME: handle the arguments: _unit and _count
38 rtl::OUString url = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:Delete"));
39 Index: sw/source/ui/vba/vbatable.cxx
40 ===================================================================
41 --- sw/source/ui/vba/vbatable.cxx (revision 276294)
42 +++ sw/source/ui/vba/vbatable.cxx (working copy)
43 @@ -50,7 +50,7 @@
46 uno::Reference< word::XRange > SAL_CALL
47 -SwVbaTable::ConvertToText( const uno::Any& Separator, const uno::Any& NestedTables ) throw (script::BasicErrorException, uno::RuntimeException)
48 +SwVbaTable::ConvertToText( const uno::Any& /*Separator*/, const uno::Any& /*NestedTables*/ ) throw (script::BasicErrorException, uno::RuntimeException)
50 // #FIXME the helper api uses the dreaded dispatch mechanism, holding off
51 // implementation while I look for alternative solution
52 Index: sw/source/ui/vba/vbaoptions.cxx
53 ===================================================================
54 --- sw/source/ui/vba/vbaoptions.cxx (revision 276294)
55 +++ sw/source/ui/vba/vbaoptions.cxx (working copy)
56 @@ -141,7 +141,7 @@
57 return word::WdLineStyle::wdLineStyleSingle;
60 -void SAL_CALL SwVbaOptions::setDefaultBorderLineStyle( ::sal_Int32 _defaultborderlinestyle ) throw (uno::RuntimeException)
61 +void SAL_CALL SwVbaOptions::setDefaultBorderLineStyle( ::sal_Int32 /*_defaultborderlinestyle*/ ) throw (uno::RuntimeException)
63 // not support in Writer
65 @@ -151,7 +151,7 @@
66 return word::WdLineWidth::wdLineWidth050pt;
69 -void SAL_CALL SwVbaOptions::setDefaultBorderLineWidth( ::sal_Int32 _defaultborderlinewidth ) throw (uno::RuntimeException)
70 +void SAL_CALL SwVbaOptions::setDefaultBorderLineWidth( ::sal_Int32 /*_defaultborderlinewidth*/ ) throw (uno::RuntimeException)
72 // not support in Writer
74 @@ -161,7 +161,7 @@
75 return word::WdColorIndex::wdAuto;
78 -void SAL_CALL SwVbaOptions::setDefaultBorderColorIndex( ::sal_Int32 _defaultbordercolorindex ) throw (uno::RuntimeException)
79 +void SAL_CALL SwVbaOptions::setDefaultBorderColorIndex( ::sal_Int32 /*_defaultbordercolorindex*/ ) throw (uno::RuntimeException)
81 // not support in Writer
83 @@ -171,7 +171,7 @@
84 return sal_True;
87 -void SAL_CALL SwVbaOptions::setReplaceSelection( ::sal_Bool _replaceselection ) throw (uno::RuntimeException)
88 +void SAL_CALL SwVbaOptions::setReplaceSelection( ::sal_Bool /*_replaceselection*/ ) throw (uno::RuntimeException)
90 // not support in Writer
92 @@ -181,7 +181,7 @@
93 return sal_False;
96 -void SAL_CALL SwVbaOptions::setMapPaperSize( ::sal_Bool _mappapersize ) throw (uno::RuntimeException)
97 +void SAL_CALL SwVbaOptions::setMapPaperSize( ::sal_Bool /*_mappapersize*/ ) throw (uno::RuntimeException)
99 // not support in Writer
101 @@ -191,7 +191,7 @@
102 return sal_False;
105 -void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeApplyHeadings( ::sal_Bool _autoformatasyoutypeapplyheadings ) throw (uno::RuntimeException)
106 +void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeApplyHeadings( ::sal_Bool /*_autoformatasyoutypeapplyheadings*/ ) throw (uno::RuntimeException)
108 // not support in Writer
110 @@ -201,7 +201,7 @@
111 return sal_False;
114 -void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeApplyBulletedLists( ::sal_Bool _autoformatasyoutypeapplybulletedlists ) throw (uno::RuntimeException)
115 +void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeApplyBulletedLists( ::sal_Bool /*_autoformatasyoutypeapplybulletedlists*/ ) throw (uno::RuntimeException)
117 // not support in Writer
119 @@ -211,7 +211,7 @@
120 return sal_False;
123 -void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeApplyNumberedLists( ::sal_Bool _autoformatasyoutypeapplynumberedlists ) throw (uno::RuntimeException)
124 +void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeApplyNumberedLists( ::sal_Bool /*_autoformatasyoutypeapplynumberedlists*/ ) throw (uno::RuntimeException)
126 // not support in Writer
128 @@ -221,7 +221,7 @@
129 return sal_False;
132 -void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeFormatListItemBeginning( ::sal_Bool _autoformatasyoutypeformatlistitembeginning ) throw (uno::RuntimeException)
133 +void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeFormatListItemBeginning( ::sal_Bool /*_autoformatasyoutypeformatlistitembeginning*/ ) throw (uno::RuntimeException)
135 // not support in Writer
137 @@ -231,7 +231,7 @@
138 return sal_False;
141 -void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeDefineStyles( ::sal_Bool _autoformatasyoutypedefinestyles ) throw (uno::RuntimeException)
142 +void SAL_CALL SwVbaOptions::setAutoFormatAsYouTypeDefineStyles( ::sal_Bool /*_autoformatasyoutypedefinestyles*/ ) throw (uno::RuntimeException)
144 // not support in Writer
146 @@ -241,7 +241,7 @@
147 return sal_False;
150 -void SAL_CALL SwVbaOptions::setAutoFormatApplyHeadings( ::sal_Bool _autoformatapplyheadings ) throw (uno::RuntimeException)
151 +void SAL_CALL SwVbaOptions::setAutoFormatApplyHeadings( ::sal_Bool /*_autoformatapplyheadings*/ ) throw (uno::RuntimeException)
153 // not support in Writer
155 @@ -251,7 +251,7 @@
156 return sal_False;
159 -void SAL_CALL SwVbaOptions::setAutoFormatApplyLists( ::sal_Bool _autoformatapplylists ) throw (uno::RuntimeException)
160 +void SAL_CALL SwVbaOptions::setAutoFormatApplyLists( ::sal_Bool /*_autoformatapplylists*/ ) throw (uno::RuntimeException)
162 // not support in Writer
164 @@ -261,7 +261,7 @@
165 return sal_False;
168 -void SAL_CALL SwVbaOptions::setAutoFormatApplyBulletedLists( ::sal_Bool _autoformatapplybulletedlists ) throw (uno::RuntimeException)
169 +void SAL_CALL SwVbaOptions::setAutoFormatApplyBulletedLists( ::sal_Bool /*_autoformatapplybulletedlists*/ ) throw (uno::RuntimeException)
171 // not support in Writer
173 Index: sw/source/ui/vba/vbatables.cxx
174 ===================================================================
175 --- sw/source/ui/vba/vbatables.cxx (revision 276294)
176 +++ sw/source/ui/vba/vbatables.cxx (working copy)
177 @@ -58,7 +58,7 @@
180 uno::Reference< word::XTable > SAL_CALL
181 -SwVbaTables::Add( const uno::Reference< word::XRange >& Range, const uno::Any& NumRows, const uno::Any& NumColumns, const uno::Any& DefaultTableBehavior, const uno::Any& AutoFitBehavior ) throw (script::BasicErrorException, uno::RuntimeException)
182 +SwVbaTables::Add( const uno::Reference< word::XRange >& Range, const uno::Any& NumRows, const uno::Any& NumColumns, const uno::Any& /*DefaultTableBehavior*/, const uno::Any& /*AutoFitBehavior*/ ) throw (script::BasicErrorException, uno::RuntimeException)
184 sal_Int32 nCols = 0;
185 sal_Int32 nRows = 0;
186 Index: sw/source/ui/vba/vbapagesetup.cxx
187 ===================================================================
188 --- sw/source/ui/vba/vbapagesetup.cxx (revision 276294)
189 +++ sw/source/ui/vba/vbapagesetup.cxx (working copy)
190 @@ -249,7 +249,7 @@
191 return wdSectionStart;
194 -void SAL_CALL SwVbaPageSetup::setSectionStart( ::sal_Int32 _sectionstart ) throw (uno::RuntimeException)
195 +void SAL_CALL SwVbaPageSetup::setSectionStart( ::sal_Int32 /*_sectionstart*/ ) throw (uno::RuntimeException)
197 // fail to find corresponding feature in Writer
198 // #FIXME:
199 Index: sw/source/ui/vba/vbaborders.cxx
200 ===================================================================
201 --- sw/source/ui/vba/vbaborders.cxx (revision 276294)
202 +++ sw/source/ui/vba/vbaborders.cxx (working copy)
203 @@ -356,7 +356,7 @@
204 return ( aShadowFormat.Location != table::ShadowLocation_NONE );
207 -void SAL_CALL SwVbaBorders::setShadow( sal_Bool _shadow ) throw (uno::RuntimeException)
208 +void SAL_CALL SwVbaBorders::setShadow( sal_Bool /*_shadow*/ ) throw (uno::RuntimeException)
210 throw uno::RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Not implemented") ), uno::Reference< uno::XInterface >() );
212 Index: sw/source/ui/vba/vbaheaderfooter.cxx
213 ===================================================================
214 --- sw/source/ui/vba/vbaheaderfooter.cxx (revision 276294)
215 +++ sw/source/ui/vba/vbaheaderfooter.cxx (working copy)
216 @@ -55,7 +55,7 @@
217 return sal_False;
220 -void SAL_CALL SwVbaHeaderFooter::setLinkToPrevious( ::sal_Bool _linktoprevious ) throw (uno::RuntimeException)
221 +void SAL_CALL SwVbaHeaderFooter::setLinkToPrevious( ::sal_Bool /*_linktoprevious*/ ) throw (uno::RuntimeException)
223 // not support in Writer
225 @@ -71,7 +71,7 @@
227 sPropsNameText = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("FooterText") );
229 - if( mnIndex = word::WdHeaderFooterIndex::wdHeaderFooterEvenPages )
230 + if( mnIndex == word::WdHeaderFooterIndex::wdHeaderFooterEvenPages )
232 sPropsNameText.concat( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Left") ) );
234 Index: sw/source/ui/vba/vbastyles.cxx
235 ===================================================================
236 --- sw/source/ui/vba/vbastyles.cxx (revision 276294)
237 +++ sw/source/ui/vba/vbastyles.cxx (working copy)
238 @@ -315,7 +315,7 @@
239 sal_Int32 nIndex = 0;
240 if( ( Index1 >>= nIndex ) && ( nIndex < 0 ) )
242 - for( const BuiltinStyleTable* pTable = aBuiltinStyleTable; pTable->wdBuiltinStyle != NULL; pTable++ )
243 + for( const BuiltinStyleTable* pTable = aBuiltinStyleTable; pTable != NULL; pTable++ )
245 if( nIndex == pTable->wdBuiltinStyle )
247 Index: sw/source/ui/vba/vbadocuments.cxx
248 ===================================================================
249 --- sw/source/ui/vba/vbadocuments.cxx (revision 276294)
250 +++ sw/source/ui/vba/vbadocuments.cxx (working copy)
251 @@ -116,7 +116,7 @@
254 uno::Any SAL_CALL
255 -SwVbaDocuments::Add( const uno::Any& Template, const uno::Any& NewTemplate, const uno::Any& DocumentType, const uno::Any& Visible ) throw (uno::RuntimeException)
256 +SwVbaDocuments::Add( const uno::Any& Template, const uno::Any& /*NewTemplate*/, const uno::Any& /*DocumentType*/, const uno::Any& /*Visible*/ ) throw (uno::RuntimeException)
258 rtl::OUString sFileName;
259 if( Template.hasValue() && ( Template >>= sFileName ) )
260 @@ -132,14 +132,14 @@
262 // #TODO# #FIXME# can any of the unused params below be used?
263 void SAL_CALL
264 -SwVbaDocuments::Close( const uno::Any& SaveChanges, const uno::Any& OriginalFormat, const uno::Any& RouteDocument ) throw (uno::RuntimeException)
265 +SwVbaDocuments::Close( const uno::Any& /*SaveChanges*/, const uno::Any& /*OriginalFormat*/, const uno::Any& /*RouteDocument*/ ) throw (uno::RuntimeException)
267 VbaDocumentsBase::Close();
270 // #TODO# #FIXME# can any of the unused params below be used?
271 uno::Any SAL_CALL
272 -SwVbaDocuments::Open( const ::rtl::OUString& Filename, const uno::Any& ConfirmConversions, const uno::Any& ReadOnly, const uno::Any& AddToRecentFiles, const uno::Any& PasswordDocument, const uno::Any& PasswordTemplate, const uno::Any& Revert, const uno::Any& WritePasswordDocument, const uno::Any& WritePasswordTemplate, const uno::Any& Format, const uno::Any& Encoding, const uno::Any& Visible, const uno::Any& OpenAndRepair, const uno::Any& DocumentDirection, const uno::Any& NoEncodingDialog, const uno::Any& XMLTransform ) throw (uno::RuntimeException)
273 +SwVbaDocuments::Open( const ::rtl::OUString& Filename, const uno::Any& /*ConfirmConversions*/, const uno::Any& ReadOnly, const uno::Any& /*AddToRecentFiles*/, const uno::Any& /*PasswordDocument*/, const uno::Any& /*PasswordTemplate*/, const uno::Any& /*Revert*/, const uno::Any& /*WritePasswordDocument*/, const uno::Any& /*WritePasswordTemplate*/, const uno::Any& /*Format*/, const uno::Any& /*Encoding*/, const uno::Any& /*Visible*/, const uno::Any& /*OpenAndRepair*/, const uno::Any& /*DocumentDirection*/, const uno::Any& /*NoEncodingDialog*/, const uno::Any& /*XMLTransform*/ ) throw (uno::RuntimeException)
275 // we need to detect if this is a URL, if not then assume its a file path
276 rtl::OUString aURL;
277 Index: sw/source/ui/vba/vbasection.cxx
278 ===================================================================
279 --- sw/source/ui/vba/vbasection.cxx (revision 276294)
280 +++ sw/source/ui/vba/vbasection.cxx (working copy)
281 @@ -49,7 +49,7 @@
282 return sal_False;
285 -void SAL_CALL SwVbaSection::setProtectedForForms( ::sal_Bool _protectedforforms ) throw (uno::RuntimeException)
286 +void SAL_CALL SwVbaSection::setProtectedForForms( ::sal_Bool /*_protectedforforms*/ ) throw (uno::RuntimeException)
290 Index: sw/source/ui/vba/vbadocument.cxx
291 ===================================================================
292 --- sw/source/ui/vba/vbadocument.cxx (revision 276294)
293 +++ sw/source/ui/vba/vbadocument.cxx (working copy)
294 @@ -238,7 +238,6 @@
295 uno::Any SAL_CALL
296 SwVbaDocument::getAttachedTemplate() throw (uno::RuntimeException)
298 - SwDocShell* pDocShell = word::getDocShell( getModel() );
299 uno::Reference< word::XTemplate > xTemplate;
300 uno::Reference< document::XDocumentInfoSupplier > xDocInfoSupp( getModel(), uno::UNO_QUERY_THROW );
301 uno::Reference< document::XDocumentPropertiesSupplier > xDocPropSupp( xDocInfoSupp->getDocumentInfo(), uno::UNO_QUERY_THROW );
302 @@ -250,7 +249,7 @@
305 void SAL_CALL
306 -SwVbaDocument::setAttachedTemplate( const css::uno::Any& _attachedtemplate ) throw (uno::RuntimeException)
307 +SwVbaDocument::setAttachedTemplate( const css::uno::Any& /*_attachedtemplate*/ ) throw (uno::RuntimeException)
309 throw uno::RuntimeException();
311 Index: sw/source/ui/vba/vbafind.cxx
312 ===================================================================
313 --- sw/source/ui/vba/vbafind.cxx (revision 276294)
314 +++ sw/source/ui/vba/vbafind.cxx (working copy)
315 @@ -84,7 +84,7 @@
316 mbReplace = sal_True;
319 -rtl::OUString SwVbaFind::ReplaceWildcards( const rtl::OUString& rText ) throw ( uno::RuntimeException )
320 +rtl::OUString SwVbaFind::ReplaceWildcards( const rtl::OUString& /*rText*/ ) throw ( uno::RuntimeException )
322 // TODO:
323 return rtl::OUString();
324 @@ -177,7 +177,7 @@
326 break;
328 - defalut:
329 + default:
331 result = sal_False;
333 @@ -393,7 +393,7 @@
335 if( Replace.hasValue() )
337 - sal_Int32 nValue;
338 + sal_Int32 nValue(0);
339 Replace >>= nValue;
340 SetReplace( nValue );
342 Index: sw/source/ui/vba/vbarange.cxx
343 ===================================================================
344 --- sw/source/ui/vba/vbarange.cxx (revision 276294)
345 +++ sw/source/ui/vba/vbarange.cxx (working copy)
346 @@ -56,7 +56,7 @@
347 initialize( rStart, rEnd );
350 -SwVbaRange::SwVbaRange( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< text::XTextDocument >& rTextDocument, const uno::Reference< text::XTextRange >& rStart, const uno::Reference< text::XTextRange >& rEnd, const uno::Reference< text::XText >& rText, sal_Bool _bMaySpanEndOfDocument ) throw (uno::RuntimeException) : SwVbaRange_BASE( rParent, rContext ),mxTextDocument( rTextDocument ), mbMaySpanEndOfDocument( _bMaySpanEndOfDocument ), mxText( rText )
351 +SwVbaRange::SwVbaRange( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< text::XTextDocument >& rTextDocument, const uno::Reference< text::XTextRange >& rStart, const uno::Reference< text::XTextRange >& rEnd, const uno::Reference< text::XText >& rText, sal_Bool _bMaySpanEndOfDocument ) throw (uno::RuntimeException) : SwVbaRange_BASE( rParent, rContext ),mxTextDocument( rTextDocument ), mxText( rText ), mbMaySpanEndOfDocument( _bMaySpanEndOfDocument )
353 initialize( rStart, rEnd );
355 Index: sw/source/ui/vba/vbaautotextentry.cxx
356 ===================================================================
357 --- sw/source/ui/vba/vbaautotextentry.cxx (revision 276294)
358 +++ sw/source/ui/vba/vbaautotextentry.cxx (working copy)
359 @@ -44,7 +44,7 @@
363 -uno::Reference< word::XRange > SAL_CALL SwVbaAutoTextEntry::Insert( const uno::Reference< word::XRange >& _where, const uno::Any& _richtext ) throw ( uno::RuntimeException )
364 +uno::Reference< word::XRange > SAL_CALL SwVbaAutoTextEntry::Insert( const uno::Reference< word::XRange >& _where, const uno::Any& /*_richtext*/ ) throw ( uno::RuntimeException )
366 SwVbaRange* pWhere = dynamic_cast<SwVbaRange*>( _where.get() );
367 if( pWhere )
368 Index: sw/source/ui/vba/vbadialog.cxx
369 ===================================================================
370 --- sw/source/ui/vba/vbadialog.cxx (revision 276294)
371 +++ sw/source/ui/vba/vbadialog.cxx (working copy)
372 @@ -51,7 +51,7 @@
373 rtl::OUString
374 SwVbaDialog::mapIndexToName( sal_Int32 nIndex )
376 - for( const WordDialogTable* pTable = aWordDialogTable; pTable->wdDialog != NULL; pTable++ )
377 + for( const WordDialogTable* pTable = aWordDialogTable; pTable != NULL; pTable++ )
379 if( nIndex == pTable->wdDialog )
381 Index: sw/source/ui/vba/vbatemplate.cxx
382 ===================================================================
383 --- sw/source/ui/vba/vbatemplate.cxx (revision 276294)
384 +++ sw/source/ui/vba/vbatemplate.cxx (working copy)
385 @@ -61,7 +61,8 @@
387 // the default template is "Normal.dot" in Word.
388 rtl::OUString sGroup( RTL_CONSTASCII_USTRINGPARAM("Normal") );
389 - if( sal_Int32 nIndex = msName.lastIndexOf( sal_Unicode('.') ) > 0 )
390 + sal_Int32 nIndex = msName.lastIndexOf( sal_Unicode('.') );
391 + if( nIndex > 0 )
393 sGroup = msName.copy( 0, msName.lastIndexOf( sal_Unicode('.') ) );
394 // OSL_TRACE("SwVbaTemplate::AutoTextEntries: %s", rtl::OUStringToOString( sGroup, RTL_TEXTENCODING_UTF8 ).getStr() );
395 Index: sw/source/ui/vba/vbaparagraphformat.cxx
396 ===================================================================
397 --- sw/source/ui/vba/vbaparagraphformat.cxx (revision 276294)
398 +++ sw/source/ui/vba/vbaparagraphformat.cxx (working copy)
399 @@ -203,7 +203,7 @@
400 return nLevel;
403 -void SAL_CALL SwVbaParagraphFormat::setOutlineLevel( sal_Int32 _outlinelevel ) throw (uno::RuntimeException)
404 +void SAL_CALL SwVbaParagraphFormat::setOutlineLevel( sal_Int32 /*_outlinelevel*/ ) throw (uno::RuntimeException)
406 throw uno::RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Not implemented") ), uno::Reference< uno::XInterface >() );
408 @@ -247,7 +247,7 @@
410 float SAL_CALL SwVbaParagraphFormat::getSpaceBefore() throw (uno::RuntimeException)
412 - sal_Int32 nSpace;
413 + sal_Int32 nSpace = 0;
414 mxParaProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("ParaTopMargin") ) ) >>= nSpace;
415 return (float)( Millimeter::getInPoints( nSpace ) );
417 @@ -302,7 +302,7 @@
418 throw uno::RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Not implemented") ), uno::Reference< uno::XInterface >() );
421 -void SAL_CALL SwVbaParagraphFormat::setTabStops( const uno::Any& _tabstops ) throw (uno::RuntimeException)
422 +void SAL_CALL SwVbaParagraphFormat::setTabStops( const uno::Any& /*_tabstops*/ ) throw (uno::RuntimeException)
424 throw uno::RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Not implemented") ), uno::Reference< uno::XInterface >() );
426 @@ -484,7 +484,7 @@
428 sal_Int16 SwVbaParagraphFormat::getCharHeight() throw (uno::RuntimeException)
430 - float fCharHeight;
431 + float fCharHeight = 0.0;
432 mxParaProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("CharHeight") ) ) >>= fCharHeight;
433 return (sal_Int16)( Millimeter::getInHundredthsOfOneMillimeter( fCharHeight ) );
435 Index: vbahelper/source/vbahelper/vbahelper.cxx
436 ===================================================================
437 --- vbahelper/source/vbahelper/vbahelper.cxx (revision 276294)
438 +++ vbahelper/source/vbahelper/vbahelper.cxx (working copy)
439 @@ -856,7 +856,7 @@
440 return (fPixels/fConvertFactor)/POINTTO100THMILLIMETERFACTOR;
443 -ConcreteXShapeGeometryAttributes::ConcreteXShapeGeometryAttributes( const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::drawing::XShape >& xShape )
444 +ConcreteXShapeGeometryAttributes::ConcreteXShapeGeometryAttributes( const css::uno::Reference< css::uno::XComponentContext >& /*xContext*/, const css::uno::Reference< css::drawing::XShape >& xShape )
446 m_pShapeHelper.reset( new ShapeHelper( xShape ) );
448 @@ -901,7 +901,6 @@
450 else
452 - const uno::Reference< frame::XModel > xModel( xModel2, uno::UNO_QUERY );
453 if ( xModel.is() )
455 const uno::Reference< frame::XController > xController( xModel->getCurrentController(), uno::UNO_SET_THROW );
456 Index: vbahelper/source/vbahelper/vbashapes.cxx
457 ===================================================================
458 --- vbahelper/source/vbahelper/vbashapes.cxx (revision 276294)
459 +++ vbahelper/source/vbahelper/vbashapes.cxx (working copy)
460 @@ -373,7 +373,7 @@
463 uno::Any
464 -ScVbaShapes::AddTextboxInWriter( sal_Int32 _nOrientation, sal_Int32 _nLeft, sal_Int32 _nTop, sal_Int32 _nWidth, sal_Int32 _nHeight ) throw (uno::RuntimeException)
465 +ScVbaShapes::AddTextboxInWriter( sal_Int32 /*_nOrientation*/, sal_Int32 _nLeft, sal_Int32 _nTop, sal_Int32 _nWidth, sal_Int32 _nHeight ) throw (uno::RuntimeException)
467 rtl::OUString sCreateShapeName( rtl::OUString::createFromAscii( "com.sun.star.drawing.TextShape" ) );
468 sal_Int32 nXPos = Millimeter::getInHundredthsOfOneMillimeter( _nLeft );
469 Index: vbahelper/source/vbahelper/vbafontbase.cxx
470 ===================================================================
471 --- vbahelper/source/vbahelper/vbafontbase.cxx (revision 276294)
472 +++ vbahelper/source/vbahelper/vbafontbase.cxx (working copy)
473 @@ -246,7 +246,7 @@
476 void SAL_CALL
477 -VbaFontBase::setUnderline( const uno::Any& aValue ) throw ( uno::RuntimeException )
478 +VbaFontBase::setUnderline( const uno::Any& /*aValue*/ ) throw ( uno::RuntimeException )
481 // default