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
a332a43e
Kaydet (Commit)
a332a43e
authored
Agu 15, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ErrorBox ERR_INVALID_BACKUP_LOCATION to String
Change-Id: Ied9fcfacc6d2751883d7c4d21582427690ba0f20
üst
c931bed5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
10 deletions
+5
-10
dbmm_global.hrc
dbaccess/source/ext/macromigration/dbmm_global.hrc
+1
-5
macromigration.src
dbaccess/source/ext/macromigration/macromigration.src
+2
-3
macromigrationdialog.cxx
dbaccess/source/ext/macromigration/macromigrationdialog.cxx
+2
-2
No files found.
dbaccess/source/ext/macromigration/dbmm_global.hrc
Dosyayı görüntüle @
a332a43e
...
@@ -24,13 +24,8 @@
...
@@ -24,13 +24,8 @@
//= bases
//= bases
#define RID_DBMM_DIALOG_START RID_DBACCESS_START + 0
#define RID_DBMM_STRING_START RID_DBACCESS_START + 0
#define RID_DBMM_STRING_START RID_DBACCESS_START + 0
//= error boxes
#define ERR_INVALID_BACKUP_LOCATION RID_DBMM_DIALOG_START + 0
//= strings
//= strings
#define STR_FORM ( RID_DBMM_STRING_START + 0 )
#define STR_FORM ( RID_DBMM_STRING_START + 0 )
...
@@ -58,6 +53,7 @@
...
@@ -58,6 +53,7 @@
#define STR_STATE_MIGRATE ( RID_DBMM_STRING_START + 22 )
#define STR_STATE_MIGRATE ( RID_DBMM_STRING_START + 22 )
#define STR_STATE_SUMMARY ( RID_DBMM_STRING_START + 23 )
#define STR_STATE_SUMMARY ( RID_DBMM_STRING_START + 23 )
#define STR_TITLE_MACRO_MIGRATION ( RID_DBMM_STRING_START + 24 )
#define STR_TITLE_MACRO_MIGRATION ( RID_DBMM_STRING_START + 24 )
#define STR_INVALID_BACKUP_LOCATION ( RID_DBMM_STRING_START + 25 )
#endif // DBACCESS_DBMM_GLOBAL_HRC
#endif // DBACCESS_DBMM_GLOBAL_HRC
...
...
dbaccess/source/ext/macromigration/macromigration.src
Dosyayı görüntüle @
a332a43e
...
@@ -131,10 +131,9 @@ String STR_EXCEPTION
...
@@ -131,10 +131,9 @@ String STR_EXCEPTION
Text [ en-US ] = "caught exception:";
Text [ en-US ] = "caught exception:";
};
};
ErrorBox ER
R_INVALID_BACKUP_LOCATION
String ST
R_INVALID_BACKUP_LOCATION
{
{
Buttons = WB_OK;
Text [ en-US ] = "You need to choose a backup location other than the document location itself.";
Message [ en-US ] = "You need to choose a backup location other than the document location itself.";
};
};
String STR_INVALID_NUMBER_ARGS
String STR_INVALID_NUMBER_ARGS
...
...
dbaccess/source/ext/macromigration/macromigrationdialog.cxx
Dosyayı görüntüle @
a332a43e
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
#include <svl/filenotation.hxx>
#include <svl/filenotation.hxx>
#include <tools/diagnose_ex.h>
#include <tools/diagnose_ex.h>
#include <ucbhelper/content.hxx>
#include <ucbhelper/content.hxx>
#include <vcl/
msgbox
.hxx>
#include <vcl/
layout
.hxx>
#include <list>
#include <list>
...
@@ -406,7 +406,7 @@ namespace dbmm
...
@@ -406,7 +406,7 @@ namespace dbmm
// check that the backup location isn't the same as the document itself
// check that the backup location isn't the same as the document itself
if
(
lcl_equalURLs_nothrow
(
m_pData
->
aContext
,
sBackupLocation
,
m_pData
->
xDocumentModel
->
getURL
()
)
)
if
(
lcl_equalURLs_nothrow
(
m_pData
->
aContext
,
sBackupLocation
,
m_pData
->
xDocumentModel
->
getURL
()
)
)
{
{
ErrorBox
aErrorBox
(
const_cast
<
MacroMigrationDialog
*
>
(
this
),
MacroMigrationResId
(
ER
R_INVALID_BACKUP_LOCATION
)
);
MessageDialog
aErrorBox
(
const_cast
<
MacroMigrationDialog
*
>
(
this
),
MacroMigrationResId
(
ST
R_INVALID_BACKUP_LOCATION
)
);
aErrorBox
.
Execute
();
aErrorBox
.
Execute
();
rBackupPage
.
grabLocationFocus
();
rBackupPage
.
grabLocationFocus
();
return
false
;
return
false
;
...
...
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