summaryrefslogtreecommitdiff
path: root/server/poppler-hack.cc
diff options
context:
space:
mode:
authorAndreas Politz <politza@hochschule-trier.de>2017-08-11 06:27:34 +0200
committerAndreas Politz <politza@hochschule-trier.de>2017-08-11 06:27:34 +0200
commit6cd76dec9aece2a8daa90f17ab77fbf773157a1d (patch)
treee4b3934b0e3141fb4f618042b40cf42cd1625197 /server/poppler-hack.cc
parent89b1507027908d0a3e7f08a383e438eb1da99c1d (diff)
Fix trailing whitespace
Diffstat (limited to 'server/poppler-hack.cc')
-rw-r--r--server/poppler-hack.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/poppler-hack.cc b/server/poppler-hack.cc
index 763e61b..0c62f73 100644
--- a/server/poppler-hack.cc
+++ b/server/poppler-hack.cc
@@ -21,7 +21,7 @@
extern "C"
{
-
+
GType poppler_annot_get_type (void) G_GNUC_CONST;
GType poppler_annot_markup_get_type (void) G_GNUC_CONST;
@@ -57,7 +57,7 @@ GType poppler_annot_markup_get_type (void) G_GNUC_CONST;
if (! s)
return NULL;
-
+
if (s->hasUnicodeMarker()) {
result = g_convert (s->getCString () + 2,
s->getLength () - 2,
@@ -66,7 +66,7 @@ GType poppler_annot_markup_get_type (void) G_GNUC_CONST;
int len;
gunichar *ucs4_temp;
int i;
-
+
len = s->getLength ();
ucs4_temp = g_new (gunichar, len + 1);
for (i = 0; i < len; ++i) {
@@ -87,13 +87,13 @@ GType poppler_annot_markup_get_type (void) G_GNUC_CONST;
{
GooString *state = a->annot->getAppearState ();
char *ustate = _xpoppler_goo_string_to_utf8 (state);
-
+
a->annot->setRect (rectangle->x1, rectangle->y1,
rectangle->x2, rectangle->y2);
a->annot->setAppearanceState (ustate);
g_free (ustate);
}
-#endif
+#endif
// This function is in the library, but the enforced date parsing is
// incomplete (at least in some versions), because it ignores the
// timezone.