summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/appl/linkmgr2.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/appl/linkmgr2.cxx b/sfx2/source/appl/linkmgr2.cxx
index f5f65178e1d7..3ee11cc70170 100644
--- a/sfx2/source/appl/linkmgr2.cxx
+++ b/sfx2/source/appl/linkmgr2.cxx
@@ -578,9 +578,6 @@ sal_Bool SvxInternalLink::Connect( sfx2::SvBaseLink* pLink )
MsLangId::convertLanguageToLocale( LANGUAGE_SYSTEM, aLocale );
CharClass aCC( aLocale );
- String sNm( sTopic ), sTmp;
- aCC.toLower( sNm );
-
TypeId aType( TYPE(SfxObjectShell) );
sal_Bool bFirst = sal_True;
@@ -602,6 +599,7 @@ sal_Bool SvxInternalLink::Connect( sfx2::SvBaseLink* pLink )
pShell = SfxObjectShell::GetFirst( &aType, sal_False );
}
+ String sTmp;
while( pShell )
{
if( !sTmp.Len() )