To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=89824
                 Issue #|89824
                 Summary|to-be-DEV300_m14: sc
               Component|Spreadsheet
                 Version|DEV300m13
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P1
            Subcomponent|code
             Assigned to|rt
             Reported by|pjanik





------- Additional comments from [EMAIL PROTECTED] Fri May 23 05:02:50 +0000 
2008 -------
/Volumes/Build/pavel/AQUA/BuildDir/ooo_DEV300_m14_src/sc/source/core/data/dpoutput.cxx:
 In 
member function 'bool 
ScDPOutput::GetDataResultPositionData(std::vector<com::sun::star::sheet::DataPilotFieldFilter,
 
std::allocator<com::sun::star::sheet::DataPilotFieldFilter> >&, const 
ScAddress&)':
/Volumes/Build/pavel/AQUA/BuildDir/ooo_DEV300_m14_src/sc/source/core/data/dpoutput.cxx:1122:
 
warning: 'nDataFieldCount' may be used uninitialized in this function
/Volumes/Build/pavel/AQUA/BuildDir/ooo_DEV300_m14_src/sc/source/core/data/dpoutput.cxx:1128:
 
warning: 'bColGrand' may be used uninitialized in this function
/Volumes/Build/pavel/AQUA/BuildDir/ooo_DEV300_m14_src/sc/source/core/data/dpoutput.cxx:1133:
 
warning: 'bRowGrand' may be used uninitialized in this function

/Volumes/Build/pavel/AQUA/BuildDir/ooo_DEV300_m14_src/sc/source/core/data/dpoutput.cxx:1040:
 
warning: 'nDataFieldCount' may be used uninitialized in this function


--- dpoutput.cxx        22 May 2008 19:16:19 +0200      1.18
+++ dpoutput.cxx        23 May 2008 07:00:22 +0200      
@@ -1037,7 +1037,7 @@
             Reference<beans::XPropertySet> xPropSet(xSource, UNO_QUERY);
             if (xPropSet.is())
             {
-                sal_Int32 nDataFieldCount;
+                sal_Int32 nDataFieldCount = 0;
                 Any any = 
xPropSet->getPropertyValue(rtl::OUString::createFromAscii("DataFieldCount"));
                 if ((any >>= nDataFieldCount) && nDataFieldCount > 0)
                     aResData.DataFieldIndex = (nRow - nDataStartRow) % 
nDataFieldCount;
@@ -1119,18 +1119,18 @@
     if (!xPropSet.is())
         return false;
 
-    sal_Int32 nDataFieldCount;
+    sal_Int32 nDataFieldCount = 0;
     Any any = 
xPropSet->getPropertyValue(rtl::OUString::createFromAscii("DataFieldCount"));
     if (!(any >>= nDataFieldCount) || nDataFieldCount == 0)
         // No data field is present in this datapilot table.
         return false;
 
-    bool bColGrand;
+    bool bColGrand = bool();
     any = 
xPropSet->getPropertyValue(rtl::OUString::createFromAscii(SC_UNO_COLGRAND));
     if (!(any >>= bColGrand))
         return false;
 
-    bool bRowGrand;
+    bool bRowGrand = bool();
     any = 
xPropSet->getPropertyValue(rtl::OUString::createFromAscii(SC_UNO_ROWGRAND));
     if (!(any >>= bRowGrand))
         return false;

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to