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
336d9a01
Kaydet (Commit)
336d9a01
authored
Agu 26, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up emptyString
Change-Id: I5350322e5c957127fe125e633b31b2492410995e
üst
9c8fd7d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
testwriter.cxx
sax/test/sax/testwriter.cxx
+3
-4
vbahelper.cxx
vbahelper/source/vbahelper/vbahelper.cxx
+1
-2
No files found.
sax/test/sax/testwriter.cxx
Dosyayı görüntüle @
336d9a01
...
@@ -657,7 +657,6 @@ void OSaxWriterTest::testPerformance(const Reference< XExtendedDocumentHandler
...
@@ -657,7 +657,6 @@ void OSaxWriterTest::testPerformance(const Reference< XExtendedDocumentHandler
// for performance testing
// for performance testing
sal_Int32
i2
;
sal_Int32
i2
;
OUString
huhu
(
"huhu"
);
OUString
huhu
(
"huhu"
);
OUString
emptyString
;
const
int
ITERATIONS
=
125
;
const
int
ITERATIONS
=
125
;
for
(
i2
=
0
;
i2
<
ITERATIONS
;
i2
++
)
for
(
i2
=
0
;
i2
<
ITERATIONS
;
i2
++
)
{
{
...
@@ -665,17 +664,17 @@ void OSaxWriterTest::testPerformance(const Reference< XExtendedDocumentHandler
...
@@ -665,17 +664,17 @@ void OSaxWriterTest::testPerformance(const Reference< XExtendedDocumentHandler
OUString
::
valueOf
(
i2
),
rList
);
OUString
::
valueOf
(
i2
),
rList
);
for
(
sal_Int32
i
=
0
;
i
<
450
;
i
++
)
for
(
sal_Int32
i
=
0
;
i
<
450
;
i
++
)
{
{
r
->
ignorableWhitespace
(
emptyString
);
r
->
ignorableWhitespace
(
""
);
r
->
startElement
(
huhu
,
rList
);
r
->
startElement
(
huhu
,
rList
);
r
->
characters
(
testParagraph
);
r
->
characters
(
testParagraph
);
r
->
ignorableWhitespace
(
emptyString
);
r
->
ignorableWhitespace
(
""
);
r
->
endElement
(
huhu
);
r
->
endElement
(
huhu
);
}
}
}
}
for
(
i2
=
ITERATIONS
-
1
;
i2
>=
0
;
i2
--
)
for
(
i2
=
ITERATIONS
-
1
;
i2
>=
0
;
i2
--
)
{
{
r
->
ignorableWhitespace
(
emptyString
);
r
->
ignorableWhitespace
(
""
);
r
->
endElement
(
OUString
(
"tag"
)
+
OUString
::
valueOf
(
i2
)
);
r
->
endElement
(
OUString
(
"tag"
)
+
OUString
::
valueOf
(
i2
)
);
}
}
...
...
vbahelper/source/vbahelper/vbahelper.cxx
Dosyayı görüntüle @
336d9a01
...
@@ -140,7 +140,6 @@ dispatchRequests (const uno::Reference< frame::XModel>& xModel, const OUString &
...
@@ -140,7 +140,6 @@ dispatchRequests (const uno::Reference< frame::XModel>& xModel, const OUString &
{
{
util
::
URL
url
;
util
::
URL
url
;
url
.
Complete
=
aUrl
;
url
.
Complete
=
aUrl
;
OUString
emptyString
(
""
);
uno
::
Reference
<
frame
::
XController
>
xController
=
xModel
->
getCurrentController
();
uno
::
Reference
<
frame
::
XController
>
xController
=
xModel
->
getCurrentController
();
uno
::
Reference
<
frame
::
XFrame
>
xFrame
=
xController
->
getFrame
();
uno
::
Reference
<
frame
::
XFrame
>
xFrame
=
xController
->
getFrame
();
uno
::
Reference
<
frame
::
XDispatchProvider
>
xDispatchProvider
(
xFrame
,
uno
::
UNO_QUERY_THROW
);
uno
::
Reference
<
frame
::
XDispatchProvider
>
xDispatchProvider
(
xFrame
,
uno
::
UNO_QUERY_THROW
);
...
@@ -156,7 +155,7 @@ dispatchRequests (const uno::Reference< frame::XModel>& xModel, const OUString &
...
@@ -156,7 +155,7 @@ dispatchRequests (const uno::Reference< frame::XModel>& xModel, const OUString &
return
;
return
;
}
}
uno
::
Reference
<
frame
::
XDispatch
>
xDispatcher
=
xDispatchProvider
->
queryDispatch
(
url
,
emptyString
,
0
);
uno
::
Reference
<
frame
::
XDispatch
>
xDispatcher
=
xDispatchProvider
->
queryDispatch
(
url
,
""
,
0
);
uno
::
Sequence
<
beans
::
PropertyValue
>
dispatchProps
(
1
);
uno
::
Sequence
<
beans
::
PropertyValue
>
dispatchProps
(
1
);
...
...
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