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
fe490182
Kaydet (Commit)
fe490182
authored
Kas 09, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SetStrmStgPtr can return bool instead of sal_True/sal_False in an int
Change-Id: I5348977de17d3f916cecabe4b5c3f7630a89667e
üst
9ba8304d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
shellio.hxx
sw/inc/shellio.hxx
+1
-1
shellio.cxx
sw/source/filter/basflt/shellio.cxx
+5
-5
swhtml.cxx
sw/source/filter/html/swhtml.cxx
+3
-3
fltini.hxx
sw/source/filter/inc/fltini.hxx
+1
-1
No files found.
sw/inc/shellio.hxx
Dosyayı görüntüle @
fe490182
...
@@ -264,7 +264,7 @@ private:
...
@@ -264,7 +264,7 @@ private:
// Everyone who does not need the streams / storages open
// Everyone who does not need the streams / storages open
// has to overload the method (W4W!!).
// has to overload the method (W4W!!).
virtual
int
SetStrmStgPtr
();
virtual
bool
SetStrmStgPtr
();
};
};
class
AsciiReader
:
public
Reader
class
AsciiReader
:
public
Reader
...
...
sw/source/filter/basflt/shellio.cxx
Dosyayı görüntüle @
fe490182
...
@@ -574,7 +574,7 @@ void Reader::MakeHTMLDummyTemplateDoc()
...
@@ -574,7 +574,7 @@ void Reader::MakeHTMLDummyTemplateDoc()
// Users that do not need to open these Streams / Storages,
// Users that do not need to open these Streams / Storages,
// have to overload this method
// have to overload this method
int
Reader
::
SetStrmStgPtr
()
bool
Reader
::
SetStrmStgPtr
()
{
{
OSL_ENSURE
(
pMedium
,
"Where is the Media??"
);
OSL_ENSURE
(
pMedium
,
"Where is the Media??"
);
...
@@ -583,7 +583,7 @@ int Reader::SetStrmStgPtr()
...
@@ -583,7 +583,7 @@ int Reader::SetStrmStgPtr()
if
(
SW_STORAGE_READER
&
GetReaderType
()
)
if
(
SW_STORAGE_READER
&
GetReaderType
()
)
{
{
xStg
=
pMedium
->
GetStorage
();
xStg
=
pMedium
->
GetStorage
();
return
sal_T
rue
;
return
t
rue
;
}
}
}
}
else
else
...
@@ -597,12 +597,12 @@ int Reader::SetStrmStgPtr()
...
@@ -597,12 +597,12 @@ int Reader::SetStrmStgPtr()
else
if
(
!
(
SW_STREAM_READER
&
GetReaderType
())
)
else
if
(
!
(
SW_STREAM_READER
&
GetReaderType
())
)
{
{
pStrm
=
NULL
;
pStrm
=
NULL
;
return
sal_F
alse
;
return
f
alse
;
}
}
return
sal_T
rue
;
return
t
rue
;
}
}
return
sal_F
alse
;
return
f
alse
;
}
}
int
Reader
::
GetReaderType
()
int
Reader
::
GetReaderType
()
...
...
sw/source/filter/html/swhtml.cxx
Dosyayı görüntüle @
fe490182
...
@@ -173,16 +173,16 @@ OUString HTMLReader::GetTemplateName() const
...
@@ -173,16 +173,16 @@ OUString HTMLReader::GetTemplateName() const
return OUString();
return OUString();
}
}
int
HTMLReader
::
SetStrmStgPtr
()
bool
HTMLReader::SetStrmStgPtr()
{
{
OSL_ENSURE( pMedium, "Wo ist das Medium??" );
OSL_ENSURE( pMedium, "Wo ist das Medium??" );
if( pMedium->IsRemote() || !pMedium->IsStorage() )
if( pMedium->IsRemote() || !pMedium->IsStorage() )
{
{
pStrm = pMedium->GetInStream();
pStrm = pMedium->GetInStream();
return
sal_T
rue
;
return
t
rue;
}
}
return
sal_F
alse
;
return
f
alse;
}
}
...
...
sw/source/filter/inc/fltini.hxx
Dosyayı görüntüle @
fe490182
...
@@ -32,7 +32,7 @@ class SwNodeIndex;
...
@@ -32,7 +32,7 @@ class SwNodeIndex;
class
HTMLReader
:
public
Reader
class
HTMLReader
:
public
Reader
{
{
// wir wollen die Streams / Storages nicht geoeffnet haben
// wir wollen die Streams / Storages nicht geoeffnet haben
virtual
int
SetStrmStgPtr
()
SAL_OVERRIDE
;
virtual
bool
SetStrmStgPtr
()
SAL_OVERRIDE
;
virtual
sal_uLong
Read
(
SwDoc
&
,
const
OUString
&
rBaseURL
,
SwPaM
&
,
const
OUString
&
)
SAL_OVERRIDE
;
virtual
sal_uLong
Read
(
SwDoc
&
,
const
OUString
&
rBaseURL
,
SwPaM
&
,
const
OUString
&
)
SAL_OVERRIDE
;
virtual
OUString
GetTemplateName
()
const
SAL_OVERRIDE
;
virtual
OUString
GetTemplateName
()
const
SAL_OVERRIDE
;
public
:
public
:
...
...
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