[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Apr 26 11:28:17 PDT 2011
sc/source/core/data/dpoutput.cxx | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
New commits:
commit e048d227202330cc5a0d32e3efed1230b6e08429
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Tue Apr 26 14:25:24 2011 -0400
Fixed doubly nested anonymous namespaces.
diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx
index a40e417..21b40d4 100644
--- a/sc/source/core/data/dpoutput.cxx
+++ b/sc/source/core/data/dpoutput.cxx
@@ -97,6 +97,9 @@ using ::rtl::OUString;
namespace {
+bool lcl_compareColfuc ( SCCOL i, SCCOL j) { return (i<j); }
+bool lcl_compareRowfuc ( SCROW i, SCROW j) { return (i<j); }
+
class ScDPOutputImpl
{
ScDocument* mpDoc;
@@ -135,14 +138,6 @@ public:
};
-
-namespace
-{
- bool lcl_compareColfuc ( SCCOL i, SCCOL j) { return (i<j); }
- bool lcl_compareRowfuc ( SCROW i, SCROW j) { return (i<j); }
-}
-
-
void ScDPOutputImpl::OutputDataArea()
{
AddRow( mnDataStartRow );
More information about the Libreoffice-commits
mailing list