diff options
author | Sebastian Geerken <devnull@localhost> | 2016-01-02 00:43:50 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-01-02 00:43:50 +0100 |
commit | 06a6aced1494ac99073f23cd550fa868dd651d76 (patch) | |
tree | 5d48d2972d386b3839cca1c5cb3428d889ce85ba /dw/textblock.cc | |
parent | 45b8ba7af289b7ba3c5b043d8db7cec3c73e67df (diff) |
Style.
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r-- | dw/textblock.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc index b6db1763..9ae0e29e 100644 --- a/dw/textblock.cc +++ b/dw/textblock.cc @@ -3145,11 +3145,11 @@ void Textblock::oofSizeChanged (bool extremesChanged) DBG_OBJ_LEAVE (); } -int Textblock::getGeneratorY (int oofmIndex) +int Textblock::getGeneratorX (int oofmIndex) { - int yRef; - if (findSizeRequestReference (oofmIndex, NULL, &yRef)) - return yRef; + int xRef; + if (findSizeRequestReference (oofmIndex, &xRef, NULL)) + return xRef; else { // Only called for floats, so this should not happen: assertNotReached (); @@ -3157,11 +3157,11 @@ int Textblock::getGeneratorY (int oofmIndex) } } -int Textblock::getGeneratorX (int oofmIndex) +int Textblock::getGeneratorY (int oofmIndex) { - int xRef; - if (findSizeRequestReference (oofmIndex, &xRef, NULL)) - return xRef; + int yRef; + if (findSizeRequestReference (oofmIndex, NULL, &yRef)) + return yRef; else { // Only called for floats, so this should not happen: assertNotReached (); |