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
35bc0751
Kaydet (Commit)
35bc0751
authored
Mar 18, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
extensions: remove RTL_CONSTASCII_STRINGPARAM in macros
Change-Id: I24cc59f4e9410e9a67a87950e7452de55122c0ce
üst
9dba77d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
updatecheckui.cxx
extensions/source/update/ui/updatecheckui.cxx
+18
-18
No files found.
extensions/source/update/ui/updatecheckui.cxx
Dosyayı görüntüle @
35bc0751
...
...
@@ -53,12 +53,12 @@
#define MSG_ERR_NO_WEBBROWSER_FOUND (RID_SFX_APP_START + 7)
#define PROPERTY_TITLE
RTL_CONSTASCII_STRINGPARAM("BubbleHeading")
#define PROPERTY_TEXT
RTL_CONSTASCII_STRINGPARAM("BubbleText")
#define PROPERTY_IMAGE
RTL_CONSTASCII_STRINGPARAM("BubbleImageURL")
#define PROPERTY_SHOW_BUBBLE
RTL_CONSTASCII_STRINGPARAM("BubbleVisible")
#define PROPERTY_CLICK_HDL
RTL_CONSTASCII_STRINGPARAM("MenuClickHDL")
#define PROPERTY_SHOW_MENUICON
RTL_CONSTASCII_STRINGPARAM("MenuIconVisible")
#define PROPERTY_TITLE
"BubbleHeading"
#define PROPERTY_TEXT
"BubbleText"
#define PROPERTY_IMAGE
"BubbleImageURL"
#define PROPERTY_SHOW_BUBBLE
"BubbleVisible"
#define PROPERTY_CLICK_HDL
"MenuClickHDL"
#define PROPERTY_SHOW_MENUICON
"MenuIconVisible"
using
namespace
::
com
::
sun
::
star
;
...
...
@@ -422,21 +422,21 @@ void UpdateCheckUI::setPropertyValue(const rtl::OUString& rPropertyName,
rtl
::
OUString
aString
;
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_TITLE
)
==
0
)
{
if
(
rPropertyName
==
PROPERTY_TITLE
)
{
rValue
>>=
aString
;
if
(
aString
!=
maBubbleTitle
)
{
maBubbleTitle
=
aString
;
mbBubbleChanged
=
true
;
}
}
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_TEXT
)
==
0
)
{
else
if
(
rPropertyName
==
PROPERTY_TEXT
)
{
rValue
>>=
aString
;
if
(
aString
!=
maBubbleText
)
{
maBubbleText
=
aString
;
mbBubbleChanged
=
true
;
}
}
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_IMAGE
)
==
0
)
{
else
if
(
rPropertyName
==
PROPERTY_IMAGE
)
{
rValue
>>=
aString
;
if
(
aString
!=
maBubbleImageURL
)
{
maBubbleImageURL
=
aString
;
...
...
@@ -444,14 +444,14 @@ void UpdateCheckUI::setPropertyValue(const rtl::OUString& rPropertyName,
mbBubbleChanged
=
true
;
}
}
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_SHOW_BUBBLE
)
==
0
)
{
else
if
(
rPropertyName
==
PROPERTY_SHOW_BUBBLE
)
{
rValue
>>=
mbShowBubble
;
if
(
mbShowBubble
)
Application
::
PostUserEvent
(
LINK
(
this
,
UpdateCheckUI
,
UserEventHdl
)
);
else
if
(
mpBubbleWin
)
mpBubbleWin
->
Show
(
sal_False
);
}
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_CLICK_HDL
)
==
0
)
{
else
if
(
rPropertyName
==
PROPERTY_CLICK_HDL
)
{
uno
::
Reference
<
task
::
XJob
>
aJob
;
rValue
>>=
aJob
;
if
(
aJob
.
is
()
)
...
...
@@ -459,7 +459,7 @@ void UpdateCheckUI::setPropertyValue(const rtl::OUString& rPropertyName,
else
throw
lang
::
IllegalArgumentException
();
}
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_SHOW_MENUICON
)
==
0
)
{
else
if
(
rPropertyName
==
PROPERTY_SHOW_MENUICON
)
{
bool
bShowMenuIcon
=
sal_False
;
rValue
>>=
bShowMenuIcon
;
if
(
bShowMenuIcon
!=
mbShowMenuIcon
)
...
...
@@ -486,17 +486,17 @@ uno::Any UpdateCheckUI::getPropertyValue(const rtl::OUString& rPropertyName)
uno
::
Any
aRet
;
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_TITLE
)
==
0
)
if
(
rPropertyName
==
PROPERTY_TITLE
)
aRet
=
uno
::
makeAny
(
maBubbleTitle
);
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_TEXT
)
==
0
)
else
if
(
rPropertyName
==
PROPERTY_TEXT
)
aRet
=
uno
::
makeAny
(
maBubbleText
);
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_SHOW_BUBBLE
)
==
0
)
else
if
(
rPropertyName
==
PROPERTY_SHOW_BUBBLE
)
aRet
=
uno
::
makeAny
(
mbShowBubble
);
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_IMAGE
)
==
0
)
else
if
(
rPropertyName
==
PROPERTY_IMAGE
)
aRet
=
uno
::
makeAny
(
maBubbleImageURL
);
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_CLICK_HDL
)
==
0
)
else
if
(
rPropertyName
==
PROPERTY_CLICK_HDL
)
aRet
=
uno
::
makeAny
(
mrJob
);
else
if
(
rPropertyName
.
compareToAscii
(
PROPERTY_SHOW_MENUICON
)
==
0
)
else
if
(
rPropertyName
==
PROPERTY_SHOW_MENUICON
)
aRet
=
uno
::
makeAny
(
mbShowMenuIcon
);
else
throw
beans
::
UnknownPropertyException
();
...
...
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