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
fb3778b2
Kaydet (Commit)
fb3778b2
authored
Tem 02, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
... fix more -Werror=address (wrong TempFile ctor called)
Change-Id: I19b2195a5e524f8c485f904989f1c604fca9612f
üst
23326c48
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
xmlfiltertestdialog.cxx
filter/source/xsltdialog/xmlfiltertestdialog.cxx
+2
-4
docfile.cxx
sfx2/source/doc/docfile.cxx
+1
-1
addresslistdialog.cxx
sw/source/ui/dbui/addresslistdialog.cxx
+1
-1
mmlayoutpage.cxx
sw/source/ui/dbui/mmlayoutpage.cxx
+3
-3
No files found.
filter/source/xsltdialog/xmlfiltertestdialog.cxx
Dosyayı görüntüle @
fb3778b2
...
...
@@ -429,9 +429,8 @@ void XMLFilterTestDialog::doExport( Reference< XComponent > xComp )
Reference
<
XStorable
>
xStorable
(
xComp
,
UNO_QUERY
);
if
(
xStorable
.
is
()
)
{
String
leadingChars
;
OUString
const
ext
(
RTL_CONSTASCII_USTRINGPARAM
(
".xml"
));
utl
::
TempFile
aTempFile
(
leadingChars
,
&
ext
);
utl
::
TempFile
aTempFile
(
OUString
()
,
&
ext
);
OUString
aTempFileURL
(
aTempFile
.
GetURL
()
);
const
application_info_impl
*
pAppInfo
=
getApplicationInfo
(
m_pFilterInfo
->
maExportService
);
...
...
@@ -593,9 +592,8 @@ void XMLFilterTestDialog::import( const OUString& rURL )
if
(
m_pCBXDisplaySource
->
IsChecked
()
)
{
String
lead
;
OUString
const
ext
(
RTL_CONSTASCII_USTRINGPARAM
(
".xml"
));
TempFile
aTempFile
(
lead
,
&
ext
);
TempFile
aTempFile
(
OUString
()
,
&
ext
);
OUString
aTempFileURL
(
aTempFile
.
GetURL
()
);
Reference
<
XImportFilter
>
xImporter
(
mxContext
->
getServiceManager
()
->
createInstanceWithContext
(
"com.sun.star.documentconversion.XSLTFilter"
,
mxContext
),
UNO_QUERY
);
...
...
sfx2/source/doc/docfile.cxx
Dosyayı görüntüle @
fb3778b2
...
...
@@ -3642,7 +3642,7 @@ OUString SfxMedium::SwitchDocumentToTempFile()
OUString
const
aExt
=
(
nPrefixLen
==
-
1
)
?
OUString
()
:
aOrigURL
.
copy
(
nPrefixLen
);
OUString
aNewURL
=
::
utl
::
TempFile
(
String
(),
&
aExt
).
GetURL
();
OUString
aNewURL
=
::
utl
::
TempFile
(
OU
String
(),
&
aExt
).
GetURL
();
// TODO/LATER: In future the aLogicName should be set to shared folder URL
// and a temporary file should be created. Transport_Impl should be impossible then.
...
...
sw/source/ui/dbui/addresslistdialog.cxx
Dosyayı görüntüle @
fb3778b2
...
...
@@ -396,7 +396,7 @@ IMPL_LINK(SwAddressListDialog, CreateHdl_Impl, PushButton*, pButton)
uno
::
Reference
<
sdb
::
XDocumentDataSource
>
xDS
(
xNewInstance
,
UNO_QUERY_THROW
);
uno
::
Reference
<
frame
::
XStorable
>
xStore
(
xDS
->
getDatabaseDocument
(),
UNO_QUERY_THROW
);
String
sExt
=
OUString
(
".odb"
);
OUString
const
sExt
(
".odb"
);
String
sTmpName
;
{
OUString
sHomePath
(
SvtPathOptions
().
GetWorkPath
());
...
...
sw/source/ui/dbui/mmlayoutpage.cxx
Dosyayı görüntüle @
fb3778b2
...
...
@@ -110,9 +110,9 @@ SwMailMergeLayoutPage::SwMailMergeLayoutPage( SwMailMergeWizard* _pParent) :
{
//temp file needs it's own block
//creating with extension is not supported by a static method :-(
String
sLeading
;
String
sExt
(
comphelper
::
string
::
stripStart
(
pSfxFlt
->
GetDefaultExtension
(),
'*'
));
utl
::
TempFile
aTempFile
(
sLeading
,
&
sExt
);
OUString
const
sExt
(
comphelper
::
string
::
stripStart
(
pSfxFlt
->
GetDefaultExtension
(),
'*'
));
utl
::
TempFile
aTempFile
(
OUString
()
,
&
sExt
);
m_sExampleURL
=
aTempFile
.
GetURL
();
aTempFile
.
EnableKillingFile
();
}
...
...
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