[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Fri Jan 6 21:14:17 PST 2012


 sc/source/core/data/document.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 34b8ee9b1cc7657fbdcad36cd29971038d2c6e6c
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Sat Jan 7 00:14:35 2012 -0500

    Removing debug statements.

diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 15d5295..61fdbe5 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -100,9 +100,6 @@
 #include <map>
 #include <limits>
 
-#include <rtl/oustringostreaminserter.hxx>
-#include <iostream>
-
 using ::editeng::SvxBorderLine;
 using namespace ::com::sun::star;
 
@@ -1729,11 +1726,7 @@ void ScDocument::InitUndo( ScDocument* pSrcDoc, SCTAB nTab1, SCTAB nTab2,
 
         xPoolHelper = pSrcDoc->xPoolHelper;
         if (pSrcDoc->pShell->GetMedium())
-        {
             maFileURL = pSrcDoc->pShell->GetMedium()->GetURLObject().GetMainURL(INetURLObject::DECODE_TO_IURI);
-            std::cout << "SfxMedium: " << maFileURL << std::endl;
-            std::cout << "GetName: " << rtl::OUString(pSrcDoc->pShell->GetName()) << std::endl;
-        }
 
         rtl::OUString aString;
         if ( nTab2 >= static_cast<SCTAB>(maTabs.size()))


More information about the Libreoffice-commits mailing list