summaryrefslogtreecommitdiff
path: root/vcl/ios
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@gmx.com>2012-10-28 23:23:53 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-20 19:32:43 +0000
commit53ad646f54f8aa33b86c696c04500fd08ea6f3b6 (patch)
tree3eef1a050a5cf7b8b531f56e125d7252f4aab8fe /vcl/ios
parent5e5c11c664f67ff9fd1120905b09a32bea3b2f6c (diff)
Enforce use of accessors on gen.hxx structures
Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e Reviewed-on: https://gerrit.libreoffice.org/936 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'vcl/ios')
-rw-r--r--vcl/ios/source/window/salframe.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/ios/source/window/salframe.cxx b/vcl/ios/source/window/salframe.cxx
index 08562e36d472..91b0909a9196 100644
--- a/vcl/ios/source/window/salframe.cxx
+++ b/vcl/ios/source/window/salframe.cxx
@@ -860,10 +860,10 @@ void IosSalFrame::GetWorkArea( Rectangle& rRect )
pScreen = [UIScreen mainScreen];
CGRect aRect = [pScreen applicationFrame];
CocoaTouchToVCL( aRect );
- rRect.nLeft = static_cast<long>(aRect.origin.x);
- rRect.nTop = static_cast<long>(aRect.origin.y);
- rRect.nRight = static_cast<long>(aRect.origin.x + aRect.size.width - 1);
- rRect.nBottom = static_cast<long>(aRect.origin.y + aRect.size.height - 1);
+ rRect.Left() = static_cast<long>(aRect.origin.x);
+ rRect.Top() = static_cast<long>(aRect.origin.y);
+ rRect.Right() = static_cast<long>(aRect.origin.x + aRect.size.width - 1);
+ rRect.Bottom() = static_cast<long>(aRect.origin.y + aRect.size.height - 1);
}
SalPointerState IosSalFrame::GetPointerState()