[Libreoffice-commits] .: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 31 08:55:55 PDT 2012


 cui/source/dialogs/scriptdlg.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 2a088faa707657cbeb21c2c7ed2ac201d1318718
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Oct 31 14:34:45 2012 +0000

    remove stray unused temporary debugging objects
    
    Change-Id: Ibb9bbf018e4e9c1487ccdf6505a2a15d7c24eb24

diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx
index cd85721..b071764 100644
--- a/cui/source/dialogs/scriptdlg.cxx
+++ b/cui/source/dialogs/scriptdlg.cxx
@@ -100,8 +100,6 @@ void SFTreeListBox::delUserData( SvTreeListEntry* pEntry )
 {
     if ( pEntry )
     {
-
-        String text = GetEntryText( pEntry );
         SFEntry* pUserData = (SFEntry*)pEntry->GetUserData();
         if ( pUserData )
         {
@@ -139,7 +137,6 @@ void SFTreeListBox::deleteAllTree()
     {
         while ( pEntry )
         {
-            String text = GetEntryText( pEntry );
             SvTreeListEntry* pNextEntry = NextSibling( pEntry ) ;
             deleteTree( pEntry );
             GetModel()->Remove( pEntry );
@@ -1249,10 +1246,8 @@ void SvxScriptOrgDialog::RestorePreviousSelection()
     {
         String aTmp( aStoredEntry.GetToken( 0, ';', nIndex ) );
         SvTreeListEntry* pTmpEntry = aScriptsBox.FirstChild( pEntry );
-        ::rtl::OUString debugStr(aTmp);
         while ( pTmpEntry )
         {
-            debugStr = ::rtl::OUString(aScriptsBox.GetEntryText( pTmpEntry ));
             if ( aScriptsBox.GetEntryText( pTmpEntry ) == aTmp )
             {
                 pEntry = pTmpEntry;


More information about the Libreoffice-commits mailing list