diff options
-rw-r--r-- | svx/source/dialog/imapdlg.cxx | 3 | ||||
-rw-r--r-- | svx/source/gallery2/galbrws2.cxx | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx index e64dd30470d9..4c9325902254 100644 --- a/svx/source/dialog/imapdlg.cxx +++ b/svx/source/dialog/imapdlg.cxx @@ -588,7 +588,6 @@ void SvxIMapDlg::SetActiveTool( sal_uInt16 nId ) IMPL_LINK( SvxIMapDlg, InfoHdl, IMapWindow&, rWnd, void ) { - OUString aStr; const NotifyInfo& rInfo = rWnd.GetInfo(); if ( rInfo.bNewObj ) @@ -611,7 +610,7 @@ IMPL_LINK( SvxIMapDlg, InfoHdl, IMapWindow&, rWnd, void ) m_pTbxIMapDlg1->EnableItem( mnActiveId, false ); m_pTbxIMapDlg1->EnableItem( mnMacroId, false ); m_pTbxIMapDlg1->EnableItem( mnPropertyId, false ); - m_pStbStatus->SetItemText( 1, aStr ); + m_pStbStatus->SetItemText( 1, OUString() ); m_pFtURL->Disable(); m_pURLBox->Disable(); diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index a2afa9b0383a..cff892c4f875 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -1031,7 +1031,7 @@ void GalleryBrowser2::DispatchAdd( return; sal_Int8 nType = 0; - OUString aFileURL, aFilterName; + OUString aFilterName; css::uno::Reference< css::lang::XComponent > xDrawing; css::uno::Reference< css::graphic::XGraphic > xGraphic; @@ -1067,7 +1067,7 @@ void GalleryBrowser2::DispatchAdd( aSeq[0].Name = SVXGALLERYITEM_TYPE; aSeq[0].Value <<= nType; aSeq[1].Name = SVXGALLERYITEM_URL; - aSeq[1].Value <<= aFileURL; + aSeq[1].Value <<= OUString(); aSeq[2].Name = SVXGALLERYITEM_FILTER; aSeq[2].Value <<= aFilterName; aSeq[3].Name = SVXGALLERYITEM_DRAWING; |