summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/misc/swruler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/misc/swruler.cxx')
-rw-r--r--sw/source/uibase/misc/swruler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/misc/swruler.cxx b/sw/source/uibase/misc/swruler.cxx
index 841578834e96..5b9212d9720d 100644
--- a/sw/source/uibase/misc/swruler.cxx
+++ b/sw/source/uibase/misc/swruler.cxx
@@ -319,7 +319,7 @@ tools::Rectangle SwCommentRuler::GetCommentControlRegion()
if (!pPostItMgr)
return tools::Rectangle();
- const unsigned long nSidebarWidth = pPostItMgr->GetSidebarWidth(true);
+ const tools::ULong nSidebarWidth = pPostItMgr->GetSidebarWidth(true);
//FIXME When the page width is larger then screen, the ruler is misplaced by one pixel
tools::Long nLeft = GetPageOffset();