summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmlform.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmlform.cxx')
-rw-r--r--sw/source/filter/html/htmlform.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlform.cxx b/sw/source/filter/html/htmlform.cxx
index 08319ee5a1bc..ee8f0274221b 100644
--- a/sw/source/filter/html/htmlform.cxx
+++ b/sw/source/filter/html/htmlform.cxx
@@ -575,7 +575,6 @@ void SwHTMLImageWatcher::disposing(const lang::EventObject& evt)
uno::Reference< awt::XImageConsumer > xTmp;
// Wenn das Shape verschwindet soll muessen wir es loslassen
- uno::Reference< drawing::XShape > xTmpShape;
if( evt.Source == xShape )
{
clear();
@@ -1849,9 +1848,8 @@ void SwHTMLParser::InsertInput()
if( bSetGrfWidth || bSetGrfHeight )
{
- SwHTMLImageWatcher* pWatcher =
+ rtl::Reference<SwHTMLImageWatcher> pWatcher =
new SwHTMLImageWatcher( xShape, bSetGrfWidth, bSetGrfHeight );
- uno::Reference< awt::XImageConsumer > xCons = pWatcher;
pWatcher->start();
}
}