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
01fc6487
Kaydet (Commit)
01fc6487
authored
Kas 16, 2015
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Bin some const char arrays used only once
Change-Id: I08c4cc689016708f4c219f36492bf827111bbc30
üst
311b5b69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
oo3extensionmigration.cxx
desktop/source/migration/services/oo3extensionmigration.cxx
+2
-10
No files found.
desktop/source/migration/services/oo3extensionmigration.cxx
Dosyayı görüntüle @
01fc6487
...
@@ -50,12 +50,6 @@ using namespace ::com::sun::star::uno;
...
@@ -50,12 +50,6 @@ using namespace ::com::sun::star::uno;
namespace
migration
namespace
migration
{
{
static
const
char
sExtensionSubDir
[]
=
"/user/uno_packages/"
;
static
const
char
sSubDirName
[]
=
"cache"
;
static
const
char
sDescriptionXmlFile
[]
=
"/description.xml"
;
static
const
char
sExtensionRootSubDirName
[]
=
"/uno_packages"
;
// component operations
// component operations
...
@@ -168,7 +162,7 @@ OO3ExtensionMigration::ScanResult OO3ExtensionMigration::scanExtensionFolder( co
...
@@ -168,7 +162,7 @@ OO3ExtensionMigration::ScanResult OO3ExtensionMigration::scanExtensionFolder( co
else
else
{
{
aDirEntryURL
=
fs
.
getFileURL
();
aDirEntryURL
=
fs
.
getFileURL
();
if
(
aDirEntryURL
.
indexOf
(
sDescriptionXmlFile
)
>
0
)
if
(
aDirEntryURL
.
indexOf
(
"/description.xml"
)
>
0
)
aResult
=
scanDescriptionXml
(
aDirEntryURL
)
?
SCANRESULT_MIGRATE_EXTENSION
:
SCANRESULT_DONTMIGRATE_EXTENSION
;
aResult
=
scanDescriptionXml
(
aDirEntryURL
)
?
SCANRESULT_MIGRATE_EXTENSION
:
SCANRESULT_DONTMIGRATE_EXTENSION
;
}
}
}
}
...
@@ -369,9 +363,7 @@ Any OO3ExtensionMigration::execute( const Sequence< beans::NamedValue >& )
...
@@ -369,9 +363,7 @@ Any OO3ExtensionMigration::execute( const Sequence< beans::NamedValue >& )
{
{
// copy all extensions
// copy all extensions
OUString
sSourceDir
(
m_sSourceDir
);
OUString
sSourceDir
(
m_sSourceDir
);
sSourceDir
+=
sExtensionSubDir
;
sSourceDir
+=
"/user/uno_packages/cache/uno_packages"
;
sSourceDir
+=
sSubDirName
;
sSourceDir
+=
sExtensionRootSubDirName
;
TStringVector
aExtensionToMigrate
;
TStringVector
aExtensionToMigrate
;
scanUserExtensions
(
sSourceDir
,
aExtensionToMigrate
);
scanUserExtensions
(
sSourceDir
,
aExtensionToMigrate
);
if
(
aExtensionToMigrate
.
size
()
>
0
)
if
(
aExtensionToMigrate
.
size
()
>
0
)
...
...
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