Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
700161cc
Kaydet (Commit)
700161cc
authored
Şub 21, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove unused code utl::toISO8601(com::sun::star::util::Time const&)
Change-Id: I8df1934c7392ec38918be2a5b986c6ca871f9d15
üst
c8f83ce1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
29 deletions
+0
-29
datetime.hxx
include/unotools/datetime.hxx
+0
-1
datetime.cxx
unotools/source/misc/datetime.cxx
+0
-27
unusedcode.easy
unusedcode.easy
+0
-1
No files found.
include/unotools/datetime.hxx
Dosyayı görüntüle @
700161cc
...
...
@@ -45,7 +45,6 @@ namespace utl
UNOTOOLS_DLLPUBLIC
void
typeConvert
(
const
starutil
::
DateTime
&
_rDateTime
,
DateTime
&
_rOut
);
UNOTOOLS_DLLPUBLIC
::
rtl
::
OUString
toISO8601
(
const
starutil
::
DateTime
&
_rDateTime
);
UNOTOOLS_DLLPUBLIC
::
rtl
::
OUString
toISO8601
(
const
starutil
::
Time
&
_rTime
);
UNOTOOLS_DLLPUBLIC
bool
ISO8601parseDateTime
(
const
::
rtl
::
OUString
&
i_rIn
,
starutil
::
DateTime
&
o_rDateTime
);
UNOTOOLS_DLLPUBLIC
bool
ISO8601parseDate
(
const
::
rtl
::
OUString
&
i_rIn
,
starutil
::
Date
&
o_rDate
);
UNOTOOLS_DLLPUBLIC
bool
ISO8601parseTime
(
const
::
rtl
::
OUString
&
i_rIn
,
starutil
::
Time
&
o_Time
);
...
...
unotools/source/misc/datetime.cxx
Dosyayı görüntüle @
700161cc
...
...
@@ -222,33 +222,6 @@ OUString toISO8601(const starutil::DateTime& rDateTime)
return
rBuffer
.
makeStringAndClear
();
}
OUString
toISO8601
(
const
starutil
::
Time
&
rTime
)
{
OUStringBuffer
rBuffer
;
if
(
rTime
.
Hours
<
10
)
rBuffer
.
append
(
'0'
);
rBuffer
.
append
((
sal_Int32
)
rTime
.
Hours
);
rBuffer
.
append
(
':'
);
if
(
rTime
.
Minutes
<
10
)
rBuffer
.
append
(
'0'
);
rBuffer
.
append
((
sal_Int32
)
rTime
.
Minutes
);
rBuffer
.
append
(
':'
);
if
(
rTime
.
Seconds
<
10
)
rBuffer
.
append
(
'0'
);
rBuffer
.
append
((
sal_Int32
)
rTime
.
Seconds
);
if
(
rTime
.
NanoSeconds
>
0
)
{
OSL_ENSURE
(
rTime
.
NanoSeconds
<
1000000000
,
"NanoSeconds cannot be more than 999 999 999"
);
rBuffer
.
append
(
','
);
std
::
ostringstream
ostr
;
ostr
.
fill
(
'0'
);
ostr
.
width
(
9
);
ostr
<<
rTime
.
NanoSeconds
;
rBuffer
.
append
(
OUString
::
createFromAscii
(
ostr
.
str
().
c_str
()));
}
return
rBuffer
.
makeStringAndClear
();
}
/** convert ISO8601 DateTime String to util::DateTime */
bool
ISO8601parseDateTime
(
const
OUString
&
rString
,
starutil
::
DateTime
&
rDateTime
)
{
...
...
unusedcode.easy
Dosyayı görüntüle @
700161cc
...
...
@@ -357,7 +357,6 @@ std::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::
svl::SharedStringPool::SharedStringPool()
svx::frame::Style::Style(editeng::SvxBorderLine const&, double, unsigned short)
utl::MediaDescriptor::PROP_DEEPDETECTION()
utl::toISO8601(com::sun::star::util::Time const&)
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool)
writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, boost::shared_ptr<writerfilter::Reference<writerfilter::BinaryObj> >)
writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, boost::shared_ptr<writerfilter::Reference<writerfilter::Properties> >)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment