[Libreoffice-commits] core.git: 2 commits - sal/inc sdext/source
Miklos Vajna
vmiklos at suse.cz
Fri Feb 22 12:44:02 PST 2013
sal/inc/sal/log-areas.dox | 1 +
sdext/source/minimizer/optimizerdialog.cxx | 1 -
sdext/source/minimizer/pppoptimizerdialog.cxx | 2 +-
sdext/source/pdfimport/tree/drawtreevisiting.cxx | 4 ----
sdext/source/pdfimport/tree/pdfiprocessor.cxx | 2 --
sdext/source/pdfimport/tree/writertreevisiting.cxx | 1 -
sdext/source/pdfimport/wrapper/wrapper.cxx | 2 +-
sdext/source/presenter/PresenterSlideShowView.cxx | 2 +-
8 files changed, 4 insertions(+), 11 deletions(-)
New commits:
commit 3eaa536ae457391c3826be50b0361f8d0c13cdd3
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Fri Feb 22 21:42:13 2013 +0100
sdext: fix loplugin warnings
Change-Id: I4bca280b352f1df40fe75658e418f2e0cb2430e8
diff --git a/sdext/source/minimizer/optimizerdialog.cxx b/sdext/source/minimizer/optimizerdialog.cxx
index 711134f..9dcaf29 100644
--- a/sdext/source/minimizer/optimizerdialog.cxx
+++ b/sdext/source/minimizer/optimizerdialog.cxx
@@ -158,7 +158,6 @@ void OptimizerDialog::InsertRoadmapItem( const sal_Int32 nIndex, const sal_Bool
void OptimizerDialog::UpdateConfiguration()
{
sal_Int16 nInt16 = 0;
- OUString aString;
Any aAny;
Sequence< sal_Int16 > aSelectedItems;
diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx
index 79c8745..2f91c57 100644
--- a/sdext/source/minimizer/pppoptimizerdialog.cxx
+++ b/sdext/source/minimizer/pppoptimizerdialog.cxx
@@ -147,7 +147,7 @@ void SAL_CALL PPPOptimizerDialog::dispatch( const URL& rURL,
sBuf.append( rtl::OUString("KB to ") );
sBuf.append( rtl::OUString::valueOf( nFileSizeDest >> 10 ) );
sBuf.append( rtl::OUString("KB.") );
- OUString sResult( sBuf.makeStringAndClear() );
+ sBuf.makeStringAndClear();
// mpOptimizerDialog->showMessageBox( sResult, sResult, sal_False );
}
delete mpOptimizerDialog, mpOptimizerDialog = NULL;
diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index 9a38e3d..7207e43 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -1014,7 +1014,6 @@ void DrawXmlFinalizer::visit( PageElement& elem, const std::list< Element* >::co
// get styles for paragraphs
PropertyMap aPageProps;
PropertyMap aPageLayoutProps;
- rtl::OUStringBuffer aBuf( 64 );
aPageLayoutProps[ "fo:margin-top" ] = unitMMString( top_margin );
aPageLayoutProps[ "fo:margin-bottom" ] = unitMMString( bottom_margin );
aPageLayoutProps[ "fo:margin-left" ] = unitMMString( left_margin );
@@ -1040,9 +1039,6 @@ void DrawXmlFinalizer::visit( PageElement& elem, const std::list< Element* >::co
elem.StyleId = m_rStyleContainer.impl_getStyleId( aMPStyle,false );
-
- rtl::OUString aMasterPageName = m_rStyleContainer.getStyleName( elem.StyleId );
-
// create styles for children
elem.applyToChildren(*this);
}
diff --git a/sdext/source/pdfimport/tree/pdfiprocessor.cxx b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
index a457d47..56e29c0 100644
--- a/sdext/source/pdfimport/tree/pdfiprocessor.cxx
+++ b/sdext/source/pdfimport/tree/pdfiprocessor.cxx
@@ -466,8 +466,6 @@ GraphicsContext& PDFIProcessor::getTransformGlyphContext( CharGlyph& rGlyph )
geometry::RealRectangle2D rRect = rGlyph.getRect();
geometry::Matrix2D rFontMatrix = rGlyph.getFontMatrix();
- rtl::OUString tempStr( 32 );
-
basegfx::B2DHomMatrix aFontMatrix;
basegfx::unotools::homMatrixFromMatrix(
aFontMatrix,
diff --git a/sdext/source/pdfimport/tree/writertreevisiting.cxx b/sdext/source/pdfimport/tree/writertreevisiting.cxx
index 7eaabe8..d907629 100644
--- a/sdext/source/pdfimport/tree/writertreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/writertreevisiting.cxx
@@ -1145,7 +1145,6 @@ void WriterXmlFinalizer::visit( PageElement& elem, const std::list< Element* >::
// get styles for paragraphs
PropertyMap aPageProps;
PropertyMap aPageLayoutProps;
- rtl::OUStringBuffer aBuf( 64 );
aPageLayoutProps[ "fo:page-width" ] = unitMMString( page_width );
aPageLayoutProps[ "fo:page-height" ] = unitMMString( page_height );
aPageLayoutProps[ "style:print-orientation" ]
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index a90ba8d..5485511 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -484,7 +484,7 @@ int Parser::parseFontRemoveSuffix( const sal_Unicode* pCopy, const char* s, sal_
for (int i = 0; i < l; i++)
if ( pCopy[nLen - l + i] != s[i] )
return 0;
- nLen -= l;
+ nLen -= l;
return l;
}
diff --git a/sdext/source/presenter/PresenterSlideShowView.cxx b/sdext/source/presenter/PresenterSlideShowView.cxx
index 0a7920a..e0ddc68 100644
--- a/sdext/source/presenter/PresenterSlideShowView.cxx
+++ b/sdext/source/presenter/PresenterSlideShowView.cxx
@@ -487,7 +487,7 @@ void SAL_CALL PresenterSlideShowView::setMouseCursor(::sal_Int16 nPointerShape)
awt::Rectangle SAL_CALL PresenterSlideShowView::getCanvasArea( ) throw (RuntimeException)
{
if( mxViewWindow.is() && mxTopPane.is() )
- return mxPresenterHelper->getWindowExtentsRelative( mxViewWindow, mxTopPane->getWindow() );
+ return mxPresenterHelper->getWindowExtentsRelative( mxViewWindow, mxTopPane->getWindow() );
awt::Rectangle aRectangle;
commit 6ecec31d334218900c9df3d2b558387a5e5f5cf1
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Fri Feb 22 21:22:04 2013 +0100
sal: document oox.ppt log area
Change-Id: I756cae33f408a1b735358da5a15b0462a19e31d0
diff --git a/sal/inc/sal/log-areas.dox b/sal/inc/sal/log-areas.dox
index 378dcf5c..ef110e8 100644
--- a/sal/inc/sal/log-areas.dox
+++ b/sal/inc/sal/log-areas.dox
@@ -93,6 +93,7 @@ certain functionality.
@li @c filter.xslt - xslt import/export
@li @c oox.xmlstream - XmlStream class
@li @c oox.storage - ZipStorage class
+ at li @c oox.ppt - pptx filter
@section formula
More information about the Libreoffice-commits
mailing list