projects
/
framework
/
web
/
wrt-plugins-common.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update wrt-plugins-common_0.3.53
[framework/web/wrt-plugins-common.git]
/
src
/
modules
/
tizen
/
WidgetInterfaceDAO
/
WidgetInterfaceDAO.cpp
diff --git
a/src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp
b/src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp
index
2ce1805
..
246c99f
100644
(file)
--- a/
src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp
+++ b/
src/modules/tizen/WidgetInterfaceDAO/WidgetInterfaceDAO.cpp
@@
-290,7
+290,7
@@
size_t WidgetInterfaceDAO::getStorageSize() const
return 0;
}
return 0;
}
-std::string WidgetInterfaceDAO::get
Value
ByIndex(size_t index) const
+std::string WidgetInterfaceDAO::get
Key
ByIndex(size_t index) const
{
using namespace DPL::DB::ORM;
using namespace DPL::DB::ORM::widget_interface;
{
using namespace DPL::DB::ORM;
using namespace DPL::DB::ORM::widget_interface;
@@
-300,7
+300,7
@@
std::string WidgetInterfaceDAO::getValueByIndex(size_t index) const
Properties::Select select(&m_databaseInterface);
select.OrderBy("key");
std::list<DPL::String> list =
Properties::Select select(&m_databaseInterface);
select.OrderBy("key");
std::list<DPL::String> list =
- select.GetValueList<Properties::
value
>();
+ select.GetValueList<Properties::
key
>();
if (index >= list.size()) {
Throw(Commons::InvalidArgumentException);
}
if (index >= list.size()) {
Throw(Commons::InvalidArgumentException);
}