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
75c1a803
Kaydet (Commit)
75c1a803
authored
Kas 01, 2011
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: various sillies flagged by MSVC++
üst
7cac5517
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
60 deletions
+19
-60
about.cxx
cui/source/dialogs/about.cxx
+0
-8
cuitabarea.hxx
cui/source/inc/cuitabarea.hxx
+1
-0
optinet2.cxx
cui/source/options/optinet2.cxx
+14
-14
svgreader.cxx
filter/source/svg/svgreader.cxx
+1
-1
appmisc.cxx
sfx2/source/appl/appmisc.cxx
+3
-37
No files found.
cui/source/dialogs/about.cxx
Dosyayı görüntüle @
75c1a803
...
@@ -65,14 +65,6 @@ using namespace ::com::sun::star;
...
@@ -65,14 +65,6 @@ using namespace ::com::sun::star;
#define SPACE_OFFSET 5
#define SPACE_OFFSET 5
#define SCROLL_TIMER 30
#define SCROLL_TIMER 30
/** loads the application logo as used in the about dialog and impress slideshow pause screen */
Image
SfxApplication
::
GetApplicationLogo
()
{
BitmapEx
aBitmap
;
Application
::
LoadBrandBitmap
(
"about"
,
aBitmap
);
return
Image
(
aBitmap
);
}
/* get good version information */
/* get good version information */
static
String
static
String
GetBuildId
()
GetBuildId
()
...
...
cui/source/inc/cuitabarea.hxx
Dosyayı görüntüle @
75c1a803
...
@@ -657,6 +657,7 @@ public:
...
@@ -657,6 +657,7 @@ public:
const
ResId
&
aLoad
,
const
ResId
&
aSave
,
const
ResId
&
aLoad
,
const
ResId
&
aSave
,
const
ResId
&
aEmbed
,
const
ResId
&
aTableName
,
const
ResId
&
aEmbed
,
const
ResId
&
aTableName
,
XPropertyListType
t
,
XOutdevItemPool
*
mpXPool
);
XPropertyListType
t
,
XOutdevItemPool
*
mpXPool
);
virtual
~
SvxLoadSaveEmbed
()
{};
XPropertyListRef
GetList
();
XPropertyListRef
GetList
();
void
HideLoadSaveEmbed
();
void
HideLoadSaveEmbed
();
bool
GetEmbed
();
bool
GetEmbed
();
...
...
cui/source/options/optinet2.cxx
Dosyayı görüntüle @
75c1a803
...
@@ -315,15 +315,15 @@ void SvxProxyTabPage::ReadConfigData_Impl()
...
@@ -315,15 +315,15 @@ void SvxProxyTabPage::ReadConfigData_Impl()
}
}
}
}
catch
(
container
::
NoSuchElementException
&
e
)
{
catch
(
container
::
NoSuchElementException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::ReadConfigData_Impl: NoSuchElementException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::ReadConfigData_Impl: NoSuchElementException caught"
);
}
}
catch
(
com
::
sun
::
star
::
lang
::
WrappedTargetException
&
e
)
{
catch
(
com
::
sun
::
star
::
lang
::
WrappedTargetException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::ReadConfigData_Impl: WrappedTargetException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::ReadConfigData_Impl: WrappedTargetException caught"
);
}
}
catch
(
RuntimeException
&
e
)
{
catch
(
RuntimeException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::ReadConfigData_Impl: RuntimeException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::ReadConfigData_Impl: RuntimeException caught"
);
}
}
...
@@ -373,16 +373,16 @@ void SvxProxyTabPage::ReadConfigDefaults_Impl()
...
@@ -373,16 +373,16 @@ void SvxProxyTabPage::ReadConfigDefaults_Impl()
aNoProxyForED
.
SetText
(
aStringValue
);
aNoProxyForED
.
SetText
(
aStringValue
);
}
}
}
}
catch
(
beans
::
UnknownPropertyException
&
e
)
catch
(
beans
::
UnknownPropertyException
&
)
{
{
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: UnknownPropertyException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: UnknownPropertyException caught"
);
}
}
catch
(
com
::
sun
::
star
::
lang
::
WrappedTargetException
&
e
)
{
catch
(
com
::
sun
::
star
::
lang
::
WrappedTargetException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: WrappedTargetException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: WrappedTargetException caught"
);
}
}
catch
(
RuntimeException
&
e
)
catch
(
RuntimeException
&
)
{
{
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: RuntimeException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: RuntimeException caught"
);
}
}
...
@@ -407,16 +407,16 @@ void SvxProxyTabPage::RestoreConfigDefaults_Impl()
...
@@ -407,16 +407,16 @@ void SvxProxyTabPage::RestoreConfigDefaults_Impl()
xChangesBatch
->
commitChanges
();
xChangesBatch
->
commitChanges
();
}
}
catch
(
beans
::
UnknownPropertyException
&
e
)
catch
(
beans
::
UnknownPropertyException
&
)
{
{
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: UnknownPropertyException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: UnknownPropertyException caught"
);
}
}
catch
(
com
::
sun
::
star
::
lang
::
WrappedTargetException
&
e
)
{
catch
(
com
::
sun
::
star
::
lang
::
WrappedTargetException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: WrappedTargetException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: WrappedTargetException caught"
);
}
}
catch
(
RuntimeException
&
e
)
catch
(
RuntimeException
&
)
{
{
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: RuntimeException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::RestoreConfigDefaults_Impl: RuntimeException caught"
);
}
}
...
@@ -512,23 +512,23 @@ sal_Bool SvxProxyTabPage::FillItemSet(SfxItemSet& )
...
@@ -512,23 +512,23 @@ sal_Bool SvxProxyTabPage::FillItemSet(SfxItemSet& )
xChangesBatch
->
commitChanges
();
xChangesBatch
->
commitChanges
();
}
}
catch
(
com
::
sun
::
star
::
lang
::
IllegalArgumentException
&
e
)
{
catch
(
com
::
sun
::
star
::
lang
::
IllegalArgumentException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: IllegalArgumentException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: IllegalArgumentException caught"
);
}
}
catch
(
beans
::
UnknownPropertyException
&
e
)
{
catch
(
beans
::
UnknownPropertyException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: UnknownPropertyException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: UnknownPropertyException caught"
);
}
}
catch
(
beans
::
PropertyVetoException
&
e
)
{
catch
(
beans
::
PropertyVetoException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: PropertyVetoException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: PropertyVetoException caught"
);
}
}
catch
(
com
::
sun
::
star
::
lang
::
WrappedTargetException
&
e
)
{
catch
(
com
::
sun
::
star
::
lang
::
WrappedTargetException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: WrappedTargetException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: WrappedTargetException caught"
);
}
}
catch
(
RuntimeException
&
e
)
{
catch
(
RuntimeException
&
)
{
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: RuntimeException caught"
);
OSL_TRACE
(
"SvxProxyTabPage::FillItemSet: RuntimeException caught"
);
}
}
...
...
filter/source/svg/svgreader.cxx
Dosyayı görüntüle @
75c1a803
...
@@ -2433,7 +2433,7 @@ struct ShapeRenderingVisitor
...
@@ -2433,7 +2433,7 @@ struct ShapeRenderingVisitor
if
(
!
maCurrState
.
maFontStyle
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"normal"
))
)
if
(
!
maCurrState
.
maFontStyle
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"normal"
))
)
aFont
.
SetItalic
(
ITALIC_NORMAL
);
// TODO: discriminate
aFont
.
SetItalic
(
ITALIC_NORMAL
);
// TODO: discriminate
if
(
!
maCurrState
.
mnFontWeight
!=
400.0
)
if
(
maCurrState
.
mnFontWeight
!=
400.0
)
aFont
.
SetWeight
(
WEIGHT_BOLD
);
// TODO: discriminate
aFont
.
SetWeight
(
WEIGHT_BOLD
);
// TODO: discriminate
// extract basic transformations out of CTM
// extract basic transformations out of CTM
...
...
sfx2/source/appl/appmisc.cxx
Dosyayı görüntüle @
75c1a803
...
@@ -309,43 +309,9 @@ static bool impl_loadBitmap(
...
@@ -309,43 +309,9 @@ static bool impl_loadBitmap(
/** loads the application logo as used in the about dialog and impress slideshow pause screen */
/** loads the application logo as used in the about dialog and impress slideshow pause screen */
Image
SfxApplication
::
GetApplicationLogo
()
Image
SfxApplication
::
GetApplicationLogo
()
{
{
Image
aAppLogo
;
BitmapEx
aBitmap
;
Application
::
LoadBrandBitmap
(
"about"
,
aBitmap
);
rtl
::
OUString
aAbouts
;
return
Image
(
aBitmap
);
bool
bLoaded
=
false
;
sal_Int32
nIndex
=
0
;
do
{
bLoaded
=
impl_loadBitmap
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"$BRAND_BASE_DIR/program"
)),
aAbouts
.
getToken
(
0
,
','
,
nIndex
),
aAppLogo
);
}
while
(
!
bLoaded
&&
(
nIndex
>=
0
)
);
// fallback to "about.bmp"
if
(
!
bLoaded
)
{
bLoaded
=
impl_loadBitmap
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"$BRAND_BASE_DIR/program/edition"
)),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"about.png"
)),
aAppLogo
);
if
(
!
bLoaded
)
bLoaded
=
impl_loadBitmap
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"$BRAND_BASE_DIR/program/edition"
)),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"about.bmp"
)),
aAppLogo
);
}
if
(
!
bLoaded
)
{
bLoaded
=
impl_loadBitmap
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"$BRAND_BASE_DIR/program"
)),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"about.png"
)),
aAppLogo
);
if
(
!
bLoaded
)
bLoaded
=
impl_loadBitmap
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"$BRAND_BASE_DIR/program"
)),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"about.bmp"
)),
aAppLogo
);
}
return
aAppLogo
;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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