mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[import-pending-matches.cpp] convert to cpp
This commit is contained in:
parent
243710218c
commit
b0e5316b91
@ -23,7 +23,7 @@ set (generic_import_SOURCES
|
||||
import-utilities.c
|
||||
import-settings.c
|
||||
import-main-matcher.cpp
|
||||
import-pending-matches.c
|
||||
import-pending-matches.cpp
|
||||
)
|
||||
|
||||
# Add dependency on config.h
|
||||
|
@ -75,7 +75,6 @@ static GNCPendingMatches *
|
||||
gnc_import_PendingMatches_get_value (GNCImportPendingMatches *map,
|
||||
GNCImportMatchInfo *match_info)
|
||||
{
|
||||
GNCPendingMatches *pending_matches;
|
||||
const GncGUID *match_guid;
|
||||
|
||||
g_return_val_if_fail (map, NULL);
|
||||
@ -83,9 +82,7 @@ gnc_import_PendingMatches_get_value (GNCImportPendingMatches *map,
|
||||
|
||||
match_guid = gnc_import_PendingMatches_get_key (match_info);
|
||||
|
||||
pending_matches = g_hash_table_lookup (map, match_guid);
|
||||
|
||||
return pending_matches;
|
||||
return static_cast<GNCPendingMatches*>(g_hash_table_lookup (map, match_guid));
|
||||
}
|
||||
|
||||
void
|
@ -353,7 +353,7 @@ gnucash/import-export/import-format-dialog.c
|
||||
gnucash/import-export/import-main-matcher.cpp
|
||||
gnucash/import-export/import-match-picker.cpp
|
||||
gnucash/import-export/import-parse.c
|
||||
gnucash/import-export/import-pending-matches.c
|
||||
gnucash/import-export/import-pending-matches.cpp
|
||||
gnucash/import-export/import-settings.c
|
||||
gnucash/import-export/import-utilities.c
|
||||
gnucash/import-export/log-replay/gnc-log-replay.c
|
||||
|
Loading…
Reference in New Issue
Block a user