| commit | bb21fe6d0a59df7f2c639c60e5e2aca0db9111ce | [log] |
|---|---|---|
| author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | Mon Sep 22 08:07:01 2014 +0200 |
| committer | Kohei Yoshida <kohei.yoshida@collabora.com> | Tue Sep 23 19:19:42 2014 -0400 |
| tree | fe51cd03146703797b6f769996c5d90b2ab0e84f | |
| parent | a24dafaaaa5fcb1ffed686f2608e96ae316f72c9 [diff] |
fdo#83848 Add GetAddressConvention to RefButton Reviewed-on: https://gerrit.libreoffice.org/11578 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us> (cherry picked from commit 2c7595a911c3b0102162c2ad9cef4a84538b66f8) Change-Id: I20d633909d3c13bf49998a6cca054ab125b6c991
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx index df23c4b..e858bdf 100644 --- a/sc/source/ui/dbgui/validate.cxx +++ b/sc/source/ui/dbgui/validate.cxx
@@ -47,6 +47,7 @@ #include <sfx2/viewfrm.hxx> #include <sfx2/childwin.hxx> #include "reffact.hxx" #include <document.hxx> /* Position indexes for "Allow" list box. They do not map directly to ScValidationMode and can safely be modified to @@ -105,7 +106,7 @@ void ScTPValidationValue::SetReferenceHdl( const ScRange&rRange , ScDocument* pD if ( m_pRefEdit ) { OUString aStr(rRange.Format(SCR_ABS_3D, pDoc)); OUString aStr(rRange.Format(SCR_ABS_3D, pDoc, pDoc->GetAddressConvention())); m_pRefEdit->SetRefString( aStr ); } }