summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-06-16 13:39:12 +0000
committerRüdiger Timm <rt@openoffice.org>2008-06-16 13:39:12 +0000
commit720b19305d578d99e4f8a9bcc8f23a452658ea93 (patch)
tree621834e0ec1f4074b5e2045f99a731be29cef060 /sc/source/ui/navipi
parentda4a04c29760d5c28f37f94a427f1229a3e363cc (diff)
INTEGRATION: CWS hr51 (1.22.40); FILE MERGED
2008/06/06 15:04:17 hr 1.22.40.1: #i88947#: std namespace
Diffstat (limited to 'sc/source/ui/navipi')
-rw-r--r--sc/source/ui/navipi/navipi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 95cd7ae265d0..fea9b767d841 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: navipi.cxx,v $
- * $Revision: 1.22 $
+ * $Revision: 1.23 $
*
* This file is part of OpenOffice.org.
*
@@ -75,7 +75,7 @@
// maximum values for UI
#define SCNAV_MAXCOL (MAXCOLCOUNT)
// macro is sufficient since only used in ctor
-#define SCNAV_COLDIGITS (static_cast<xub_StrLen>( floor( log10( static_cast<double>(SCNAV_MAXCOL)))) + 1) // 1...256...18278
+#define SCNAV_COLDIGITS (static_cast<xub_StrLen>( std::floor( std::log10( static_cast<double>(SCNAV_MAXCOL)))) + 1) // 1...256...18278
// precomputed constant because it is used in every change of spin button field
static const xub_StrLen SCNAV_COLLETTERS = ::ColToAlpha(SCNAV_MAXCOL).Len(); // A...IV...ZZZ