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
899053f9
Kaydet (Commit)
899053f9
authored
Şub 25, 2011
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix debug build
üst
ac0811b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
DbAdminImpl.cxx
dbaccess/source/ui/dlg/DbAdminImpl.cxx
+8
-7
DbAdminImpl.hxx
dbaccess/source/ui/dlg/DbAdminImpl.hxx
+1
-1
No files found.
dbaccess/source/ui/dlg/DbAdminImpl.cxx
Dosyayı görüntüle @
899053f9
...
@@ -131,7 +131,7 @@ namespace
...
@@ -131,7 +131,7 @@ namespace
}
}
catch
(
Exception
&
)
catch
(
Exception
&
)
{
{
#if
def DBG_UTIL
#if
OSL_DEBUG_LEVEL > 0
::
rtl
::
OString
sMessage
(
"ODbAdminDialog::implTranslateProperty: could not set the property "
);
::
rtl
::
OString
sMessage
(
"ODbAdminDialog::implTranslateProperty: could not set the property "
);
sMessage
+=
::
rtl
::
OString
(
_rName
.
getStr
(),
_rName
.
getLength
(),
RTL_TEXTENCODING_ASCII_US
);
sMessage
+=
::
rtl
::
OString
(
_rName
.
getStr
(),
_rName
.
getLength
(),
RTL_TEXTENCODING_ASCII_US
);
sMessage
+=
::
rtl
::
OString
(
"!"
);
sMessage
+=
::
rtl
::
OString
(
"!"
);
...
@@ -639,7 +639,7 @@ void ODbDataSourceAdministrationHelper::translateProperties(const Reference< XPr
...
@@ -639,7 +639,7 @@ void ODbDataSourceAdministrationHelper::translateProperties(const Reference< XPr
}
}
catch
(
Exception
&
)
catch
(
Exception
&
)
{
{
#if
def DBG_UTIL
#if
OSL_DEBUG_LEVEL > 0
::
rtl
::
OString
aMessage
(
"ODbDataSourceAdministrationHelper::translateProperties: could not extract the property "
);
::
rtl
::
OString
aMessage
(
"ODbDataSourceAdministrationHelper::translateProperties: could not extract the property "
);
aMessage
+=
::
rtl
::
OString
(
aDirect
->
second
.
getStr
(),
aDirect
->
second
.
getLength
(),
RTL_TEXTENCODING_ASCII_US
);
aMessage
+=
::
rtl
::
OString
(
aDirect
->
second
.
getStr
(),
aDirect
->
second
.
getLength
(),
RTL_TEXTENCODING_ASCII_US
);
aMessage
+=
::
rtl
::
OString
(
"!"
);
aMessage
+=
::
rtl
::
OString
(
"!"
);
...
@@ -854,7 +854,7 @@ void ODbDataSourceAdministrationHelper::fillDatasourceInfo(const SfxItemSet& _rS
...
@@ -854,7 +854,7 @@ void ODbDataSourceAdministrationHelper::fillDatasourceInfo(const SfxItemSet& _rS
{
{
if
(
aIndirectProps
.
end
()
!=
aIndirectProps
.
find
(
aPreserved
->
second
))
if
(
aIndirectProps
.
end
()
!=
aIndirectProps
.
find
(
aPreserved
->
second
))
{
{
#if
def DBG_UTIL
#if
OSL_DEBUG_LEVEL > 0
const
::
rtl
::
OUString
sName
=
aPreserved
->
second
;
const
::
rtl
::
OUString
sName
=
aPreserved
->
second
;
#endif
#endif
aRemoveIndexes
.
push_back
(
aPreserved
->
first
-
nPositionCorrector
);
aRemoveIndexes
.
push_back
(
aPreserved
->
first
-
nPositionCorrector
);
...
@@ -868,7 +868,7 @@ void ODbDataSourceAdministrationHelper::fillDatasourceInfo(const SfxItemSet& _rS
...
@@ -868,7 +868,7 @@ void ODbDataSourceAdministrationHelper::fillDatasourceInfo(const SfxItemSet& _rS
++
aRemoveIndex
++
aRemoveIndex
)
)
::
comphelper
::
removeElementAt
(
_rInfo
,
*
aRemoveIndex
);
::
comphelper
::
removeElementAt
(
_rInfo
,
*
aRemoveIndex
);
#if
def DBG_UTIL
#if
OSL_DEBUG_LEVEL > 0
const
PropertyValue
*
pWhatsLeft
=
_rInfo
.
getConstArray
();
const
PropertyValue
*
pWhatsLeft
=
_rInfo
.
getConstArray
();
const
PropertyValue
*
pWhatsLeftEnd
=
pWhatsLeft
+
_rInfo
.
getLength
();
const
PropertyValue
*
pWhatsLeftEnd
=
pWhatsLeft
+
_rInfo
.
getLength
();
for
(;
pWhatsLeft
!=
pWhatsLeftEnd
;
++
pWhatsLeft
)
for
(;
pWhatsLeft
!=
pWhatsLeftEnd
;
++
pWhatsLeft
)
...
@@ -961,7 +961,8 @@ void ODbDataSourceAdministrationHelper::implTranslateProperty(const Reference< X
...
@@ -961,7 +961,8 @@ void ODbDataSourceAdministrationHelper::implTranslateProperty(const Reference< X
Any
aValue
=
implTranslateProperty
(
_pItem
);
Any
aValue
=
implTranslateProperty
(
_pItem
);
lcl_putProperty
(
_rxSet
,
_rName
,
aValue
);
lcl_putProperty
(
_rxSet
,
_rName
,
aValue
);
}
}
#ifdef DBG_UTIL
#if OSL_DEBUG_LEVEL > 0
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
::
rtl
::
OString
ODbDataSourceAdministrationHelper
::
translatePropertyId
(
sal_Int32
_nId
)
::
rtl
::
OString
ODbDataSourceAdministrationHelper
::
translatePropertyId
(
sal_Int32
_nId
)
{
{
...
@@ -1077,7 +1078,7 @@ void ODbDataSourceAdministrationHelper::implTranslateProperty( SfxItemSet& _rSet
...
@@ -1077,7 +1078,7 @@ void ODbDataSourceAdministrationHelper::implTranslateProperty( SfxItemSet& _rSet
}
}
}
}
else
{
else
{
DBG_ERROR
(
OSL_ENSURE
(
false
,
(
::
rtl
::
OString
(
"ODbDataSourceAdministrationHelper::implTranslateProperty: invalid property value ("
)
(
::
rtl
::
OString
(
"ODbDataSourceAdministrationHelper::implTranslateProperty: invalid property value ("
)
+=
::
rtl
::
OString
(
translatePropertyId
(
_nId
)
)
+=
::
rtl
::
OString
(
translatePropertyId
(
_nId
)
)
+=
::
rtl
::
OString
(
" should be no string sequence)!"
)
+=
::
rtl
::
OString
(
" should be no string sequence)!"
)
...
@@ -1091,7 +1092,7 @@ void ODbDataSourceAdministrationHelper::implTranslateProperty( SfxItemSet& _rSet
...
@@ -1091,7 +1092,7 @@ void ODbDataSourceAdministrationHelper::implTranslateProperty( SfxItemSet& _rSet
break
;
break
;
default
:
default
:
DBG_ERROR
(
"ODbDataSourceAdministrationHelper::implTranslateProperty: unsupported property value type!"
);
OSL_ENSURE
(
false
,
"ODbDataSourceAdministrationHelper::implTranslateProperty: unsupported property value type!"
);
}
}
}
}
...
...
dbaccess/source/ui/dlg/DbAdminImpl.hxx
Dosyayı görüntüle @
899053f9
...
@@ -182,7 +182,7 @@ namespace dbaui
...
@@ -182,7 +182,7 @@ namespace dbaui
*/
*/
sal_Bool
hasAuthentication
(
const
SfxItemSet
&
_rSet
)
const
;
sal_Bool
hasAuthentication
(
const
SfxItemSet
&
_rSet
)
const
;
#if
def DBG_UTIL
#if
OSL_DEBUG_LEVEL > 0
::
rtl
::
OString
translatePropertyId
(
sal_Int32
_nId
);
::
rtl
::
OString
translatePropertyId
(
sal_Int32
_nId
);
#endif
#endif
};
};
...
...
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