summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/scendlg.cxx
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2001-01-31 18:37:51 +0000
committerEike Rathke <er@openoffice.org>2001-01-31 18:37:51 +0000
commit57c0c8eb70d4f250cbb27d63cdfef10c9736a0a4 (patch)
tree8fb0d22d8a2804de2730308af66923140b3eae1b /sc/source/ui/dbgui/scendlg.cxx
parent99d0e5ff0ca4cddccfc83091205c3889521293e9 (diff)
LocaleDataWrapper getDate, getTime, getNum instead of International
Diffstat (limited to 'sc/source/ui/dbgui/scendlg.cxx')
-rw-r--r--sc/source/ui/dbgui/scendlg.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/sc/source/ui/dbgui/scendlg.cxx b/sc/source/ui/dbgui/scendlg.cxx
index a984af88c66c..0eae47bd5d8d 100644
--- a/sc/source/ui/dbgui/scendlg.cxx
+++ b/sc/source/ui/dbgui/scendlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: scendlg.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: nn $ $Date: 2000-11-09 11:52:36 $
+ * last change: $Author: er $ $Date: 2001-01-31 19:32:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -72,6 +72,10 @@
#include <svtools/useroptions.hxx>
#include <vcl/msgbox.hxx>
+#ifndef _UNOTOOLS_LOCALEDATAWRAPPER_HXX
+#include <unotools/localedatawrapper.hxx>
+#endif
+
#include "global.hxx"
#include "globstr.hrc"
#include "tabvwsh.hxx"
@@ -139,9 +143,9 @@ ScNewScenarioDlg::ScNewScenarioDlg( Window* pParent, const String& rName, BOOL b
aComment.AppendAscii(RTL_CONSTASCII_STRINGPARAM( ", " ));
aComment += String( ScResId( STR_ON ) );
aComment += ' ';
- aComment += ScGlobal::pScInternational->GetDate( Date() );
+ aComment += ScGlobal::pLocaleData->getDate( Date() );
aComment.AppendAscii(RTL_CONSTASCII_STRINGPARAM( ", " ));
- aComment += ScGlobal::pScInternational->GetTime( Time() );
+ aComment += ScGlobal::pLocaleData->getTime( Time() );
aEdComment .SetText( aComment );
aEdName .SetText( rName );