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
145da8da
Kaydet (Commit)
145da8da
authored
Şub 26, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror=shadow
Change-Id: I0966b87cdc04f6f7cc7d9b4bed3a8046df3547e6
üst
a1345cdb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
KDE4FilePicker.cxx
vcl/unx/kde4/KDE4FilePicker.cxx
+17
-17
No files found.
vcl/unx/kde4/KDE4FilePicker.cxx
Dosyayı görüntüle @
145da8da
...
@@ -272,7 +272,7 @@ void SAL_CALL KDE4FilePicker::setMultiSelectionMode( sal_Bool multiSelect )
...
@@ -272,7 +272,7 @@ void SAL_CALL KDE4FilePicker::setMultiSelectionMode( sal_Bool multiSelect )
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
setMultiSelectionModeSignal
(
multiSelect
);
return
Q_EMIT
setMultiSelectionModeSignal
(
multiSelect
);
}
}
...
@@ -296,7 +296,7 @@ void SAL_CALL KDE4FilePicker::setDefaultName( const OUString &name )
...
@@ -296,7 +296,7 @@ void SAL_CALL KDE4FilePicker::setDefaultName( const OUString &name )
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
setDefaultNameSignal
(
name
);
return
Q_EMIT
setDefaultNameSignal
(
name
);
}
}
...
@@ -308,7 +308,7 @@ void SAL_CALL KDE4FilePicker::setDisplayDirectory( const OUString &dir )
...
@@ -308,7 +308,7 @@ void SAL_CALL KDE4FilePicker::setDisplayDirectory( const OUString &dir )
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
setDisplayDirectorySignal
(
dir
);
return
Q_EMIT
setDisplayDirectorySignal
(
dir
);
}
}
...
@@ -320,7 +320,7 @@ OUString SAL_CALL KDE4FilePicker::getDisplayDirectory()
...
@@ -320,7 +320,7 @@ OUString SAL_CALL KDE4FilePicker::getDisplayDirectory()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
getDisplayDirectorySignal
();
return
Q_EMIT
getDisplayDirectorySignal
();
}
}
...
@@ -332,7 +332,7 @@ uno::Sequence< OUString > SAL_CALL KDE4FilePicker::getFiles()
...
@@ -332,7 +332,7 @@ uno::Sequence< OUString > SAL_CALL KDE4FilePicker::getFiles()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
getFilesSignal
();
return
Q_EMIT
getFilesSignal
();
}
}
uno
::
Sequence
<
OUString
>
seq
=
getSelectedFiles
();
uno
::
Sequence
<
OUString
>
seq
=
getSelectedFiles
();
...
@@ -345,7 +345,7 @@ uno::Sequence< OUString > SAL_CALL KDE4FilePicker::getSelectedFiles()
...
@@ -345,7 +345,7 @@ uno::Sequence< OUString > SAL_CALL KDE4FilePicker::getSelectedFiles()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
getSelectedFilesSignal
();
return
Q_EMIT
getSelectedFilesSignal
();
}
}
KUrl
::
List
urls
=
_dialog
->
selectedUrls
();
KUrl
::
List
urls
=
_dialog
->
selectedUrls
();
...
@@ -360,7 +360,7 @@ void SAL_CALL KDE4FilePicker::appendFilter( const OUString &title, const OUStrin
...
@@ -360,7 +360,7 @@ void SAL_CALL KDE4FilePicker::appendFilter( const OUString &title, const OUStrin
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
appendFilterSignal
(
title
,
filter
);
return
Q_EMIT
appendFilterSignal
(
title
,
filter
);
}
}
...
@@ -387,7 +387,7 @@ void SAL_CALL KDE4FilePicker::setCurrentFilter( const OUString &title )
...
@@ -387,7 +387,7 @@ void SAL_CALL KDE4FilePicker::setCurrentFilter( const OUString &title )
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
setCurrentFilterSignal
(
title
);
return
Q_EMIT
setCurrentFilterSignal
(
title
);
}
}
...
@@ -398,7 +398,7 @@ OUString SAL_CALL KDE4FilePicker::getCurrentFilter()
...
@@ -398,7 +398,7 @@ OUString SAL_CALL KDE4FilePicker::getCurrentFilter()
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
getCurrentFilterSignal
();
return
Q_EMIT
getCurrentFilterSignal
();
}
}
...
@@ -419,7 +419,7 @@ void SAL_CALL KDE4FilePicker::appendFilterGroup( const OUString& rGroupTitle, co
...
@@ -419,7 +419,7 @@ void SAL_CALL KDE4FilePicker::appendFilterGroup( const OUString& rGroupTitle, co
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
appendFilterGroupSignal
(
rGroupTitle
,
filters
);
return
Q_EMIT
appendFilterGroupSignal
(
rGroupTitle
,
filters
);
}
}
...
@@ -435,7 +435,7 @@ void SAL_CALL KDE4FilePicker::setValue( sal_Int16 controlId, sal_Int16 nControlA
...
@@ -435,7 +435,7 @@ void SAL_CALL KDE4FilePicker::setValue( sal_Int16 controlId, sal_Int16 nControlA
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
setValueSignal
(
controlId
,
nControlAction
,
value
);
return
Q_EMIT
setValueSignal
(
controlId
,
nControlAction
,
value
);
}
}
...
@@ -460,7 +460,7 @@ uno::Any SAL_CALL KDE4FilePicker::getValue( sal_Int16 controlId, sal_Int16 nCont
...
@@ -460,7 +460,7 @@ uno::Any SAL_CALL KDE4FilePicker::getValue( sal_Int16 controlId, sal_Int16 nCont
return
uno
::
Any
(
false
);
return
uno
::
Any
(
false
);
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
getValueSignal
(
controlId
,
nControlAction
);
return
Q_EMIT
getValueSignal
(
controlId
,
nControlAction
);
}
}
...
@@ -480,7 +480,7 @@ void SAL_CALL KDE4FilePicker::enableControl( sal_Int16 controlId, sal_Bool enabl
...
@@ -480,7 +480,7 @@ void SAL_CALL KDE4FilePicker::enableControl( sal_Int16 controlId, sal_Bool enabl
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
enableControlSignal
(
controlId
,
enable
);
return
Q_EMIT
enableControlSignal
(
controlId
,
enable
);
}
}
...
@@ -494,7 +494,7 @@ void SAL_CALL KDE4FilePicker::setLabel( sal_Int16 controlId, const OUString &lab
...
@@ -494,7 +494,7 @@ void SAL_CALL KDE4FilePicker::setLabel( sal_Int16 controlId, const OUString &lab
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
setLabelSignal
(
controlId
,
label
);
return
Q_EMIT
setLabelSignal
(
controlId
,
label
);
}
}
...
@@ -511,7 +511,7 @@ OUString SAL_CALL KDE4FilePicker::getLabel(sal_Int16 controlId)
...
@@ -511,7 +511,7 @@ OUString SAL_CALL KDE4FilePicker::getLabel(sal_Int16 controlId)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
getLabelSignal
(
controlId
);
return
Q_EMIT
getLabelSignal
(
controlId
);
}
}
...
@@ -633,7 +633,7 @@ void SAL_CALL KDE4FilePicker::initialize( const uno::Sequence<uno::Any> &args )
...
@@ -633,7 +633,7 @@ void SAL_CALL KDE4FilePicker::initialize( const uno::Sequence<uno::Any> &args )
throw
(
uno
::
Exception
,
uno
::
RuntimeException
,
std
::
exception
)
throw
(
uno
::
Exception
,
uno
::
RuntimeException
,
std
::
exception
)
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
initializeSignal
(
args
);
return
Q_EMIT
initializeSignal
(
args
);
}
}
...
@@ -789,7 +789,7 @@ uno::Sequence< OUString > SAL_CALL KDE4FilePicker::getSupportedServiceNames()
...
@@ -789,7 +789,7 @@ uno::Sequence< OUString > SAL_CALL KDE4FilePicker::getSupportedServiceNames()
void
KDE4FilePicker
::
checkProtocol
()
void
KDE4FilePicker
::
checkProtocol
()
{
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
if
(
qApp
->
thread
()
!=
QThread
::
currentThread
()
)
{
SalYieldMutexReleaser
rel
ease
;
SalYieldMutexReleaser
rel
;
return
Q_EMIT
checkProtocolSignal
();
return
Q_EMIT
checkProtocolSignal
();
}
}
...
...
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