Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/1640
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/40/1640/1
Use member initializer list in constructor
Change-Id: I8d4f8b95909b91917b456f49d7a3ac270703cc96
---
M sw/source/ui/lingu/hhcwrp.cxx
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/sw/source/ui/lingu/hhcwrp.cxx b/sw/source/ui/lingu/hhcwrp.cxx
index f1ec1d5..82e7d3a 100644
--- a/sw/source/ui/lingu/hhcwrp.cxx
+++ b/sw/source/ui/lingu/hhcwrp.cxx
@@ -103,21 +103,21 @@
pTargetFont,
nConvOptions,
bIsInteractive ),
- mrWrtShell( pSwView->GetWrtShell() )
+ mpView( pSwView ),
+ mpWin( &pSwView->GetEditWin() ),
+ mrWrtShell( pSwView->GetWrtShell() ),
+ mpConvArgs( 0 ),
+ mnLastPos( 0 ),
+ mnUnitOffset( 0 ),
+ mnPageCount( 0 ),
+ mnPageStart( 0 ),
+ mbIsDrawObj( sal_False ),
+ mbIsOtherCntnt( bOther ),
+ mbStartChk( bOther ),
+ mbIsSelection( bSelection ),
+ mbStartDone( bOther || bStart ),
+ mbEndDone( sal_False )
{
- mpConvArgs = 0;
- mnLastPos = 0;
- mnUnitOffset = 0;
-
- mpView = pSwView;
- mpWin = &pSwView->GetEditWin();
- mbIsDrawObj = sal_False;
- mbIsOtherCntnt = mbStartChk = bOther;
- mbIsSelection = bSelection;
- mbStartDone = bOther || bStart;
- mbEndDone = sal_False;
-// bLastRet = sal_True;
- mnPageCount = mnPageStart = 0;
}
--
To view, visit https://gerrit.libreoffice.org/1640
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d4f8b95909b91917b456f49d7a3ac270703cc96
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Matteo Casalin <matteo.casalin@gmx.com>
Context
- [PATCH] Use member initializer list in constructor · Matteo Casalin (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.