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
b1259761
Kaydet (Commit)
b1259761
authored
Nis 29, 2015
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: declaration of ‘FILE’ shadows a global declaration
Change-Id: I544e1154c846a8b5da4ab3dee72e3aa1332557e6
üst
174ba855
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
galmisc.hxx
include/svx/galmisc.hxx
+1
-1
galmisc.cxx
svx/source/gallery2/galmisc.cxx
+2
-2
galobj.cxx
svx/source/gallery2/galobj.cxx
+1
-1
galtheme.cxx
svx/source/gallery2/galtheme.cxx
+4
-4
No files found.
include/svx/galmisc.hxx
Dosyayı görüntüle @
b1259761
...
@@ -71,7 +71,7 @@ enum SgaObjKind
...
@@ -71,7 +71,7 @@ enum SgaObjKind
enum
class
GalleryGraphicImportRet
enum
class
GalleryGraphicImportRet
{
{
NONE
,
FILE
,
INET
IMPORT_NONE
,
IMPORT_FILE
,
IMPORT_
INET
};
};
#define GALLERY_PROGRESS_RANGE 10000
#define GALLERY_PROGRESS_RANGE 10000
...
...
svx/source/gallery2/galmisc.cxx
Dosyayı görüntüle @
b1259761
...
@@ -85,7 +85,7 @@ IMPL_LINK( SgaUserDataFactory, MakeUserData, SdrObjFactory*, pObjFactory )
...
@@ -85,7 +85,7 @@ IMPL_LINK( SgaUserDataFactory, MakeUserData, SdrObjFactory*, pObjFactory )
GalleryGraphicImportRet
GalleryGraphicImport
(
const
INetURLObject
&
rURL
,
Graphic
&
rGraphic
,
GalleryGraphicImportRet
GalleryGraphicImport
(
const
INetURLObject
&
rURL
,
Graphic
&
rGraphic
,
OUString
&
rFilterName
,
bool
bShowProgress
)
OUString
&
rFilterName
,
bool
bShowProgress
)
{
{
GalleryGraphicImportRet
nRet
=
GalleryGraphicImportRet
::
NONE
;
GalleryGraphicImportRet
nRet
=
GalleryGraphicImportRet
::
IMPORT_
NONE
;
SfxMedium
aMedium
(
rURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
StreamMode
::
READ
);
SfxMedium
aMedium
(
rURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
StreamMode
::
READ
);
aMedium
.
Download
();
aMedium
.
Download
();
...
@@ -101,7 +101,7 @@ GalleryGraphicImportRet GalleryGraphicImport( const INetURLObject& rURL, Graphic
...
@@ -101,7 +101,7 @@ GalleryGraphicImportRet GalleryGraphicImport( const INetURLObject& rURL, Graphic
if
(
!
rGraphicFilter
.
ImportGraphic
(
rGraphic
,
rURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
*
pIStm
,
GRFILTER_FORMAT_DONTKNOW
,
&
nFormat
)
)
if
(
!
rGraphicFilter
.
ImportGraphic
(
rGraphic
,
rURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
*
pIStm
,
GRFILTER_FORMAT_DONTKNOW
,
&
nFormat
)
)
{
{
rFilterName
=
rGraphicFilter
.
GetImportFormatName
(
nFormat
);
rFilterName
=
rGraphicFilter
.
GetImportFormatName
(
nFormat
);
nRet
=
GalleryGraphicImportRet
::
FILE
;
nRet
=
GalleryGraphicImportRet
::
IMPORT_
FILE
;
}
}
}
}
...
...
svx/source/gallery2/galobj.cxx
Dosyayı görüntüle @
b1259761
...
@@ -278,7 +278,7 @@ SgaObjectBmp::SgaObjectBmp( const INetURLObject& rURL )
...
@@ -278,7 +278,7 @@ SgaObjectBmp::SgaObjectBmp( const INetURLObject& rURL )
Graphic
aGraphic
;
Graphic
aGraphic
;
OUString
aFilter
;
OUString
aFilter
;
if
(
GalleryGraphicImportRet
::
NONE
!=
GalleryGraphicImport
(
rURL
,
aGraphic
,
aFilter
)
)
if
(
GalleryGraphicImportRet
::
IMPORT_
NONE
!=
GalleryGraphicImport
(
rURL
,
aGraphic
,
aFilter
)
)
Init
(
aGraphic
,
rURL
);
Init
(
aGraphic
,
rURL
);
}
}
...
...
svx/source/gallery2/galtheme.cxx
Dosyayı görüntüle @
b1259761
...
@@ -553,7 +553,7 @@ void GalleryTheme::Actualize( const Link& rActualizeLink, GalleryProgress* pProg
...
@@ -553,7 +553,7 @@ void GalleryTheme::Actualize( const Link& rActualizeLink, GalleryProgress* pProg
{
{
aGraphic
.
Clear
();
aGraphic
.
Clear
();
if
(
GalleryGraphicImport
(
aURL
,
aGraphic
,
aFormat
)
!=
GalleryGraphicImportRet
::
NONE
)
if
(
GalleryGraphicImport
(
aURL
,
aGraphic
,
aFormat
)
!=
GalleryGraphicImportRet
::
IMPORT_
NONE
)
{
{
boost
::
scoped_ptr
<
SgaObject
>
pNewObj
;
boost
::
scoped_ptr
<
SgaObject
>
pNewObj
;
...
@@ -790,7 +790,7 @@ bool GalleryTheme::GetGraphic( sal_uIntPtr nPos, Graphic& rGraphic, bool bProgre
...
@@ -790,7 +790,7 @@ bool GalleryTheme::GetGraphic( sal_uIntPtr nPos, Graphic& rGraphic, bool bProgre
case
(
SGA_OBJ_INET
):
case
(
SGA_OBJ_INET
):
{
{
OUString
aFilterDummy
;
OUString
aFilterDummy
;
bRet
=
(
GalleryGraphicImport
(
aURL
,
rGraphic
,
aFilterDummy
,
bProgress
)
!=
GalleryGraphicImportRet
::
NONE
);
bRet
=
(
GalleryGraphicImport
(
aURL
,
rGraphic
,
aFilterDummy
,
bProgress
)
!=
GalleryGraphicImportRet
::
IMPORT_
NONE
);
}
}
break
;
break
;
...
@@ -1108,9 +1108,9 @@ bool GalleryTheme::InsertURL( const INetURLObject& rURL, sal_uIntPtr nInsertPos
...
@@ -1108,9 +1108,9 @@ bool GalleryTheme::InsertURL( const INetURLObject& rURL, sal_uIntPtr nInsertPos
const
GalleryGraphicImportRet
nImportRet
=
GalleryGraphicImport
(
rURL
,
aGraphic
,
aFormat
);
const
GalleryGraphicImportRet
nImportRet
=
GalleryGraphicImport
(
rURL
,
aGraphic
,
aFormat
);
bool
bRet
=
false
;
bool
bRet
=
false
;
if
(
nImportRet
!=
GalleryGraphicImportRet
::
NONE
)
if
(
nImportRet
!=
GalleryGraphicImportRet
::
IMPORT_
NONE
)
{
{
if
(
GalleryGraphicImportRet
::
INET
==
nImportRet
)
if
(
GalleryGraphicImportRet
::
I
MPORT_I
NET
==
nImportRet
)
pNewObj
.
reset
((
SgaObject
*
)
new
SgaObjectINet
(
aGraphic
,
rURL
,
aFormat
));
pNewObj
.
reset
((
SgaObject
*
)
new
SgaObjectINet
(
aGraphic
,
rURL
,
aFormat
));
else
if
(
aGraphic
.
IsAnimated
()
)
else
if
(
aGraphic
.
IsAnimated
()
)
pNewObj
.
reset
((
SgaObject
*
)
new
SgaObjectAnim
(
aGraphic
,
rURL
,
aFormat
));
pNewObj
.
reset
((
SgaObject
*
)
new
SgaObjectAnim
(
aGraphic
,
rURL
,
aFormat
));
...
...
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