summaryrefslogtreecommitdiff
path: root/winrt/mupdf_cpp/RectList.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-05-16 20:42:13 +0200
committerRobin Watts <robin.watts@artifex.com>2013-05-16 19:47:59 +0100
commitbd608dea4271ae256bad7dacee6acc605c2d6580 (patch)
tree3305952b198f66a2a877f1fc33f6efc0289543b8 /winrt/mupdf_cpp/RectList.h
parent0451cf6d814f172f6370b46553865c66d0933c14 (diff)
downloadmupdf-bd608dea4271ae256bad7dacee6acc605c2d6580.tar.xz
winrt: Strip trailing whitespace.
Diffstat (limited to 'winrt/mupdf_cpp/RectList.h')
-rw-r--r--winrt/mupdf_cpp/RectList.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/winrt/mupdf_cpp/RectList.h b/winrt/mupdf_cpp/RectList.h
index 5d802327..999fe3d2 100644
--- a/winrt/mupdf_cpp/RectList.h
+++ b/winrt/mupdf_cpp/RectList.h
@@ -7,7 +7,7 @@ using namespace Platform; /* For String */
namespace mupdf_cpp
{
- [Windows::UI::Xaml::Data::Bindable] // in c++, adding this attribute to ref classes enables data binding for more info search for 'Bindable' on the page http://go.microsoft.com/fwlink/?LinkId=254639
+ [Windows::UI::Xaml::Data::Bindable] // in c++, adding this attribute to ref classes enables data binding for more info search for 'Bindable' on the page http://go.microsoft.com/fwlink/?LinkId=254639
public ref class RectList sealed
{
@@ -15,13 +15,13 @@ namespace mupdf_cpp
int height;
int width;
int x;
- int y;
+ int y;
String^ color;
/* These are used to store the link infomation */
int type;
int pagenum;
Windows::Foundation::Uri ^uri;
- String^ index; // For identify which rectangle was tapped
+ String^ index; // For identify which rectangle was tapped
public:
RectList(void);
@@ -61,8 +61,8 @@ namespace mupdf_cpp
void set(int value)
{
if (value < 0)
- {
- throw ref new Platform::InvalidArgumentException();
+ {
+ throw ref new Platform::InvalidArgumentException();
}
height = value;
}
@@ -77,9 +77,9 @@ namespace mupdf_cpp
void set(int value)
{
- if (value < 0)
- {
- throw ref new Platform::InvalidArgumentException();
+ if (value < 0)
+ {
+ throw ref new Platform::InvalidArgumentException();
}
width = value;
}