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
325ce86b
Kaydet (Commit)
325ce86b
authored
Eyl 26, 2014
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix build & better name for ERROR_INVALID_TABLE
Change-Id: Ic7253575859766f18869159e4a8dd6b3d715850d
üst
b37a88c3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
sqlbison.y
connectivity/source/parse/sqlbison.y
+1
-1
sqliterator.cxx
connectivity/source/parse/sqliterator.cxx
+2
-2
IParseContext.hxx
include/connectivity/IParseContext.hxx
+2
-2
ParseContext.cxx
svx/source/form/ParseContext.cxx
+1
-1
No files found.
connectivity/source/parse/sqlbison.y
Dosyayı görüntüle @
325ce86b
...
...
@@ -4329,7 +4329,7 @@ OUString OParseContext::getErrorMessage(ErrorCode _eCode) const
case ERROR_INVALID_INT_COMPARE: aMsg = "The field can not be compared with a number."; break;
case ERROR_INVALID_DATE_COMPARE: aMsg = "The field can not be compared with a date."; break;
case ERROR_INVALID_REAL_COMPARE: aMsg = "The field can not be compared with a floating point number."; break;
case ERROR_INVALID_TABLE
1
: aMsg = "The database does not contain a table named \"#\"."; break;
case ERROR_INVALID_TABLE
_NOSUCH
: aMsg = "The database does not contain a table named \"#\"."; break;
case ERROR_INVALID_TABLE_OR_QUERY: aMsg = "The database does contain neither a table nor a query named \"#\"."; break;
case ERROR_INVALID_COLUMN: aMsg = "The column \"#1\" is unknown in the table \"#2\"."; break;
case ERROR_INVALID_TABLE_EXIST: aMsg = "The database already contains a table or view with name \"#\"."; break;
...
...
connectivity/source/parse/sqliterator.cxx
Dosyayı görüntüle @
325ce86b
...
...
@@ -416,13 +416,13 @@ OSQLTable OSQLParseTreeIterator::impl_locateRecordSource( const OUString& _rComp
// m_xQueryContainer would not have been set), so emit a better error message
impl_appendError
(
IParseContext
::
ERROR_INVALID_TABLE_OR_QUERY
,
&
sName
);
else
impl_appendError
(
IParseContext
::
ERROR_INVALID_
TABLE1
,
&
sName
);
impl_appendError
(
IParseContext
::
ERROR_INVALID_
NOSUCH
,
&
sName
);
}
}
}
catch
(
Exception
&
)
{
impl_appendError
(
IParseContext
::
ERROR_INVALID_TABLE
1
,
&
sComposedName
);
impl_appendError
(
IParseContext
::
ERROR_INVALID_TABLE
_NOSUCH
,
&
sComposedName
);
}
return
aReturn
;
...
...
include/connectivity/IParseContext.hxx
Dosyayı görüntüle @
325ce86b
...
...
@@ -43,12 +43,12 @@ namespace connectivity
ERROR_INVALID_INT_COMPARE
,
// "The field can not be compared with a number."
ERROR_INVALID_DATE_COMPARE
,
// "The field can not be compared with a date."
ERROR_INVALID_REAL_COMPARE
,
// "The field can not be compared with a floating point number."
ERROR_INVALID_TABLE
1
,
// "The database does not contain a table named \"#\"."
ERROR_INVALID_TABLE
_NOSUCH
,
// "The database does not contain a table named \"#\"."
// Named like this to avoid conflict with a #define in the Windows system ODBC headers.
ERROR_INVALID_TABLE_OR_QUERY
,
// "The database does contain neither a table nor a query named \"#\"."
ERROR_INVALID_COLUMN
,
// "The column \"#1\" is unknown in the table \"#2\"."
ERROR_INVALID_TABLE_EXIST
,
// "The database already contains a table or view with name \"#\"."
ERROR_INVALID_QUERY_EXIST
,
// "The database already contains a query with name \"#\".";
ERROR_INVALID_QUERY_EXIST
// "The database already contains a query with name \"#\".";
};
enum
InternationalKeyCode
...
...
svx/source/form/ParseContext.cxx
Dosyayı görüntüle @
325ce86b
...
...
@@ -65,7 +65,7 @@ OUString OSystemParseContext::getErrorMessage(ErrorCode _eCode) const
case
ERROR_INVALID_INT_COMPARE
:
aMsg
=
SVX_RESSTR
(
RID_STR_SVT_SQL_SYNTAX_INT_NO_VALID
);
break
;
case
ERROR_INVALID_DATE_COMPARE
:
aMsg
=
SVX_RESSTR
(
RID_STR_SVT_SQL_SYNTAX_ACCESS_DAT_NO_VALID
);
break
;
case
ERROR_INVALID_REAL_COMPARE
:
aMsg
=
SVX_RESSTR
(
RID_STR_SVT_SQL_SYNTAX_REAL_NO_VALID
);
break
;
case
ERROR_INVALID_TABLE
1
:
aMsg
=
SVX_RESSTR
(
RID_STR_SVT_SQL_SYNTAX_TABLE
);
break
;
case
ERROR_INVALID_TABLE
_NOSUCH
:
aMsg
=
SVX_RESSTR
(
RID_STR_SVT_SQL_SYNTAX_TABLE
);
break
;
case
ERROR_INVALID_TABLE_OR_QUERY
:
aMsg
=
SVX_RESSTR
(
RID_STR_SVT_SQL_SYNTAX_TABLE_OR_QUERY
);
break
;
case
ERROR_INVALID_COLUMN
:
aMsg
=
SVX_RESSTR
(
RID_STR_SVT_SQL_SYNTAX_COLUMN
);
break
;
case
ERROR_INVALID_TABLE_EXIST
:
aMsg
=
SVX_RESSTR
(
RID_STR_SVT_SQL_SYNTAX_TABLE_EXISTS
);
break
;
...
...
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