summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2011-08-30 14:49:23 +0200
committerAlbert Astals Cid <aacid@kde.org>2011-08-30 14:49:23 +0200
commit2658030836f3a15dadadd7f1989dfaa858bf876f (patch)
treea7966b8c41de09572a38952d7eec15f62c1e11e6 /cpp
parentc899d26e0f7a61db99925179330c28df015a676b (diff)
xpdf303: char * -> const char *
Diffstat (limited to 'cpp')
-rw-r--r--cpp/poppler-private.cpp2
-rw-r--r--cpp/poppler-private.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/poppler-private.cpp b/cpp/poppler-private.cpp
index 67fb14eb..2fc7d92c 100644
--- a/cpp/poppler-private.cpp
+++ b/cpp/poppler-private.cpp
@@ -28,7 +28,7 @@
using namespace poppler;
-void detail::error_function(int pos, char *msg, va_list args)
+void detail::error_function(int pos, const char *msg, va_list args)
{
std::ostringstream oss;
if (pos >= 0) {
diff --git a/cpp/poppler-private.h b/cpp/poppler-private.h
index 9f7952b6..0aca69e5 100644
--- a/cpp/poppler-private.h
+++ b/cpp/poppler-private.h
@@ -37,7 +37,7 @@ namespace poppler
namespace detail
{
-void error_function(int pos, char *msg, va_list args);
+void error_function(int pos, const char *msg, va_list args);
rectf pdfrectangle_to_rectf(const PDFRectangle &pdfrect);