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
03ef7e11
Kaydet (Commit)
03ef7e11
authored
Ara 22, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unusedfields in fpicker
Change-Id: Ia5d9211a668c25c9891ed69902fe1a4fbb2d8483
üst
278f58c6
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
26 deletions
+15
-26
OfficeFilePicker.cxx
fpicker/source/office/OfficeFilePicker.cxx
+7
-11
OfficeFilePicker.hxx
fpicker/source/office/OfficeFilePicker.hxx
+2
-2
OfficeFolderPicker.cxx
fpicker/source/office/OfficeFolderPicker.cxx
+3
-5
OfficeFolderPicker.hxx
fpicker/source/office/OfficeFolderPicker.hxx
+1
-1
commonpicker.cxx
fpicker/source/office/commonpicker.cxx
+1
-2
commonpicker.hxx
fpicker/source/office/commonpicker.hxx
+1
-3
iodlg.hxx
fpicker/source/office/iodlg.hxx
+0
-2
No files found.
fpicker/source/office/OfficeFilePicker.cxx
Dosyayı görüntüle @
03ef7e11
...
...
@@ -415,9 +415,8 @@ void SvtFilePicker::ensureFilterList( const OUString& _rInitialCurrentFilter )
// class SvtFilePicker
SvtFilePicker
::
SvtFilePicker
(
const
Reference
<
XMultiServiceFactory
>&
xFactory
)
:
OCommonPicker
(
xFactory
)
,
m_pFilterList
(
nullptr
)
SvtFilePicker
::
SvtFilePicker
()
:
m_pFilterList
(
nullptr
)
,
m_pElemList
(
nullptr
)
,
m_bMultiSelection
(
false
)
,
m_nServiceType
(
TemplateDescription
::
FILEOPEN_SIMPLE
)
...
...
@@ -1147,16 +1146,14 @@ OUString SvtFilePicker::impl_getStaticImplementationName()
/* Helper for registry */
Reference
<
XInterface
>
SAL_CALL
SvtFilePicker
::
impl_createInstance
(
const
Reference
<
XComponentContext
>&
rxContext
)
throw
(
Exception
)
const
Reference
<
XComponentContext
>&
)
throw
(
Exception
)
{
Reference
<
XMultiServiceFactory
>
xServiceManager
(
rxContext
->
getServiceManager
(),
UNO_QUERY_THROW
);
return
Reference
<
XInterface
>
(
*
new
SvtFilePicker
(
xServiceManager
)
);
return
Reference
<
XInterface
>
(
*
new
SvtFilePicker
);
}
// SvtRemoteFilePicker
SvtRemoteFilePicker
::
SvtRemoteFilePicker
(
const
Reference
<
XMultiServiceFactory
>&
xFactory
)
:
SvtFilePicker
(
xFactory
)
SvtRemoteFilePicker
::
SvtRemoteFilePicker
()
{
}
...
...
@@ -1214,10 +1211,9 @@ OUString SvtRemoteFilePicker::impl_getStaticImplementationName()
/* Helper for registry */
Reference
<
XInterface
>
SAL_CALL
SvtRemoteFilePicker
::
impl_createInstance
(
const
Reference
<
XComponentContext
>&
rxContext
)
throw
(
Exception
)
const
Reference
<
XComponentContext
>&
)
throw
(
Exception
)
{
Reference
<
XMultiServiceFactory
>
xServiceManager
(
rxContext
->
getServiceManager
(),
UNO_QUERY_THROW
);
return
Reference
<
XInterface
>
(
*
new
SvtRemoteFilePicker
(
xServiceManager
)
);
return
Reference
<
XInterface
>
(
*
new
SvtRemoteFilePicker
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
fpicker/source/office/OfficeFilePicker.hxx
Dosyayı görüntüle @
03ef7e11
...
...
@@ -82,7 +82,7 @@ protected:
m_xDlgClosedListener
;
public
:
SvtFilePicker
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
xFactory
);
SvtFilePicker
();
virtual
~
SvtFilePicker
();
...
...
@@ -231,7 +231,7 @@ protected:
class
SvtRemoteFilePicker
:
public
SvtFilePicker
{
public
:
SvtRemoteFilePicker
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
xFactory
);
SvtRemoteFilePicker
();
virtual
VclPtr
<
SvtFileDialog_Base
>
implCreateDialog
(
vcl
::
Window
*
_pParent
)
override
;
...
...
fpicker/source/office/OfficeFolderPicker.cxx
Dosyayı görüntüle @
03ef7e11
...
...
@@ -36,8 +36,7 @@ using namespace ::com::sun::star::lang;
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
beans
;
SvtFolderPicker
::
SvtFolderPicker
(
const
Reference
<
XMultiServiceFactory
>&
_rxFactory
)
:
SvtFolderPicker_Base
(
_rxFactory
)
SvtFolderPicker
::
SvtFolderPicker
()
{
}
...
...
@@ -184,11 +183,10 @@ OUString SvtFolderPicker::impl_getStaticImplementationName()
}
/* Helper for registry */
Reference
<
XInterface
>
SAL_CALL
SvtFolderPicker
::
impl_createInstance
(
const
Reference
<
XComponentContext
>&
rxContext
)
Reference
<
XInterface
>
SAL_CALL
SvtFolderPicker
::
impl_createInstance
(
const
Reference
<
XComponentContext
>&
)
throw
(
Exception
)
{
Reference
<
XMultiServiceFactory
>
xServiceManager
(
rxContext
->
getServiceManager
(),
UNO_QUERY_THROW
);
return
Reference
<
XInterface
>
(
*
new
SvtFolderPicker
(
xServiceManager
)
);
return
Reference
<
XInterface
>
(
*
new
SvtFolderPicker
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
fpicker/source/office/OfficeFolderPicker.hxx
Dosyayı görüntüle @
03ef7e11
...
...
@@ -49,7 +49,7 @@ private:
DECL_LINK_TYPED
(
DialogClosedHdl
,
Dialog
&
,
void
);
public
:
SvtFolderPicker
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
xFactory
);
SvtFolderPicker
();
virtual
~
SvtFolderPicker
();
...
...
fpicker/source/office/commonpicker.cxx
Dosyayı görüntüle @
03ef7e11
...
...
@@ -46,10 +46,9 @@ namespace svt
using
namespace
::
comphelper
;
OCommonPicker
::
OCommonPicker
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
_rxFactory
)
OCommonPicker
::
OCommonPicker
()
:
OCommonPicker_Base
(
m_aMutex
)
,
OPropertyContainer
(
GetBroadcastHelper
()
)
,
m_xORB
(
_rxFactory
)
,
m_pDlg
(
nullptr
)
,
m_nCancelEvent
(
nullptr
)
,
m_bExecuting
(
false
)
...
...
fpicker/source/office/commonpicker.hxx
Dosyayı görüntüle @
03ef7e11
...
...
@@ -58,8 +58,6 @@ namespace svt
,
public
::
comphelper
::
OPropertyArrayUsageHelper
<
OCommonPicker
>
{
private
:
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
m_xORB
;
// <properties>
OUString
m_sHelpURL
;
css
::
uno
::
Reference
<
css
::
awt
::
XWindow
>
m_xWindow
;
...
...
@@ -85,7 +83,7 @@ namespace svt
inline
::
cppu
::
OBroadcastHelper
&
GetBroadcastHelper
()
{
return
OCommonPicker_Base
::
rBHelper
;
}
public
:
OCommonPicker
(
const
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>&
_rxFactory
);
OCommonPicker
();
protected
:
virtual
~
OCommonPicker
();
...
...
fpicker/source/office/iodlg.hxx
Dosyayı görüntüle @
03ef7e11
...
...
@@ -78,8 +78,6 @@ private:
::
utl
::
OConfigurationNode
m_aConfiguration
;
::
rtl
::
Reference
<
::
svt
::
AsyncPickerAction
>
m_pCurrentAsyncAction
;
css
::
uno
::
Reference
<
css
::
ui
::
dialogs
::
XDialogClosedListener
>
m_xListener
;
bool
m_bInExecuteAsync
;
bool
m_bHasFilename
;
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
...
...
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