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
d015fe77
Kaydet (Commit)
d015fe77
authored
Tem 25, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Let's not use macro for this.
Change-Id: Ic66bcec853a7da638f3ce871749fbec955ce37c5
üst
dcceacb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
31 deletions
+42
-31
docfile.cxx
sfx2/source/doc/docfile.cxx
+42
-31
No files found.
sfx2/source/doc/docfile.cxx
Dosyayı görüntüle @
d015fe77
...
@@ -348,21 +348,6 @@ SfxMedium_Impl::~SfxMedium_Impl()
...
@@ -348,21 +348,6 @@ SfxMedium_Impl::~SfxMedium_Impl()
delete
pTempFile
;
delete
pTempFile
;
}
}
//================================================================
#define IMPL_CTOR(rootVal,URLVal) \
eError( SVSTREAM_OK ), \
\
bRoot( rootVal ), \
bSetFilter( false ), \
bTriedStorage( false ), \
\
nStorOpenMode( SFX_STREAM_READWRITE ), \
pURLObj( URLVal ), \
pInStream(0), \
pOutStream( 0 )
//------------------------------------------------------------------
void
SfxMedium
::
ResetError
()
void
SfxMedium
::
ResetError
()
{
{
eError
=
SVSTREAM_OK
;
eError
=
SVSTREAM_OK
;
...
@@ -2488,9 +2473,15 @@ void SfxMedium::Init_Impl()
...
@@ -2488,9 +2473,15 @@ void SfxMedium::Init_Impl()
}
}
//------------------------------------------------------------------
//------------------------------------------------------------------
SfxMedium
::
SfxMedium
()
SfxMedium
::
SfxMedium
()
:
:
IMPL_CTOR
(
false
,
0
),
// bRoot, pURLObj
eError
(
SVSTREAM_OK
),
bRoot
(
false
),
bSetFilter
(
false
),
bTriedStorage
(
false
),
nStorOpenMode
(
SFX_STREAM_READWRITE
),
pURLObj
(
0
),
pInStream
(
0
),
pOutStream
(
0
),
pFilter
(
0
),
pFilter
(
0
),
pSet
(
0
),
pSet
(
0
),
pImp
(
new
SfxMedium_Impl
(
this
))
pImp
(
new
SfxMedium_Impl
(
this
))
...
@@ -2832,13 +2823,15 @@ void SfxMedium::CompleteReOpen()
...
@@ -2832,13 +2823,15 @@ void SfxMedium::CompleteReOpen()
pImp
->
bUseInteractionHandler
=
bUseInteractionHandler
;
pImp
->
bUseInteractionHandler
=
bUseInteractionHandler
;
}
}
//------------------------------------------------------------------
SfxMedium
::
SfxMedium
(
const
String
&
rName
,
StreamMode
nOpenMode
,
const
SfxFilter
*
pFlt
,
SfxItemSet
*
pInSet
)
:
SfxMedium
::
SfxMedium
eError
(
SVSTREAM_OK
),
(
bRoot
(
false
),
const
String
&
rName
,
StreamMode
nOpenMode
,
bSetFilter
(
false
),
const
SfxFilter
*
pFlt
,
SfxItemSet
*
pInSet
bTriedStorage
(
false
),
)
nStorOpenMode
(
SFX_STREAM_READWRITE
),
:
IMPL_CTOR
(
false
,
0
),
// bRoot, pURLObj
pURLObj
(
0
),
pInStream
(
0
),
pOutStream
(
0
),
pFilter
(
pFlt
),
pFilter
(
pFlt
),
pSet
(
pInSet
),
pSet
(
pInSet
),
pImp
(
new
SfxMedium_Impl
(
this
))
pImp
(
new
SfxMedium_Impl
(
this
))
...
@@ -2849,8 +2842,14 @@ SfxMedium::SfxMedium
...
@@ -2849,8 +2842,14 @@ SfxMedium::SfxMedium
}
}
SfxMedium
::
SfxMedium
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aArgs
)
SfxMedium
::
SfxMedium
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>&
aArgs
)
:
:
IMPL_CTOR
(
false
,
0
),
// bRoot, pURLObj
bRoot
(
false
),
bSetFilter
(
false
),
bTriedStorage
(
false
),
nStorOpenMode
(
SFX_STREAM_READWRITE
),
pURLObj
(
0
),
pInStream
(
0
),
pOutStream
(
0
),
pFilter
(
0
),
pFilter
(
0
),
pSet
(
0
),
pSet
(
0
),
pImp
(
new
SfxMedium_Impl
(
this
))
pImp
(
new
SfxMedium_Impl
(
this
))
...
@@ -2905,8 +2904,14 @@ SfxMedium::SfxMedium( const ::com::sun::star::uno::Sequence< ::com::sun::star::b
...
@@ -2905,8 +2904,14 @@ SfxMedium::SfxMedium( const ::com::sun::star::uno::Sequence< ::com::sun::star::b
//------------------------------------------------------------------
//------------------------------------------------------------------
SfxMedium
::
SfxMedium
(
const
uno
::
Reference
<
embed
::
XStorage
>&
rStor
,
const
String
&
rBaseURL
,
const
SfxItemSet
*
p
,
sal_Bool
bRootP
)
SfxMedium
::
SfxMedium
(
const
uno
::
Reference
<
embed
::
XStorage
>&
rStor
,
const
String
&
rBaseURL
,
const
SfxItemSet
*
p
,
sal_Bool
bRootP
)
:
:
IMPL_CTOR
(
bRootP
,
0
),
// bRoot, pURLObj
bRoot
(
bRootP
),
bSetFilter
(
false
),
bTriedStorage
(
false
),
nStorOpenMode
(
SFX_STREAM_READWRITE
),
pURLObj
(
0
),
pInStream
(
0
),
pOutStream
(
0
),
pSet
(
0
),
pSet
(
0
),
pImp
(
new
SfxMedium_Impl
(
this
))
pImp
(
new
SfxMedium_Impl
(
this
))
{
{
...
@@ -2924,8 +2929,14 @@ SfxMedium::SfxMedium( const uno::Reference < embed::XStorage >& rStor, const Str
...
@@ -2924,8 +2929,14 @@ SfxMedium::SfxMedium( const uno::Reference < embed::XStorage >& rStor, const Str
GetItemSet
()
->
Put
(
*
p
);
GetItemSet
()
->
Put
(
*
p
);
}
}
SfxMedium
::
SfxMedium
(
const
uno
::
Reference
<
embed
::
XStorage
>&
rStor
,
const
String
&
rBaseURL
,
const
String
&
rTypeName
,
const
SfxItemSet
*
p
,
sal_Bool
bRootP
)
SfxMedium
::
SfxMedium
(
const
uno
::
Reference
<
embed
::
XStorage
>&
rStor
,
const
String
&
rBaseURL
,
const
String
&
rTypeName
,
const
SfxItemSet
*
p
,
sal_Bool
bRootP
)
:
:
IMPL_CTOR
(
bRootP
,
0
),
// bRoot, pURLObj
bRoot
(
bRootP
),
bSetFilter
(
false
),
bTriedStorage
(
false
),
nStorOpenMode
(
SFX_STREAM_READWRITE
),
pURLObj
(
0
),
pInStream
(
0
),
pOutStream
(
0
),
pSet
(
0
),
pSet
(
0
),
pImp
(
new
SfxMedium_Impl
(
this
))
pImp
(
new
SfxMedium_Impl
(
this
))
{
{
...
...
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