summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/graphiccollector.cxx1
-rw-r--r--sdext/source/pdfimport/wrapper/wrapper.cxx1
-rw-r--r--sdext/source/presenter/PresenterController.cxx5
-rw-r--r--sdext/source/presenter/PresenterWindowManager.cxx11
4 files changed, 3 insertions, 15 deletions
diff --git a/sdext/source/minimizer/graphiccollector.cxx b/sdext/source/minimizer/graphiccollector.cxx
index c5f59d6b4fec..f9024b460aa5 100644
--- a/sdext/source/minimizer/graphiccollector.cxx
+++ b/sdext/source/minimizer/graphiccollector.cxx
@@ -356,7 +356,6 @@ void ImpCountGraphicObjects( const Reference< XComponentContext >& rxMSF, const
}
// now check for a fillstyle
- Reference< XPropertySet > xEmptyPagePropSet;
Reference< XPropertySet > xShapePropertySet( xShape, UNO_QUERY_THROW );
FillStyle eFillStyle;
if ( xShapePropertySet->getPropertyValue( "FillStyle" ) >>= eFillStyle )
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx
index cdbcd2ddb6eb..337dac042c5c 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -822,7 +822,6 @@ void Parser::parseLine( const OString& rLine )
OSL_PRECOND( m_xContext.is(), "Invalid service factory" );
m_nNextToken = 0; m_nCharIndex = 0; m_aLine = rLine;
- uno::Reference<rendering::XPolyPolygon2D> xPoly;
const OString& rCmd = readNextToken();
const hash_entry* pEntry = PdfKeywordHash::in_word_set( rCmd.getStr(),
rCmd.getLength() );
diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx
index 1d0705eeb094..5be87954b681 100644
--- a/sdext/source/presenter/PresenterController.cxx
+++ b/sdext/source/presenter/PresenterController.cxx
@@ -1193,11 +1193,10 @@ void PresenterController::UpdatePendingSlideNumber (const sal_Int32 nPendingSlid
const OUString sText (OUString::number(mnPendingSlideNumber));
rendering::StringContext aContext (sText, 0, sText.getLength());
- Reference<rendering::XTextLayout> xLayout (
- pFont->mxFont->createTextLayout(
+ pFont->mxFont->createTextLayout(
aContext,
rendering::TextDirection::WEAK_LEFT_TO_RIGHT,
- 0));
+ 0);
}
void PresenterController::SwitchMonitors()
diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx
index 749e8a58d08a..4052ec9f98a9 100644
--- a/sdext/source/presenter/PresenterWindowManager.cxx
+++ b/sdext/source/presenter/PresenterWindowManager.cxx
@@ -276,12 +276,7 @@ void SAL_CALL PresenterWindowManager::windowPaint (const awt::PaintEvent& rEvent
if (mbIsLayoutPending)
Layout();
PaintBackground(rEvent.UpdateRect);
- if ( ! PaintChildren(rEvent))
- {
- Reference<rendering::XSpriteCanvas> xSpriteCanvas (mxParentCanvas, UNO_QUERY);
- // if (xSpriteCanvas.is())
- // xSpriteCanvas->updateScreen(sal_False);
- }
+ PaintChildren(rEvent);
}
catch (RuntimeException&)
{
@@ -338,10 +333,6 @@ void SAL_CALL PresenterWindowManager::disposing (const lang::EventObject& rEvent
{
if (rEvent.Source == mxParentWindow)
mxParentWindow = nullptr;
- else
- {
- Reference<awt::XWindow> xWindow (rEvent.Source, UNO_QUERY);
- }
}