diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2007-02-01 10:45:39 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2007-02-01 10:45:39 +0000 |
commit | 5d877d20d45782a073c4c850f1aef17897cf1738 (patch) | |
tree | 492ef73ce21ab78ec117604360ba88e348b52e25 /basctl/source/basicide/localizationmgr.cxx | |
parent | 8311e19303b886f7d178dba6bce5d52285f80821 (diff) |
#i10000# Dummy usage of variable 'nChangedCount' (see issue #i74083#).
Diffstat (limited to 'basctl/source/basicide/localizationmgr.cxx')
-rw-r--r-- | basctl/source/basicide/localizationmgr.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/basctl/source/basicide/localizationmgr.cxx b/basctl/source/basicide/localizationmgr.cxx index 8fdd135cad5c..933c62cb0f90 100644 --- a/basctl/source/basicide/localizationmgr.cxx +++ b/basctl/source/basicide/localizationmgr.cxx @@ -4,9 +4,9 @@ * * $RCSfile: localizationmgr.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2007-01-29 16:48:15 $ + * last change: $Author: rt $ $Date: 2007-02-01 11:45:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -890,6 +890,11 @@ void LocalizationMgr::renameControlResourceIDsForEditorObject( DlgEditor* pEdito sal_Int32 nChangedCount = implHandleControlResourceProperties ( aControlAny, aDialogName, aNewCtrlName, xStringResourceManager, xDummyStringResolver, RENAME_CONTROL_IDS ); + // HACK to make code warning free + // What did you really use nChangedCount for? + if( nChangedCount ) + nChangedCount ++; + } |