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
b149b043
Kaydet (Commit)
b149b043
authored
Ock 20, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ucbhelper::GetLocalFileURL does not use its arg.
üst
6cd581f2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
13 deletions
+5
-13
ucbdemo.cxx
ucb/workben/ucb/ucbdemo.cxx
+1
-1
fileidentifierconverter.hxx
ucbhelper/inc/ucbhelper/fileidentifierconverter.hxx
+1
-7
fileidentifierconverter.cxx
ucbhelper/source/client/fileidentifierconverter.cxx
+1
-3
localfilehelper.cxx
unotools/source/ucbhelper/localfilehelper.cxx
+2
-2
No files found.
ucb/workben/ucb/ucbdemo.cxx
Dosyayı görüntüle @
b149b043
...
...
@@ -2346,7 +2346,7 @@ IMPL_LINK( MyWin, ToolBarHandler, ToolBox*, pToolBox )
DBG_ASSERT
(
xManager
.
is
(),
"MyWin::ToolBarHandler(): Service lacks interface"
);
rtl
::
OUString
aURL
(
getLocalFileURL
(
xManager
));
rtl
::
OUString
aURL
(
getLocalFileURL
());
String
aText
(
RTL_CONSTASCII_USTRINGPARAM
(
"Local file URL: "
));
aText
+=
String
(
aURL
);
...
...
ucbhelper/inc/ucbhelper/fileidentifierconverter.hxx
Dosyayı görüntüle @
b149b043
...
...
@@ -48,17 +48,11 @@ namespace ucbhelper {
The result can be used as the rBaseURL parameter of
ucb::getFileURLFromSystemPath().
@param rManager
A content provider manager. Must not be null.
@returns
either a 'root' URL for the most 'local' file content provider, or an
empty string, if no such URL can meaningfully be constructed.
*/
UCBHELPER_DLLPUBLIC
rtl
::
OUString
getLocalFileURL
(
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
ucb
::
XContentProviderManager
>
const
&
rManager
)
UCBHELPER_DLLPUBLIC
rtl
::
OUString
getLocalFileURL
()
SAL_THROW
((
com
::
sun
::
star
::
uno
::
RuntimeException
));
//============================================================================
...
...
ucbhelper/source/client/fileidentifierconverter.cxx
Dosyayı görüntüle @
b149b043
...
...
@@ -47,9 +47,7 @@ namespace ucbhelper {
//============================================================================
rtl
::
OUString
getLocalFileURL
(
uno
::
Reference
<
ucb
::
XContentProviderManager
>
const
&
)
SAL_THROW
((
uno
::
RuntimeException
))
getLocalFileURL
()
SAL_THROW
((
uno
::
RuntimeException
))
{
// If there were more file systems than just "file:///" (e.g., the obsolete
// "vnd.sun.star.wfs:///"), this code should query all relevant UCPs for
...
...
unotools/source/ucbhelper/localfilehelper.cxx
Dosyayı görüntüle @
b149b043
...
...
@@ -117,7 +117,7 @@ bool LocalFileHelper::ConvertPhysicalNameToURL(const rtl::OUString& rName, rtl::
try
{
rtl
::
OUString
aBase
(
::
ucbhelper
::
getLocalFileURL
(
xManager
)
);
rtl
::
OUString
aBase
(
::
ucbhelper
::
getLocalFileURL
()
);
rReturn
=
::
ucbhelper
::
getFileURLFromSystemPath
(
xManager
,
aBase
,
rName
);
}
catch
(
const
::
com
::
sun
::
star
::
uno
::
RuntimeException
&
)
...
...
@@ -145,7 +145,7 @@ bool LocalFileHelper::ConvertURLToPhysicalName(const rtl::OUString& rName, rtl::
try
{
INetURLObject
aObj
(
rName
);
INetURLObject
aLocal
(
::
ucbhelper
::
getLocalFileURL
(
xManager
)
);
INetURLObject
aLocal
(
::
ucbhelper
::
getLocalFileURL
()
);
if
(
aObj
.
GetProtocol
()
==
aLocal
.
GetProtocol
()
)
rReturn
=
::
ucbhelper
::
getSystemPathFromFileURL
(
xManager
,
rName
);
}
...
...
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