summaryrefslogtreecommitdiff
path: root/vcl/inc/scrptrun.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/scrptrun.h')
-rw-r--r--vcl/inc/scrptrun.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/inc/scrptrun.h b/vcl/inc/scrptrun.h
index 097f6302f38d..3d1d706a6f3d 100644
--- a/vcl/inc/scrptrun.h
+++ b/vcl/inc/scrptrun.h
@@ -67,11 +67,11 @@ public:
void reset(const UChar chars[], int32_t start, int32_t length);
- int32_t getScriptStart();
+ int32_t getScriptStart() const;
- int32_t getScriptEnd();
+ int32_t getScriptEnd() const;
- UScriptCode getScriptCode();
+ UScriptCode getScriptCode() const;
UBool next();
@@ -114,17 +114,17 @@ inline ScriptRun::ScriptRun(const UChar chars[], int32_t length)
reset(chars, 0, length);
}
-inline int32_t ScriptRun::getScriptStart()
+inline int32_t ScriptRun::getScriptStart() const
{
return scriptStart;
}
-inline int32_t ScriptRun::getScriptEnd()
+inline int32_t ScriptRun::getScriptEnd() const
{
return scriptEnd;
}
-inline UScriptCode ScriptRun::getScriptCode()
+inline UScriptCode ScriptRun::getScriptCode() const
{
return scriptCode;
}