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
deba3112
Kaydet (Commit)
deba3112
authored
Kas 29, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
optional ppFlt argument never used
Change-Id: Ib2c68091f14d04818ae5e7db0ad7b8a1ec151f4f
üst
f8eb694c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
+3
-8
iodetect.hxx
sw/inc/iodetect.hxx
+1
-2
iodetect.cxx
sw/source/filter/basflt/iodetect.cxx
+1
-5
swdet2.cxx
sw/source/ui/uno/swdet2.cxx
+1
-1
No files found.
sw/inc/iodetect.hxx
Dosyayı görüntüle @
deba3112
...
@@ -111,8 +111,7 @@ public:
...
@@ -111,8 +111,7 @@ public:
/** Detect whether the given file is in the given format.
/** Detect whether the given file is in the given format.
For now, only our own filters are supported! */
For now, only our own filters are supported! */
static
sal_Bool
IsFileFilter
(
SfxMedium
&
rMedium
,
const
String
&
rFmtName
,
static
sal_Bool
IsFileFilter
(
SfxMedium
&
rMedium
,
const
String
&
rFmtName
);
const
SfxFilter
**
ppFlt
=
0
);
static
sal_Bool
IsValidStgFilter
(
SotStorage
&
,
const
SfxFilter
&
);
static
sal_Bool
IsValidStgFilter
(
SotStorage
&
,
const
SfxFilter
&
);
static
sal_Bool
IsValidStgFilter
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>&
rStg
,
const
SfxFilter
&
rFilter
);
static
sal_Bool
IsValidStgFilter
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>&
rStg
,
const
SfxFilter
&
rFilter
);
...
...
sw/source/filter/basflt/iodetect.cxx
Dosyayı görüntüle @
deba3112
...
@@ -205,8 +205,7 @@ void TerminateBuffer(sal_Char *pBuffer, sal_uLong nBytesRead, sal_uLong nBufferL
...
@@ -205,8 +205,7 @@ void TerminateBuffer(sal_Char *pBuffer, sal_uLong nBytesRead, sal_uLong nBufferL
/* Feststellen ob das File in dem entsprechenden Format vorliegt. */
/* Feststellen ob das File in dem entsprechenden Format vorliegt. */
/* Z.z werden nur unsere eigene Filter unterstuetzt */
/* Z.z werden nur unsere eigene Filter unterstuetzt */
sal_Bool
SwIoSystem
::
IsFileFilter
(
SfxMedium
&
rMedium
,
const
String
&
rFmtName
,
sal_Bool
SwIoSystem
::
IsFileFilter
(
SfxMedium
&
rMedium
,
const
String
&
rFmtName
)
const
SfxFilter
**
ppFilter
)
{
{
sal_Bool
bRet
=
sal_False
;
sal_Bool
bRet
=
sal_False
;
...
@@ -261,9 +260,6 @@ sal_Bool SwIoSystem::IsFileFilter( SfxMedium& rMedium, const String& rFmtName,
...
@@ -261,9 +260,6 @@ sal_Bool SwIoSystem::IsFileFilter( SfxMedium& rMedium, const String& rFmtName,
}
}
}
}
}
}
if
(
bRet
&&
ppFilter
)
*
ppFilter
=
pFltr
;
}
}
pFltr
=
aIter
.
Next
();
pFltr
=
aIter
.
Next
();
...
...
sw/source/ui/uno/swdet2.cxx
Dosyayı görüntüle @
deba3112
...
@@ -63,7 +63,7 @@ sal_uLong SwFilterDetect::DetectFilter( SfxMedium& rMedium, const SfxFilter** pp
...
@@ -63,7 +63,7 @@ sal_uLong SwFilterDetect::DetectFilter( SfxMedium& rMedium, const SfxFilter** pp
String
aPrefFlt
=
(
*
ppFilter
)
->
GetUserData
();
String
aPrefFlt
=
(
*
ppFilter
)
->
GetUserData
();
// detection for TextFilter needs an additional checking
// detection for TextFilter needs an additional checking
sal_Bool
bDetected
=
SwIoSystem
::
IsFileFilter
(
rMedium
,
aPrefFlt
);
sal_Bool
bDetected
=
SwIoSystem
::
IsFileFilter
(
rMedium
,
aPrefFlt
);
return
bDetected
?
nRet
:
ERRCODE_ABORT
;
return
bDetected
?
nRet
:
ERRCODE_ABORT
;
}
}
...
...
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