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
765c6d99
Kaydet (Commit)
765c6d99
authored
Şub 13, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make simplified configuration API available down in comphelper
üst
c26d9bef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
28 deletions
+7
-28
build.lst
comphelper/prj/build.lst
+1
-1
mediadescriptor.cxx
comphelper/source/misc/mediadescriptor.cxx
+3
-25
Module_officecfg.mk
officecfg/Module_officecfg.mk
+2
-1
build.lst
officecfg/prj/build.lst
+1
-1
No files found.
comphelper/prj/build.lst
Dosyayı görüntüle @
765c6d99
ph comphelper : cppuhelper ucbhelper offapi salhelper LIBXSLT:libxslt NULL
ph comphelper : cppuhelper ucbhelper offapi
officecfg
salhelper LIBXSLT:libxslt NULL
ch comphelper\prj nmake - all ch_all NULL
ch comphelper\prj nmake - all ch_all NULL
comphelper/source/misc/mediadescriptor.cxx
Dosyayı görüntüle @
765c6d99
...
@@ -47,13 +47,12 @@
...
@@ -47,13 +47,12 @@
#include <com/sun/star/uri/XUriReference.hpp>
#include <com/sun/star/uri/XUriReference.hpp>
#include <com/sun/star/ucb/PostCommandArgument2.hpp>
#include <com/sun/star/ucb/PostCommandArgument2.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <officecfg/Office/Common.hxx>
#include <ucbhelper/interceptedinteraction.hxx>
#include <ucbhelper/interceptedinteraction.hxx>
#include <ucbhelper/content.hxx>
#include <ucbhelper/content.hxx>
#include <ucbhelper/commandenvironment.hxx>
#include <ucbhelper/commandenvironment.hxx>
#include <ucbhelper/activedatasink.hxx>
#include <ucbhelper/activedatasink.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/configurationhelper.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustrbuf.hxx>
...
@@ -445,29 +444,8 @@ sal_Bool MediaDescriptor::addInputStream()
...
@@ -445,29 +444,8 @@ sal_Bool MediaDescriptor::addInputStream()
/*-----------------------------------------------*/
/*-----------------------------------------------*/
sal_Bool
MediaDescriptor
::
addInputStreamOwnLock
()
sal_Bool
MediaDescriptor
::
addInputStreamOwnLock
()
{
{
// Own lock file implementation
return
impl_addInputStream
(
officecfg
::
Office
::
Common
::
Misc
::
UseDocumentSystemFileLocking
::
get
());
sal_Bool
bUseLock
=
sal_True
;
// the system file locking is used per default
try
{
css
::
uno
::
Reference
<
css
::
uno
::
XInterface
>
xCommonConfig
=
::
comphelper
::
ConfigurationHelper
::
openConfig
(
::
comphelper
::
getProcessServiceFactory
(),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"/org.openoffice.Office.Common"
)
),
::
comphelper
::
ConfigurationHelper
::
E_STANDARD
);
if
(
!
xCommonConfig
.
is
()
)
throw
css
::
uno
::
RuntimeException
();
::
comphelper
::
ConfigurationHelper
::
readRelativeKey
(
xCommonConfig
,
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"Misc/"
)
),
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"UseDocumentSystemFileLocking"
)
)
)
>>=
bUseLock
;
}
catch
(
const
css
::
uno
::
Exception
&
)
{
}
return
impl_addInputStream
(
bUseLock
);
}
}
/*-----------------------------------------------*/
/*-----------------------------------------------*/
...
...
officecfg/Module_officecfg.mk
Dosyayı görüntüle @
765c6d99
...
@@ -26,7 +26,8 @@ $(eval $(call gb_Module_add_targets,officecfg,\
...
@@ -26,7 +26,8 @@ $(eval $(call gb_Module_add_targets,officecfg,\
Configuration_officecfg \
Configuration_officecfg \
))
))
$(eval $(call gb_Module_add_check_targets,officecfg,\
# The cppheader test depends on comphelper so can only be a subsequentcheck:
$(eval $(call gb_Module_add_subsequentcheck_targets,officecfg,\
CppunitTest_officecfg_cppheader_test \
CppunitTest_officecfg_cppheader_test \
))
))
...
...
officecfg/prj/build.lst
Dosyayı görüntüle @
765c6d99
oc officecfg : TRANSLATIONS:translations
comphelper
soltools solenv LIBXSLT:libxslt NULL
oc officecfg : TRANSLATIONS:translations soltools solenv LIBXSLT:libxslt NULL
oc officecfg\prj nmake - all oc_prj NULL
oc officecfg\prj nmake - all oc_prj NULL
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