diff options
Diffstat (limited to 'printing/page_number.cc')
-rw-r--r-- | printing/page_number.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/page_number.cc b/printing/page_number.cc index 8e92870..db3861d 100644 --- a/printing/page_number.cc +++ b/printing/page_number.cc @@ -31,7 +31,7 @@ void PageNumber::operator=(const PageNumber& other) { void PageNumber::Init(const PrintSettings& settings, int document_page_count) { DCHECK(document_page_count); - ranges_ = settings.ranges.empty() ? NULL : &settings.ranges; + ranges_ = settings.ranges().empty() ? NULL : &settings.ranges(); document_page_count_ = document_page_count; if (ranges_) { page_range_index_ = 0; |