summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-14 08:52:05 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-14 08:52:05 +0000
commit5f6f241c00f3628c89b7088880749874553380db (patch)
tree4c919b70518359b93367ac1b45328e4c9636db0e /sc
parent566f6b5696f74e21b74e3c99e45520d5e838eab1 (diff)
INTEGRATION: CWS koheiformula01 (1.22.12); FILE MERGED
2008/04/23 15:10:31 kohei 1.22.12.2: RESYNC: (1.22-1.23); FILE MERGED 2008/03/20 23:19:42 kohei 1.22.12.1: Use the current address convention everywhere instead of always using the OOo convention.
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/validat.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx
index 2eefb6f52646..6e10d39e13a5 100644
--- a/sc/source/core/data/validat.cxx
+++ b/sc/source/core/data/validat.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: validat.cxx,v $
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
* This file is part of OpenOffice.org.
*
@@ -288,7 +288,7 @@ BOOL ScValidationData::DoScript( const ScAddress& rPos, const String& rInput,
// 2) Position der Zelle
String aPosStr;
- rPos.Format( aPosStr, SCA_VALID | SCA_TAB_3D, pDocument );
+ rPos.Format( aPosStr, SCA_VALID | SCA_TAB_3D, pDocument, pDocument->GetAddressConvention() );
aParams[1] = ::com::sun::star::uno::makeAny( ::rtl::OUString( aPosStr ) );
// use link-update flag to prevent closing the document
@@ -422,7 +422,7 @@ BOOL ScValidationData::DoMacro( const ScAddress& rPos, const String& rInput,
// 2) Position der Zelle
String aPosStr;
- rPos.Format( aPosStr, SCA_VALID | SCA_TAB_3D, pDocument );
+ rPos.Format( aPosStr, SCA_VALID | SCA_TAB_3D, pDocument, pDocument->GetAddressConvention() );
refPar->Get(2)->PutString( aPosStr );
// use link-update flag to prevent closing the document