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
6ed47b1d
Kaydet (Commit)
6ed47b1d
authored
Kas 20, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unusedfields in desktop
Change-Id: Iab2f05ca2ec2bc313121b4edfb9a0129911c2c91
üst
3aff028b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
42 deletions
+12
-42
dispatchwatcher.cxx
desktop/source/app/dispatchwatcher.cxx
+0
-1
dp_gui_updatedata.hxx
desktop/source/deployment/gui/dp_gui_updatedata.hxx
+1
-2
dp_gui_updatedialog.cxx
desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+11
-17
dp_extensionmanager.hxx
desktop/source/deployment/manager/dp_extensionmanager.hxx
+0
-8
migration_impl.hxx
desktop/source/migration/migration_impl.hxx
+0
-14
No files found.
desktop/source/app/dispatchwatcher.cxx
Dosyayı görüntüle @
6ed47b1d
...
@@ -82,7 +82,6 @@ struct DispatchHolder
...
@@ -82,7 +82,6 @@ struct DispatchHolder
aURL
(
rURL
),
xDispatch
(
rDispatch
)
{}
aURL
(
rURL
),
xDispatch
(
rDispatch
)
{}
URL
aURL
;
URL
aURL
;
OUString
cwdUrl
;
Reference
<
XDispatch
>
xDispatch
;
Reference
<
XDispatch
>
xDispatch
;
};
};
...
...
desktop/source/deployment/gui/dp_gui_updatedata.hxx
Dosyayı görüntüle @
6ed47b1d
...
@@ -36,7 +36,7 @@ namespace dp_gui {
...
@@ -36,7 +36,7 @@ namespace dp_gui {
struct
UpdateData
struct
UpdateData
{
{
explicit
UpdateData
(
css
::
uno
::
Reference
<
css
::
deployment
::
XPackage
>
const
&
aExt
)
:
explicit
UpdateData
(
css
::
uno
::
Reference
<
css
::
deployment
::
XPackage
>
const
&
aExt
)
:
bIsShared
(
false
),
aInstalledPackage
(
aExt
),
aUpdateSource
(
nullptr
),
m_nID
(
0
)
,
m_bIgnored
(
false
)
{};
bIsShared
(
false
),
aInstalledPackage
(
aExt
),
aUpdateSource
(
nullptr
),
m_nID
(
0
)
{};
//When entries added to the listbox then there can be one for the user update and one
//When entries added to the listbox then there can be one for the user update and one
//for the shared update. However, both list entries will contain the same UpdateData.
//for the shared update. However, both list entries will contain the same UpdateData.
...
@@ -72,7 +72,6 @@ struct UpdateData
...
@@ -72,7 +72,6 @@ struct UpdateData
// ID to find this entry in the update listbox
// ID to find this entry in the update listbox
sal_uInt16
m_nID
;
sal_uInt16
m_nID
;
bool
m_bIgnored
;
};
};
}
}
...
...
desktop/source/deployment/gui/dp_gui_updatedialog.cxx
Dosyayı görüntüle @
6ed47b1d
...
@@ -181,23 +181,17 @@ struct UpdateDialog::Index
...
@@ -181,23 +181,17 @@ struct UpdateDialog::Index
{
{
Kind
m_eKind
;
Kind
m_eKind
;
bool
m_bIgnored
;
bool
m_bIgnored
;
sal_uInt16
m_nID
;
sal_uInt16
m_nIndex
;
sal_uInt16
m_nIndex
;
OUString
m_aName
;
OUString
m_aName
;
Index
(
Kind
theKind
,
sal_uInt16
nIndex
,
const
OUString
&
rName
)
:
Index
(
Kind
theKind
,
sal_uInt16
nID
,
sal_uInt16
nIndex
,
const
OUString
&
rName
);
m_eKind
(
theKind
),
m_bIgnored
(
false
),
m_nIndex
(
nIndex
),
m_aName
(
rName
)
{}
};
};
UpdateDialog
::
Index
::
Index
(
Kind
theKind
,
sal_uInt16
nID
,
sal_uInt16
nIndex
,
const
OUString
&
rName
)
:
m_eKind
(
theKind
),
m_bIgnored
(
false
),
m_nID
(
nID
),
m_nIndex
(
nIndex
),
m_aName
(
rName
)
{}
class
UpdateDialog
::
Thread
:
public
salhelper
::
Thread
{
class
UpdateDialog
::
Thread
:
public
salhelper
::
Thread
{
...
@@ -738,7 +732,7 @@ void UpdateDialog::addEnabledUpdate( OUString const & name,
...
@@ -738,7 +732,7 @@ void UpdateDialog::addEnabledUpdate( OUString const & name,
dp_gui
::
UpdateData
&
data
)
dp_gui
::
UpdateData
&
data
)
{
{
sal_uInt16
nIndex
=
sal
::
static_int_cast
<
sal_uInt16
>
(
m_enabledUpdates
.
size
()
);
sal_uInt16
nIndex
=
sal
::
static_int_cast
<
sal_uInt16
>
(
m_enabledUpdates
.
size
()
);
UpdateDialog
::
Index
*
pEntry
=
new
UpdateDialog
::
Index
(
ENABLED_UPDATE
,
m_nLastID
,
nIndex
,
name
);
UpdateDialog
::
Index
*
pEntry
=
new
UpdateDialog
::
Index
(
ENABLED_UPDATE
,
nIndex
,
name
);
data
.
m_nID
=
m_nLastID
;
data
.
m_nID
=
m_nLastID
;
m_nLastID
+=
1
;
m_nLastID
+=
1
;
...
@@ -764,7 +758,7 @@ void UpdateDialog::addEnabledUpdate( OUString const & name,
...
@@ -764,7 +758,7 @@ void UpdateDialog::addEnabledUpdate( OUString const & name,
void
UpdateDialog
::
addDisabledUpdate
(
UpdateDialog
::
DisabledUpdate
&
data
)
void
UpdateDialog
::
addDisabledUpdate
(
UpdateDialog
::
DisabledUpdate
&
data
)
{
{
sal_uInt16
nIndex
=
sal
::
static_int_cast
<
sal_uInt16
>
(
m_disabledUpdates
.
size
()
);
sal_uInt16
nIndex
=
sal
::
static_int_cast
<
sal_uInt16
>
(
m_disabledUpdates
.
size
()
);
UpdateDialog
::
Index
*
pEntry
=
new
UpdateDialog
::
Index
(
DISABLED_UPDATE
,
m_nLastID
,
nIndex
,
data
.
name
);
UpdateDialog
::
Index
*
pEntry
=
new
UpdateDialog
::
Index
(
DISABLED_UPDATE
,
nIndex
,
data
.
name
);
data
.
m_nID
=
m_nLastID
;
data
.
m_nID
=
m_nLastID
;
m_nLastID
+=
1
;
m_nLastID
+=
1
;
...
@@ -780,7 +774,7 @@ void UpdateDialog::addDisabledUpdate( UpdateDialog::DisabledUpdate & data )
...
@@ -780,7 +774,7 @@ void UpdateDialog::addDisabledUpdate( UpdateDialog::DisabledUpdate & data )
void
UpdateDialog
::
addSpecificError
(
UpdateDialog
::
SpecificError
&
data
)
void
UpdateDialog
::
addSpecificError
(
UpdateDialog
::
SpecificError
&
data
)
{
{
sal_uInt16
nIndex
=
sal
::
static_int_cast
<
sal_uInt16
>
(
m_specificErrors
.
size
()
);
sal_uInt16
nIndex
=
sal
::
static_int_cast
<
sal_uInt16
>
(
m_specificErrors
.
size
()
);
UpdateDialog
::
Index
*
pEntry
=
new
UpdateDialog
::
Index
(
SPECIFIC_ERROR
,
m_nLastID
,
nIndex
,
data
.
name
);
UpdateDialog
::
Index
*
pEntry
=
new
UpdateDialog
::
Index
(
SPECIFIC_ERROR
,
nIndex
,
data
.
name
);
data
.
m_nID
=
m_nLastID
;
data
.
m_nID
=
m_nLastID
;
m_nLastID
+=
1
;
m_nLastID
+=
1
;
...
...
desktop/source/deployment/manager/dp_extensionmanager.hxx
Dosyayı görüntüle @
6ed47b1d
...
@@ -202,14 +202,6 @@ private:
...
@@ -202,14 +202,6 @@ private:
struct
StrSyncRepository
:
public
::
dp_misc
::
StaticResourceString
<
struct
StrSyncRepository
:
public
::
dp_misc
::
StaticResourceString
<
StrSyncRepository
,
RID_STR_SYNCHRONIZING_REPOSITORY
>
{};
StrSyncRepository
,
RID_STR_SYNCHRONIZING_REPOSITORY
>
{};
struct
ExtensionInfos
{
OUString
identifier
;
OUString
fileName
;
OUString
displayName
;
OUString
version
;
};
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
css
::
uno
::
Reference
<
css
::
deployment
::
XPackageManagerFactory
>
m_xPackageManagerFactory
;
css
::
uno
::
Reference
<
css
::
deployment
::
XPackageManagerFactory
>
m_xPackageManagerFactory
;
...
...
desktop/source/migration/migration_impl.hxx
Dosyayı görüntüle @
6ed47b1d
...
@@ -137,20 +137,6 @@ struct MigrationItem
...
@@ -137,20 +137,6 @@ struct MigrationItem
typedef
std
::
unordered_map
<
OUString
,
std
::
vector
<
MigrationItem
>
,
typedef
std
::
unordered_map
<
OUString
,
std
::
vector
<
MigrationItem
>
,
OUStringHash
,
std
::
equal_to
<
OUString
>
>
MigrationHashMap
;
OUStringHash
,
std
::
equal_to
<
OUString
>
>
MigrationHashMap
;
struct
MigrationItemInfo
{
OUString
m_sResourceURL
;
MigrationItem
m_aMigrationItem
;
MigrationItemInfo
(){}
MigrationItemInfo
(
const
OUString
&
sResourceURL
,
const
MigrationItem
&
aMigrationItem
)
:
m_sResourceURL
(
sResourceURL
),
m_aMigrationItem
(
aMigrationItem
)
{
}
};
/**
/**
information for the UI elements to be migrated for one module
information for the UI elements to be migrated for one module
*/
*/
...
...
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