summaryrefslogtreecommitdiffstats
path: root/backend-shared
diff options
context:
space:
mode:
Diffstat (limited to 'backend-shared')
-rw-r--r--backend-shared/exportfuncs.cpp6
-rw-r--r--backend-shared/exportfuncs.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/backend-shared/exportfuncs.cpp b/backend-shared/exportfuncs.cpp
index 54ec08139..a48f60066 100644
--- a/backend-shared/exportfuncs.cpp
+++ b/backend-shared/exportfuncs.cpp
@@ -12,7 +12,7 @@
#include "core/divesite.h"
#include "exportfuncs.h"
-void exportProfile(QString filename, const bool selected_only)
+void exportProfile(QString filename, bool selected_only)
{
struct dive *dive;
int i;
@@ -33,7 +33,7 @@ void exportProfile(QString filename, const bool selected_only)
}
-void export_TeX(const char *filename, const bool selected_only, bool plain)
+void export_TeX(const char *filename, bool selected_only, bool plain)
{
FILE *f;
QDir texdir = QFileInfo(filename).dir();
@@ -233,7 +233,7 @@ void export_TeX(const char *filename, const bool selected_only, bool plain)
}
-void export_depths(const char *filename, const bool selected_only)
+void export_depths(const char *filename, bool selected_only)
{
FILE *f;
struct dive *dive;
diff --git a/backend-shared/exportfuncs.h b/backend-shared/exportfuncs.h
index ebd2b8fcb..250e8e60f 100644
--- a/backend-shared/exportfuncs.h
+++ b/backend-shared/exportfuncs.h
@@ -7,9 +7,9 @@
struct dive_site;
-void exportProfile(QString filename, const bool selected_only);
-void export_TeX(const char *filename, const bool selected_only, bool plain);
-void export_depths(const char *filename, const bool selected_only);
+void exportProfile(QString filename, bool selected_only);
+void export_TeX(const char *filename, bool selected_only, bool plain);
+void export_depths(const char *filename, bool selected_only);
std::vector<const dive_site *> getDiveSitesToExport(bool selectedOnly);
QFuture<int> exportUsingStyleSheet(QString filename, bool doExport, int units, QString stylesheet, bool anonymize);