sdext: fix loplugin warnings
Change-Id: I4bca280b352f1df40fe75658e418f2e0cb2430e8
This commit is contained in:
@@ -158,7 +158,6 @@ void OptimizerDialog::InsertRoadmapItem( const sal_Int32 nIndex, const sal_Bool
|
|||||||
void OptimizerDialog::UpdateConfiguration()
|
void OptimizerDialog::UpdateConfiguration()
|
||||||
{
|
{
|
||||||
sal_Int16 nInt16 = 0;
|
sal_Int16 nInt16 = 0;
|
||||||
OUString aString;
|
|
||||||
Any aAny;
|
Any aAny;
|
||||||
|
|
||||||
Sequence< sal_Int16 > aSelectedItems;
|
Sequence< sal_Int16 > aSelectedItems;
|
||||||
|
@@ -147,7 +147,7 @@ void SAL_CALL PPPOptimizerDialog::dispatch( const URL& rURL,
|
|||||||
sBuf.append( rtl::OUString("KB to ") );
|
sBuf.append( rtl::OUString("KB to ") );
|
||||||
sBuf.append( rtl::OUString::valueOf( nFileSizeDest >> 10 ) );
|
sBuf.append( rtl::OUString::valueOf( nFileSizeDest >> 10 ) );
|
||||||
sBuf.append( rtl::OUString("KB.") );
|
sBuf.append( rtl::OUString("KB.") );
|
||||||
OUString sResult( sBuf.makeStringAndClear() );
|
sBuf.makeStringAndClear();
|
||||||
// mpOptimizerDialog->showMessageBox( sResult, sResult, sal_False );
|
// mpOptimizerDialog->showMessageBox( sResult, sResult, sal_False );
|
||||||
}
|
}
|
||||||
delete mpOptimizerDialog, mpOptimizerDialog = NULL;
|
delete mpOptimizerDialog, mpOptimizerDialog = NULL;
|
||||||
|
@@ -1014,7 +1014,6 @@ void DrawXmlFinalizer::visit( PageElement& elem, const std::list< Element* >::co
|
|||||||
// get styles for paragraphs
|
// get styles for paragraphs
|
||||||
PropertyMap aPageProps;
|
PropertyMap aPageProps;
|
||||||
PropertyMap aPageLayoutProps;
|
PropertyMap aPageLayoutProps;
|
||||||
rtl::OUStringBuffer aBuf( 64 );
|
|
||||||
aPageLayoutProps[ "fo:margin-top" ] = unitMMString( top_margin );
|
aPageLayoutProps[ "fo:margin-top" ] = unitMMString( top_margin );
|
||||||
aPageLayoutProps[ "fo:margin-bottom" ] = unitMMString( bottom_margin );
|
aPageLayoutProps[ "fo:margin-bottom" ] = unitMMString( bottom_margin );
|
||||||
aPageLayoutProps[ "fo:margin-left" ] = unitMMString( left_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 );
|
elem.StyleId = m_rStyleContainer.impl_getStyleId( aMPStyle,false );
|
||||||
|
|
||||||
|
|
||||||
rtl::OUString aMasterPageName = m_rStyleContainer.getStyleName( elem.StyleId );
|
|
||||||
|
|
||||||
// create styles for children
|
// create styles for children
|
||||||
elem.applyToChildren(*this);
|
elem.applyToChildren(*this);
|
||||||
}
|
}
|
||||||
|
@@ -466,8 +466,6 @@ GraphicsContext& PDFIProcessor::getTransformGlyphContext( CharGlyph& rGlyph )
|
|||||||
geometry::RealRectangle2D rRect = rGlyph.getRect();
|
geometry::RealRectangle2D rRect = rGlyph.getRect();
|
||||||
geometry::Matrix2D rFontMatrix = rGlyph.getFontMatrix();
|
geometry::Matrix2D rFontMatrix = rGlyph.getFontMatrix();
|
||||||
|
|
||||||
rtl::OUString tempStr( 32 );
|
|
||||||
|
|
||||||
basegfx::B2DHomMatrix aFontMatrix;
|
basegfx::B2DHomMatrix aFontMatrix;
|
||||||
basegfx::unotools::homMatrixFromMatrix(
|
basegfx::unotools::homMatrixFromMatrix(
|
||||||
aFontMatrix,
|
aFontMatrix,
|
||||||
|
@@ -1145,7 +1145,6 @@ void WriterXmlFinalizer::visit( PageElement& elem, const std::list< Element* >::
|
|||||||
// get styles for paragraphs
|
// get styles for paragraphs
|
||||||
PropertyMap aPageProps;
|
PropertyMap aPageProps;
|
||||||
PropertyMap aPageLayoutProps;
|
PropertyMap aPageLayoutProps;
|
||||||
rtl::OUStringBuffer aBuf( 64 );
|
|
||||||
aPageLayoutProps[ "fo:page-width" ] = unitMMString( page_width );
|
aPageLayoutProps[ "fo:page-width" ] = unitMMString( page_width );
|
||||||
aPageLayoutProps[ "fo:page-height" ] = unitMMString( page_height );
|
aPageLayoutProps[ "fo:page-height" ] = unitMMString( page_height );
|
||||||
aPageLayoutProps[ "style:print-orientation" ]
|
aPageLayoutProps[ "style:print-orientation" ]
|
||||||
|
Reference in New Issue
Block a user