summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-05-23 01:06:30 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-05-23 01:06:54 +0900
commit5394b379eba8f3522a80ee7e68708f8851a86d7d (patch)
treeae7fdef49795e03fd15f4bba2dd8bad3e022ae77 /sw/source
parent04d600d4be7c50db4b3b505039eb8bc96856f593 (diff)
removed unused temporary rtl::OUString
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/unocore/unoparagraph.cxx1
-rw-r--r--sw/source/core/unocore/unoport.cxx1
-rw-r--r--sw/source/filter/html/htmlbas.cxx2
-rw-r--r--sw/source/filter/xml/xmlimpit.cxx1
-rw-r--r--sw/source/ui/uiview/viewling.cxx1
-rw-r--r--sw/source/ui/vba/vbaselection.cxx1
6 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx
index 69865551ca30..5fa413c4197a 100644
--- a/sw/source/core/unocore/unoparagraph.cxx
+++ b/sw/source/core/unocore/unoparagraph.cxx
@@ -567,7 +567,6 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
const SfxItemPropertyMap &rPropMap =
m_pImpl->m_rPropSet.getPropertyMap();
- OUString sTmp;
SwPosition aPos( rTxtNode );
SwCursor aCursor( aPos, 0, false );
SwParaSelection aParaSel( aCursor );
diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx
index 334dc04f0a7e..b3bd35779a2b 100644
--- a/sw/source/core/unocore/unoport.cxx
+++ b/sw/source/core/unocore/unoport.cxx
@@ -543,7 +543,6 @@ uno::Sequence< beans::SetPropertyTolerantFailed > SAL_CALL SwXTextPortion::setPr
const SfxItemPropertyMap& rPropMap = m_pPropSet->getPropertyMap();
- OUString sTmp;
for (sal_Int32 i = 0; i < nProps; ++i)
{
try
diff --git a/sw/source/filter/html/htmlbas.cxx b/sw/source/filter/html/htmlbas.cxx
index 182d9a25aca2..1ee17bb73717 100644
--- a/sw/source/filter/html/htmlbas.cxx
+++ b/sw/source/filter/html/htmlbas.cxx
@@ -259,8 +259,6 @@ void SwHTMLParser::InsertBasicDocEvent( rtl::OUString aEvent, const String& rNam
if( EXTENDED_STYPE == eScrType )
sScriptType = rScrType;
- rtl::OUString aEventName;
-
SfxEventConfiguration::ConfigureEvent( aEvent, SvxMacro( sEvent, sScriptType, eScrType ),
pDocSh );
}
diff --git a/sw/source/filter/xml/xmlimpit.cxx b/sw/source/filter/xml/xmlimpit.cxx
index 8260ba52ca42..18672182ed51 100644
--- a/sw/source/filter/xml/xmlimpit.cxx
+++ b/sw/source/filter/xml/xmlimpit.cxx
@@ -902,7 +902,6 @@ sal_Bool SvXMLImportItemMapper::PutXMLValue(
sal_Int32 nPos = rValue.indexOf( (sal_Unicode)'*' );
if( -1L != nPos )
{
- OUString sNum( rValue.copy( 0L, nPos ) );
sal_Int32 nValue = rValue.toInt32();
if( nValue < MINLAY )
nValue = MINLAY;
diff --git a/sw/source/ui/uiview/viewling.cxx b/sw/source/ui/uiview/viewling.cxx
index 20250975b713..273c6a06974f 100644
--- a/sw/source/ui/uiview/viewling.cxx
+++ b/sw/source/ui/uiview/viewling.cxx
@@ -734,7 +734,6 @@ sal_Bool SwView::ExecSpellPopup(const Point& rPt)
//! 'custom made' menu... *sigh* (code copied from sfx2 and framework)
if ( pMenu )
{
- OUString aSlotURL( RTL_CONSTASCII_USTRINGPARAM( "slot:" ));
sal_uInt16 nId = ((PopupMenu*)pMenu)->Execute(pEditWin, aPixPos);
OUString aCommand = ((PopupMenu*)pMenu)->GetItemCommand(nId);
if (aCommand.isEmpty() )
diff --git a/sw/source/ui/vba/vbaselection.cxx b/sw/source/ui/vba/vbaselection.cxx
index 13bc019ef7ef..df31e1457eb8 100644
--- a/sw/source/ui/vba/vbaselection.cxx
+++ b/sw/source/ui/vba/vbaselection.cxx
@@ -821,7 +821,6 @@ SwVbaSelection::Tables( const uno::Any& aIndex ) throw (uno::RuntimeException)
if ( pTTCursor )
{
SwFrmFmt* pFmt = pTTCursor->GetFrmFmt();
- rtl::OUString sTableName;
if ( pFmt )
{
uno::Reference< text::XTextTable > xTbl = SwXTextTables::GetObject(*pFmt);