[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Wed May 6 00:36:25 PDT 2015


 sw/source/uibase/dbui/dbmgr.cxx |   14 --------------
 1 file changed, 14 deletions(-)

New commits:
commit 9f68d0a24bd0b85e325b3983a19331550bbdc1b1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 6 07:57:05 2015 +0100

    drop useless temp debugging strings
    
    Change-Id: I3dbcc792278814df6c23d0f593bd6d86b5d4907e

diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index d315405..0574eb4 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -1452,20 +1452,6 @@ bool SwDBManager::MergeMailFiles(SwWrtShell* pSourceShell,
                 else if( pTargetView ) // must be available!
                 {
                     //print the target document
-        #if OSL_DEBUG_LEVEL > 1
-                    bool  _bVal;
-                    sal_Int16 _nVal;
-                    OUString  _sVal;
-                    const beans::PropertyValue* pDbgPrintOptions = rMergeDescriptor.aPrintOptions.getConstArray();
-                    for( sal_Int32 nOption = 0; nOption < rMergeDescriptor.aPrintOptions.getLength(); ++nOption)
-                    {
-                        OUString aName( pDbgPrintOptions[nOption].Name );
-                        uno::Any aVal( pDbgPrintOptions[nOption].Value );
-                        aVal >>= _bVal;
-                        aVal >>= _nVal;
-                        aVal >>= _sVal;
-                    }
-        #endif
                     // printing should be done synchronously otherwise the document
                     // might already become invalid during the process
                     uno::Sequence< beans::PropertyValue > aOptions( rMergeDescriptor.aPrintOptions );


More information about the Libreoffice-commits mailing list