[Libreoffice-commits] .: 2 commits - binfilter/bf_svtools binfilter/bf_xmloff

Caolán McNamara caolan at kemper.freedesktop.org
Wed Jun 1 07:41:47 PDT 2011


 binfilter/bf_svtools/source/numbers/svt_zformat.cxx     |    6 +++---
 binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx |    8 --------
 2 files changed, 3 insertions(+), 11 deletions(-)

New commits:
commit 08cd5a8fc0a7b43a4888a1e5fc9b25249775cb24
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jun 1 12:15:52 2011 +0100

    tweak this a bit

diff --git a/binfilter/bf_svtools/source/numbers/svt_zformat.cxx b/binfilter/bf_svtools/source/numbers/svt_zformat.cxx
index 5518a81..fcba7cb 100644
--- a/binfilter/bf_svtools/source/numbers/svt_zformat.cxx
+++ b/binfilter/bf_svtools/source/numbers/svt_zformat.cxx
@@ -61,9 +61,9 @@ namespace binfilter
 
 namespace {
 struct Gregorian
-    : public rtl::StaticWithInit<const ::rtl::OUString, Gregorian> {
-    const ::rtl::OUString operator () () {
-        return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("gregorian"));
+    : public rtl::StaticWithInit<rtl::OUString, Gregorian> {
+    const rtl::OUString operator () () {
+        return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("gregorian"));
     }
 };
 }
commit 17547f824ba5e9f878bbbab2ee38738c0a40c2b9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri May 27 11:17:29 2011 +0100

    WaE: useless debugging code

diff --git a/binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx b/binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx
index 41c8d9e..9c0136f 100644
--- a/binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx
+++ b/binfilter/bf_xmloff/source/forms/xmloff_layerexport.cxx
@@ -536,14 +536,6 @@ namespace xmloff
                             aPropertyStates.push_back( aNumberStyleState );
                         }
 
-#ifdef DBG_UTIL
-                        ::std::vector< XMLPropertyState >::const_iterator aHaveALook = aPropertyStates.begin();
-                        for ( ; aHaveALook != aPropertyStates.end(); ++aHaveALook )
-                        {
-                            sal_Int32 nDummy = 0;
-                        }
-#endif
-
                         if ( aPropertyStates.size() )
                         {	// add to the style pool
                             ::rtl::OUString sColumnStyleName = m_rContext.GetAutoStylePool()->Add( XML_STYLE_FAMILY_CONTROL_ID, aPropertyStates );


More information about the Libreoffice-commits mailing list