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
c407e548
Kaydet (Commit)
c407e548
authored
Agu 25, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert RID_SECURITY_WARNING_NO_HYPERLINKS to MessageDialog + string
Change-Id: I960ae9b418249df58f4395445b9de98a41ac2758
üst
98ef8894
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
app.hrc
sfx2/source/appl/app.hrc
+1
-1
app.src
sfx2/source/appl/app.src
+2
-4
appopen.cxx
sfx2/source/appl/appopen.cxx
+4
-2
No files found.
sfx2/source/appl/app.hrc
Dosyayı görüntüle @
c407e548
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
#define STR_QUERY_UPDATE_LINKS (RID_SFX_APP_START + 192)
#define STR_QUERY_UPDATE_LINKS (RID_SFX_APP_START + 192)
#define STR_DDE_ERROR (RID_SFX_APP_START + 193)
#define STR_DDE_ERROR (RID_SFX_APP_START + 193)
#define
RID
_SECURITY_WARNING_NO_HYPERLINKS (RID_SFX_APP_START + 194)
#define
STR
_SECURITY_WARNING_NO_HYPERLINKS (RID_SFX_APP_START + 194)
#define RID_SVXSTR_FILELINK (RID_SFX_APP_START + 195)
#define RID_SVXSTR_FILELINK (RID_SFX_APP_START + 195)
#define RID_SVXSTR_GRAFIKLINK (RID_SFX_APP_START + 196)
#define RID_SVXSTR_GRAFIKLINK (RID_SFX_APP_START + 196)
...
...
sfx2/source/appl/app.src
Dosyayı görüntüle @
c407e548
...
@@ -326,11 +326,9 @@ String STR_DDE_ERROR
...
@@ -326,11 +326,9 @@ String STR_DDE_ERROR
Text [ en-US ] = "DDE link to % for % area % are not available." ;
Text [ en-US ] = "DDE link to % for % area % are not available." ;
};
};
WarningBox RID
_SECURITY_WARNING_NO_HYPERLINKS
String STR
_SECURITY_WARNING_NO_HYPERLINKS
{
{
Buttons = WB_OK ;
Text [ en-US ] = "For security reasons, the hyperlink cannot be executed.\nThe stated address will not be opened.";
DefButton = WB_DEF_OK ;
Message [ en-US ] = "For security reasons, the hyperlink cannot be executed.\nThe stated address will not be opened.";
};
};
String RID_SECURITY_WARNING_TITLE
String RID_SECURITY_WARNING_TITLE
...
...
sfx2/source/appl/appopen.cxx
Dosyayı görüntüle @
c407e548
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
#include <vcl/wrkwin.hxx>
#include <vcl/wrkwin.hxx>
#include <svl/intitem.hxx>
#include <svl/intitem.hxx>
#include <vcl/
msgbox
.hxx>
#include <vcl/
layout
.hxx>
#include <svl/stritem.hxx>
#include <svl/stritem.hxx>
#include <svl/eitem.hxx>
#include <svl/eitem.hxx>
#include <sfx2/doctempl.hxx>
#include <sfx2/doctempl.hxx>
...
@@ -833,7 +833,9 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
...
@@ -833,7 +833,9 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
SolarMutexGuard
aGuard
;
SolarMutexGuard
aGuard
;
Window
*
pWindow
=
SfxGetpApp
()
->
GetTopWindow
();
Window
*
pWindow
=
SfxGetpApp
()
->
GetTopWindow
();
WarningBox
aSecurityWarningBox
(
pWindow
,
SfxResId
(
RID_SECURITY_WARNING_NO_HYPERLINKS
));
MessageDialog
aSecurityWarningBox
(
pWindow
,
SfxResId
(
STR_SECURITY_WARNING_NO_HYPERLINKS
),
VCL_MESSAGE_WARNING
);
aSecurityWarningBox
.
SetText
(
SfxResId
(
RID_SECURITY_WARNING_TITLE
).
toString
()
);
aSecurityWarningBox
.
SetText
(
SfxResId
(
RID_SECURITY_WARNING_TITLE
).
toString
()
);
aSecurityWarningBox
.
Execute
();
aSecurityWarningBox
.
Execute
();
return
;
return
;
...
...
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